aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/BUILDCONFIG.gn
diff options
context:
space:
mode:
Diffstat (limited to 'gn/BUILDCONFIG.gn')
-rw-r--r--gn/BUILDCONFIG.gn4
1 files changed, 1 insertions, 3 deletions
diff --git a/gn/BUILDCONFIG.gn b/gn/BUILDCONFIG.gn
index 58cfb2365a..23e5288f1a 100644
--- a/gn/BUILDCONFIG.gn
+++ b/gn/BUILDCONFIG.gn
@@ -132,9 +132,7 @@ default_configs = [
"//gn:warnings",
"//gn:warnings_except_public_headers",
]
-if (is_debug) {
- default_configs += [ "//gn:debug" ]
-} else {
+if (!is_debug) {
default_configs += [ "//gn:release" ]
}
if (!is_official_build) {