Austin Eng | cc2516a | 2023-10-17 20:57:54 +0000 | [diff] [blame] | 1 | # Copyright 2018 The Dawn & Tint Authors |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 2 | # |
Austin Eng | cc2516a | 2023-10-17 20:57:54 +0000 | [diff] [blame] | 3 | # Redistribution and use in source and binary forms, with or without |
| 4 | # modification, are permitted provided that the following conditions are met: |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 5 | # |
Austin Eng | cc2516a | 2023-10-17 20:57:54 +0000 | [diff] [blame] | 6 | # 1. Redistributions of source code must retain the above copyright notice, this |
| 7 | # list of conditions and the following disclaimer. |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 8 | # |
Austin Eng | cc2516a | 2023-10-17 20:57:54 +0000 | [diff] [blame] | 9 | # 2. Redistributions in binary form must reproduce the above copyright notice, |
| 10 | # this list of conditions and the following disclaimer in the documentation |
| 11 | # and/or other materials provided with the distribution. |
| 12 | # |
| 13 | # 3. Neither the name of the copyright holder nor the names of its |
| 14 | # contributors may be used to endorse or promote products derived from |
| 15 | # this software without specific prior written permission. |
| 16 | # |
| 17 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 18 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 19 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 20 | # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
| 21 | # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 22 | # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
| 23 | # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
| 24 | # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
| 25 | # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 26 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 27 | |
Corentin Wallez | 649e2fe | 2018-08-03 15:57:43 +0200 | [diff] [blame] | 28 | # These are variables that are overridable by projects that include Dawn. |
| 29 | # The values in this file are the defaults for when we are building from |
| 30 | # Dawn's repository. |
| 31 | |
| 32 | # Whether we are building from Dawn's repository. |
Corentin Wallez | 76664ed8 | 2018-09-25 21:52:44 +0000 | [diff] [blame] | 33 | # MUST be unset in other projects (will default to false). |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 34 | dawn_standalone = true |
| 35 | |
Corentin Wallez | 30ec4fc | 2020-04-07 19:35:47 +0000 | [diff] [blame] | 36 | # True if Dawn can access build/, testing/ and other Chrome folders. |
| 37 | dawn_has_build = true |
| 38 | |
Corentin Wallez | 649e2fe | 2018-08-03 15:57:43 +0200 | [diff] [blame] | 39 | # Defaults for these are set again in dawn_overrides_with_defaults.gni so that |
| 40 | # users of Dawn don't have to set dirs if they happen to use the same as Dawn. |
| 41 | |
| 42 | # The paths to Dawn's dependencies |
Brandon Jones | a04663c | 2021-09-23 20:36:03 +0000 | [diff] [blame] | 43 | dawn_abseil_dir = "//third_party/abseil-cpp" |
Stephen White | 77fcdf7 | 2021-01-11 15:52:12 +0000 | [diff] [blame] | 44 | dawn_angle_dir = "//third_party/angle" |
Corentin Wallez | 3bb0bb9 | 2018-08-13 17:47:44 +0200 | [diff] [blame] | 45 | dawn_jinja2_dir = "//third_party/jinja2" |
Corentin Wallez | 16092fa | 2018-10-04 17:17:57 +0000 | [diff] [blame] | 46 | dawn_glfw_dir = "//third_party/glfw" |
| 47 | dawn_googletest_dir = "//third_party/googletest" |
Arthur Sonzogni | 8b28afe | 2023-10-12 16:06:04 +0000 | [diff] [blame] | 48 | dawn_partition_alloc_dir = "//third_party/partition_alloc/" |
Stephen White | f1fa60b | 2021-01-06 17:41:50 +0000 | [diff] [blame] | 49 | dawn_spirv_tools_dir = "//third_party/vulkan-deps/spirv-tools/src" |
Corentin Wallez | 74cebd6 | 2019-11-26 18:21:51 +0000 | [diff] [blame] | 50 | dawn_swiftshader_dir = "//third_party/swiftshader" |
Stephen White | f1fa60b | 2021-01-06 17:41:50 +0000 | [diff] [blame] | 51 | dawn_vulkan_loader_dir = "//third_party/vulkan-deps/vulkan-loader/src" |
| 52 | dawn_vulkan_validation_layers_dir = |
| 53 | "//third_party/vulkan-deps/vulkan-validation-layers/src" |
Antonio Maiorano | b94856d | 2023-06-22 21:30:50 +0000 | [diff] [blame] | 54 | dawn_dxc_dir = "//third_party/dxc" |
| 55 | dawn_dxheaders_dir = "//third_party/dxheaders" |
Loko Kung | 7d2b9d9 | 2022-06-22 04:19:43 +0000 | [diff] [blame] | 56 | |
| 57 | # Optional path to a one-liner version file. Default is empty path indicating |
| 58 | # that git should be used to figure out the version. |
| 59 | dawn_version_file = "" |