blob: 5aa3be3d72475e021373112424f2b8957c087202 [file] [log] [blame]
Austin Engcc2516a2023-10-17 20:57:54 +00001# Copyright 2019 The Dawn & Tint Authors
Li, Hao0e1bef32019-11-07 12:13:27 +00002#
Austin Engcc2516a2023-10-17 20:57:54 +00003# Redistribution and use in source and binary forms, with or without
4# modification, are permitted provided that the following conditions are met:
Li, Hao0e1bef32019-11-07 12:13:27 +00005#
Austin Engcc2516a2023-10-17 20:57:54 +00006# 1. Redistributions of source code must retain the above copyright notice, this
7# list of conditions and the following disclaimer.
Li, Hao0e1bef32019-11-07 12:13:27 +00008#
Austin Engcc2516a2023-10-17 20:57:54 +00009# 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.
Li, Hao0e1bef32019-11-07 12:13:27 +000027
Corentin Walleze98e8572021-04-06 12:01:58 +000028import("//build_overrides/vulkan_common.gni")
29
Li, Hao0e1bef32019-11-07 12:13:27 +000030# These are variables that are overridable by projects that include Dawn.
31# The values in this file are the defaults for when we are building from
32# Dawn's repository.
Yuly Novikov143523a2024-05-23 15:59:58 +000033vvl_spirv_headers_dir = "//third_party/spirv-headers/src"
34vvl_spirv_tools_dir = "//third_party/spirv-tools/src"
35vvl_glslang_dir = "//third_party/glslang/src"
36vulkan_utility_libraries_dir = "//third_party/vulkan-utility-libraries/src"
Li, Hao0e1bef32019-11-07 12:13:27 +000037
Dawn Autoroller2ed5c1c2021-12-21 19:14:52 +000038# Forward to ozone_platform_x11 when inside Dawn's repository
Corentin Wallez955f8a32020-04-16 17:24:16 +000039import("../scripts/dawn_features.gni")
Austin Engf30f3a92021-12-21 00:52:41 +000040ozone_platform_x11 = dawn_use_x11