blob: d0190b1024aecac3dc7815d0d369bde66579f88e [file] [log] [blame]
Corentin Wallez21a23852018-07-31 18:50:03 +02001# Copyright 2018 The Dawn Authors
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
Corentin Wallez649e2fe2018-08-03 15:57:43 +020015# These are variables that are overridable by projects that include Dawn.
16# The values in this file are the defaults for when we are building from
17# Dawn's repository.
18
19# Whether we are building from Dawn's repository.
Corentin Wallez76664ed82018-09-25 21:52:44 +000020# MUST be unset in other projects (will default to false).
Corentin Wallez21a23852018-07-31 18:50:03 +020021dawn_standalone = true
22
Corentin Wallez30ec4fc2020-04-07 19:35:47 +000023# True if Dawn can access build/, testing/ and other Chrome folders.
24dawn_has_build = true
25
Corentin Wallez649e2fe2018-08-03 15:57:43 +020026# Defaults for these are set again in dawn_overrides_with_defaults.gni so that
27# users of Dawn don't have to set dirs if they happen to use the same as Dawn.
28
29# The paths to Dawn's dependencies
Stephen White77fcdf72021-01-11 15:52:12 +000030dawn_angle_dir = "//third_party/angle"
Corentin Wallez3bb0bb92018-08-13 17:47:44 +020031dawn_jinja2_dir = "//third_party/jinja2"
Corentin Wallez16092fa2018-10-04 17:17:57 +000032dawn_glfw_dir = "//third_party/glfw"
Corentin Wallezd11cc392020-04-10 08:24:00 +000033dawn_glm_dir = "//third_party/glm"
Corentin Wallez16092fa2018-10-04 17:17:57 +000034dawn_googletest_dir = "//third_party/googletest"
Stephen Whitef1fa60b2021-01-06 17:41:50 +000035dawn_spirv_tools_dir = "//third_party/vulkan-deps/spirv-tools/src"
36dawn_spirv_cross_dir = "//third_party/vulkan-deps/spirv-cross/src"
Corentin Wallez74cebd62019-11-26 18:21:51 +000037dawn_swiftshader_dir = "//third_party/swiftshader"
Ryan Harrison4f3811c2020-05-07 21:15:55 +000038dawn_tint_dir = "//third_party/tint"
Stephen Whitef1fa60b2021-01-06 17:41:50 +000039dawn_vulkan_loader_dir = "//third_party/vulkan-deps/vulkan-loader/src"
40dawn_vulkan_validation_layers_dir =
41 "//third_party/vulkan-deps/vulkan-validation-layers/src"