aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/BUILDCONFIG.gn
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2016-08-03 15:08:04 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-03 15:08:04 -0700
commit19a9720978700a24efed8dda7e0935ea2b7338c4 (patch)
treea6415a2378e83fa3aa1c9eea915037d78762f47a /gn/BUILDCONFIG.gn
parent4fd74aec9f6c68c66483bcc6735793440b1ba184 (diff)
GN: build sfntly, icu, harfbuzz
Diffstat (limited to 'gn/BUILDCONFIG.gn')
-rw-r--r--gn/BUILDCONFIG.gn17
1 files changed, 10 insertions, 7 deletions
diff --git a/gn/BUILDCONFIG.gn b/gn/BUILDCONFIG.gn
index 681b15b83b..e2719c196e 100644
--- a/gn/BUILDCONFIG.gn
+++ b/gn/BUILDCONFIG.gn
@@ -40,29 +40,32 @@ template("component") {
}
# Default configs
-_default_configs = [ "//gn:default" ]
+default_configs = [
+ "//gn:default",
+ "//gn:no_rtti",
+]
if (!is_debug) {
- _default_configs += [ "//gn:release" ]
+ default_configs += [ "//gn:release" ]
}
set_defaults("executable") {
- configs = _default_configs + [ "//gn:executable" ]
+ configs = default_configs + [ "//gn:executable" ]
}
set_defaults("source_set") {
- configs = _default_configs
+ configs = default_configs
}
set_defaults("static_library") {
- configs = _default_configs
+ configs = default_configs
}
set_defaults("shared_library") {
- configs = _default_configs
+ configs = default_configs
}
set_defaults("component") {
- configs = _default_configs
+ configs = default_configs
}
# For now, we support GCC-like toolchains, including Clang.