aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/BUILDCONFIG.gn
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2016-10-04 17:09:13 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-10-04 21:57:31 +0000
commit121563eb4a0203a8b85ea5fe7caedf6fb35f04bf (patch)
treef68daaf6384103336fe7f6ea831202df01b44955 /gn/BUILDCONFIG.gn
parent433b306a705e026c93335a90bd056b6e8121bfac (diff)
Fold extra_*_flags into GN as a config.
This should make them visible to things like gn_to_cmake.py. I'm not exactly sure what this implies about ordering and overriding. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2938 Change-Id: I0740613993fb5bbfb8363cfa126d1f59768abf60 Reviewed-on: https://skia-review.googlesource.com/2938 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'gn/BUILDCONFIG.gn')
-rw-r--r--gn/BUILDCONFIG.gn3
1 files changed, 2 insertions, 1 deletions
diff --git a/gn/BUILDCONFIG.gn b/gn/BUILDCONFIG.gn
index 84e092426b..2f8670a563 100644
--- a/gn/BUILDCONFIG.gn
+++ b/gn/BUILDCONFIG.gn
@@ -125,9 +125,10 @@ if (!is_debug) {
if (!is_official_build) {
default_configs += [ "//gn:debug_symbols" ]
}
+default_configs += [ "//gn:extra_flags" ]
set_defaults("executable") {
- configs = default_configs + [ "//gn:executable" ]
+ configs = [ "//gn:executable" ] + default_configs
}
set_defaults("source_set") {