Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Unified Diff: base/BUILD.gn

Issue 1183613006: Sync Windows build flags between GYP and GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | build/config/compiler/BUILD.gn » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/BUILD.gn
diff --git a/base/BUILD.gn b/base/BUILD.gn
index 8a32ed63f9da2419ead6382e11fa12b5577b77c1..3d20594fc157e6e1986d3027113b75345048d236 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -823,7 +823,7 @@ component("base") {
}
configs += [ "//build/config/compiler:wexit_time_destructors" ]
- if (is_android && !is_debug) {
+ if (!is_debug) {
configs -= [ "//build/config/compiler:optimize" ]
configs += [ "//build/config/compiler:optimize_max" ]
}
@@ -842,7 +842,7 @@ source_set("base_static") {
"win/pe_image.h",
]
- if (is_android && !is_debug) {
+ if (!is_debug) {
configs -= [ "//build/config/compiler:optimize" ]
configs += [ "//build/config/compiler:optimize_max" ]
}
@@ -895,7 +895,7 @@ component("i18n") {
"//third_party/icu",
]
- if (is_android && !is_debug) {
+ if (!is_debug) {
configs -= [ "//build/config/compiler:optimize" ]
configs += [ "//build/config/compiler:optimize_max" ]
}
@@ -1007,7 +1007,7 @@ component("prefs") {
":base",
]
- if (is_android && !is_debug) {
+ if (!is_debug) {
configs -= [ "//build/config/compiler:optimize" ]
configs += [ "//build/config/compiler:optimize_max" ]
}
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | build/config/compiler/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698