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

Unified Diff: BUILD.gn

Issue 1333963002: Optionally use new GN optimization config. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index d6341f7449d6674354e462261e0ab250101694c9..23108b9b5e737111832a2e6da2dcc4f5528f740e 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1534,7 +1534,11 @@ source_set("v8_base") {
]
if (!is_debug) {
- configs -= [ "//build/config/compiler:optimize" ]
+ if (using_new_optimization_config) {
+ configs -= [ "//build/config/compiler:default_optimization" ]
+ } else {
+ configs -= [ "//build/config/compiler:optimize" ]
+ }
configs += [ "//build/config/compiler:optimize_max" ]
}
@@ -1633,7 +1637,11 @@ source_set("v8_libbase") {
]
if (!is_debug) {
- configs -= [ "//build/config/compiler:optimize" ]
+ if (using_new_optimization_config) {
+ configs -= [ "//build/config/compiler:default_optimization" ]
+ } else {
+ configs -= [ "//build/config/compiler:optimize" ]
+ }
configs += [ "//build/config/compiler:optimize_max" ]
}
@@ -1700,7 +1708,11 @@ source_set("v8_libplatform") {
]
if (!is_debug) {
- configs -= [ "//build/config/compiler:optimize" ]
+ if (using_new_optimization_config) {
+ configs -= [ "//build/config/compiler:default_optimization" ]
+ } else {
+ configs -= [ "//build/config/compiler:optimize" ]
+ }
configs += [ "//build/config/compiler:optimize_max" ]
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698