dawn-cmake/build_overrides/dawn.gni

33 lines
1.3 KiB
Plaintext
Raw Normal View History

# Copyright 2018 The Dawn Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# These are variables that are overridable by projects that include Dawn.
# The values in this file are the defaults for when we are building from
# Dawn's repository.
# Whether we are building from Dawn's repository.
# MUST be set to false in other projects.
dawn_standalone = true
# Defaults for these are set again in dawn_overrides_with_defaults.gni so that
# users of Dawn don't have to set dirs if they happen to use the same as Dawn.
# The paths to Dawn's dependencies
dawn_spirv_cross_dir = "//third_party/spirv-cross"
dawn_googletest_dir = "//third_party/googletest"
dawn_glslang_dir = "//third_party/glslang"
dawn_spirv_tools_dir = "//third_party/SPIRV-Tools"
dawn_shaderc_dir = "//third_party/shaderc"
dawn_glfw_dir = "//third_party/glfw"