Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 1 | # 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 Wallez | 649e2fe | 2018-08-03 15:57:43 +0200 | [diff] [blame] | 15 | # 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 Wallez | 76664ed8 | 2018-09-25 21:52:44 +0000 | [diff] [blame] | 20 | # MUST be unset in other projects (will default to false). |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 21 | dawn_standalone = true |
| 22 | |
Corentin Wallez | 30ec4fc | 2020-04-07 19:35:47 +0000 | [diff] [blame] | 23 | # True if Dawn can access build/, testing/ and other Chrome folders. |
| 24 | dawn_has_build = true |
| 25 | |
Corentin Wallez | 649e2fe | 2018-08-03 15:57:43 +0200 | [diff] [blame] | 26 | # 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 White | 77fcdf7 | 2021-01-11 15:52:12 +0000 | [diff] [blame] | 30 | dawn_angle_dir = "//third_party/angle" |
Corentin Wallez | 3bb0bb9 | 2018-08-13 17:47:44 +0200 | [diff] [blame] | 31 | dawn_jinja2_dir = "//third_party/jinja2" |
Corentin Wallez | 16092fa | 2018-10-04 17:17:57 +0000 | [diff] [blame] | 32 | dawn_glfw_dir = "//third_party/glfw" |
Corentin Wallez | d11cc39 | 2020-04-10 08:24:00 +0000 | [diff] [blame] | 33 | dawn_glm_dir = "//third_party/glm" |
Corentin Wallez | 16092fa | 2018-10-04 17:17:57 +0000 | [diff] [blame] | 34 | dawn_googletest_dir = "//third_party/googletest" |
Stephen White | f1fa60b | 2021-01-06 17:41:50 +0000 | [diff] [blame] | 35 | dawn_spirv_tools_dir = "//third_party/vulkan-deps/spirv-tools/src" |
| 36 | dawn_spirv_cross_dir = "//third_party/vulkan-deps/spirv-cross/src" |
Corentin Wallez | 74cebd6 | 2019-11-26 18:21:51 +0000 | [diff] [blame] | 37 | dawn_swiftshader_dir = "//third_party/swiftshader" |
Ryan Harrison | 4f3811c | 2020-05-07 21:15:55 +0000 | [diff] [blame] | 38 | dawn_tint_dir = "//third_party/tint" |
Stephen White | f1fa60b | 2021-01-06 17:41:50 +0000 | [diff] [blame] | 39 | dawn_vulkan_loader_dir = "//third_party/vulkan-deps/vulkan-loader/src" |
| 40 | dawn_vulkan_validation_layers_dir = |
| 41 | "//third_party/vulkan-deps/vulkan-validation-layers/src" |