Li, Hao | 0e1bef3 | 2019-11-07 12:13:27 +0000 | [diff] [blame] | 1 | # Copyright 2019 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 | e98e857 | 2021-04-06 12:01:58 +0000 | [diff] [blame] | 15 | import("//build_overrides/vulkan_common.gni") |
| 16 | |
Li, Hao | 0e1bef3 | 2019-11-07 12:13:27 +0000 | [diff] [blame] | 17 | # These are variables that are overridable by projects that include Dawn. |
| 18 | # The values in this file are the defaults for when we are building from |
| 19 | # Dawn's repository. |
Stephen White | f1fa60b | 2021-01-06 17:41:50 +0000 | [diff] [blame] | 20 | vvl_spirv_tools_dir = "//third_party/vulkan-deps/spirv-tools/src" |
| 21 | vvl_glslang_dir = "//third_party/vulkan-deps/glslang/src" |
Li, Hao | 0e1bef3 | 2019-11-07 12:13:27 +0000 | [diff] [blame] | 22 | |
Dawn Autoroller | 2ed5c1c | 2021-12-21 19:14:52 +0000 | [diff] [blame] | 23 | # Forward to ozone_platform_x11 when inside Dawn's repository |
Corentin Wallez | 955f8a3 | 2020-04-16 17:24:16 +0000 | [diff] [blame] | 24 | import("../scripts/dawn_features.gni") |
Austin Eng | f30f3a9 | 2021-12-21 00:52:41 +0000 | [diff] [blame] | 25 | ozone_platform_x11 = dawn_use_x11 |