blob: b5b5218aa05a77efb880413769f83cde8e00a06c [file] [log] [blame]
Austin Engcc2516a2023-10-17 20:57:54 +00001# Copyright 2018 The Dawn & Tint Authors
Corentin Wallez21a23852018-07-31 18:50:03 +02002#
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:
Corentin Wallez21a23852018-07-31 18:50:03 +02005#
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.
Corentin Wallez21a23852018-07-31 18:50:03 +02008#
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.
Corentin Wallez21a23852018-07-31 18:50:03 +020027
Corentin Wallez649e2fe2018-08-03 15:57:43 +020028# 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 Wallez76664ed82018-09-25 21:52:44 +000033# MUST be unset in other projects (will default to false).
Corentin Wallez21a23852018-07-31 18:50:03 +020034dawn_standalone = true
35
Corentin Wallez30ec4fc2020-04-07 19:35:47 +000036# True if Dawn can access build/, testing/ and other Chrome folders.
37dawn_has_build = true
38
Corentin Wallez649e2fe2018-08-03 15:57:43 +020039# 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 Jonesa04663c2021-09-23 20:36:03 +000043dawn_abseil_dir = "//third_party/abseil-cpp"
Stephen White77fcdf72021-01-11 15:52:12 +000044dawn_angle_dir = "//third_party/angle"
Corentin Wallez3bb0bb92018-08-13 17:47:44 +020045dawn_jinja2_dir = "//third_party/jinja2"
Corentin Wallez16092fa2018-10-04 17:17:57 +000046dawn_glfw_dir = "//third_party/glfw"
47dawn_googletest_dir = "//third_party/googletest"
Arthur Sonzogni8b28afe2023-10-12 16:06:04 +000048dawn_partition_alloc_dir = "//third_party/partition_alloc/"
Stephen Whitef1fa60b2021-01-06 17:41:50 +000049dawn_spirv_tools_dir = "//third_party/vulkan-deps/spirv-tools/src"
Corentin Wallez74cebd62019-11-26 18:21:51 +000050dawn_swiftshader_dir = "//third_party/swiftshader"
Stephen Whitef1fa60b2021-01-06 17:41:50 +000051dawn_vulkan_loader_dir = "//third_party/vulkan-deps/vulkan-loader/src"
52dawn_vulkan_validation_layers_dir =
53 "//third_party/vulkan-deps/vulkan-validation-layers/src"
Antonio Maioranob94856d2023-06-22 21:30:50 +000054dawn_dxc_dir = "//third_party/dxc"
55dawn_dxheaders_dir = "//third_party/dxheaders"
Loko Kung7d2b9d92022-06-22 04:19:43 +000056
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.
59dawn_version_file = ""