BUILD.gn: Make dawn_standalone default to false

BUG=chromium:870747

Change-Id: I9d80bb8a73227a9a9e5a7c466ac5b40a10fc0106
Reviewed-on: https://dawn-review.googlesource.com/1641
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Corentin Wallez 2018-09-25 21:52:44 +00:00 committed by Commit Bot service account
parent 299ce6c69c
commit 76664ed8d0
2 changed files with 5 additions and 1 deletions

View File

@ -17,7 +17,7 @@
# Dawn's repository. # Dawn's repository.
# Whether we are building from Dawn's repository. # Whether we are building from Dawn's repository.
# MUST be set to false in other projects. # MUST be unset in other projects (will default to false).
dawn_standalone = true dawn_standalone = true
# Defaults for these are set again in dawn_overrides_with_defaults.gni so that # Defaults for these are set again in dawn_overrides_with_defaults.gni so that

View File

@ -20,6 +20,10 @@
import("//build_overrides/dawn.gni") import("//build_overrides/dawn.gni")
if (!defined(dawn_standalone)) {
dawn_standalone = false
}
if (!defined(dawn_spirv_cross_dir)) { if (!defined(dawn_spirv_cross_dir)) {
dawn_spirv_cross_dir = "//third_party/spirv-cross" dawn_spirv_cross_dir = "//third_party/spirv-cross"
} }