Index: base/BUILD.gn |
diff --git a/base/BUILD.gn b/base/BUILD.gn |
index 912512f1a33993795712bb3253457bc444c7142c..cf8700f5d2f3ea02a44474b8cb22e84707d9ce16 100644 |
--- a/base/BUILD.gn |
+++ b/base/BUILD.gn |
@@ -2,6 +2,7 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//build/config/compiler/compiler.gni") |
import("//build/config/ui.gni") |
import("//testing/test.gni") |
@@ -941,7 +942,7 @@ component("base") { |
configs += [ "//build/config/compiler:wexit_time_destructors" ] |
if (!is_debug) { |
- configs -= [ "//build/config/compiler:optimize" ] |
+ configs -= [ "//build/config/compiler:default_optimization" ] |
configs += [ "//build/config/compiler:optimize_max" ] |
} |
@@ -960,7 +961,7 @@ source_set("base_static") { |
] |
if (!is_debug) { |
- configs -= [ "//build/config/compiler:optimize" ] |
+ configs -= [ "//build/config/compiler:default_optimization" ] |
configs += [ "//build/config/compiler:optimize_max" ] |
} |
} |
@@ -1017,7 +1018,7 @@ component("i18n") { |
] |
if (!is_debug) { |
- configs -= [ "//build/config/compiler:optimize" ] |
+ configs -= [ "//build/config/compiler:default_optimization" ] |
configs += [ "//build/config/compiler:optimize_max" ] |
} |
@@ -1135,7 +1136,7 @@ component("prefs") { |
] |
if (!is_debug) { |
- configs -= [ "//build/config/compiler:optimize" ] |
+ configs -= [ "//build/config/compiler:default_optimization" ] |
configs += [ "//build/config/compiler:optimize_max" ] |
} |
} |