2019-11-07 12:13:27 +00:00
|
|
|
# Copyright 2019 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.
|
|
|
|
|
2021-04-06 12:01:58 +00:00
|
|
|
import("//build_overrides/vulkan_common.gni")
|
|
|
|
|
2019-11-07 12:13:27 +00:00
|
|
|
# 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.
|
2021-01-06 17:41:50 +00:00
|
|
|
vvl_spirv_tools_dir = "//third_party/vulkan-deps/spirv-tools/src"
|
|
|
|
vvl_glslang_dir = "//third_party/vulkan-deps/glslang/src"
|
2019-11-07 12:13:27 +00:00
|
|
|
|
2021-09-10 06:08:41 +00:00
|
|
|
# Fake the ozone_platform_x11 when inside Dawn's repository
|
2020-04-16 17:24:16 +00:00
|
|
|
import("../scripts/dawn_features.gni")
|
|
|
|
use_x11 = dawn_use_x11
|