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, 3 insertions, 1 deletions
diff --git a/gn/BUILDCONFIG.gn b/gn/BUILDCONFIG.gn
index 23e5288f1a..58cfb2365a 100644
--- a/gn/BUILDCONFIG.gn
+++ b/gn/BUILDCONFIG.gn
@@ -132,7 +132,9 @@ default_configs = [
"//gn:warnings",
"//gn:warnings_except_public_headers",
]
-if (!is_debug) {
+if (is_debug) {
+ default_configs += [ "//gn:debug" ]
+} else {
default_configs += [ "//gn:release" ]
}
if (!is_official_build) {