From 121563eb4a0203a8b85ea5fe7caedf6fb35f04bf Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Tue, 4 Oct 2016 17:09:13 -0400 Subject: 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 Commit-Queue: Mike Klein --- gn/BUILDCONFIG.gn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gn/BUILDCONFIG.gn') 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") { -- cgit v1.2.3