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

Unified Diff: base/allocator/BUILD.gn

Issue 555373004: Compile specific parts of the Android build with -O2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 6 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 | « base/BUILD.gn ('k') | base/base.gyp » ('j') | cc/BUILD.gn » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/allocator/BUILD.gn
diff --git a/base/allocator/BUILD.gn b/base/allocator/BUILD.gn
index 5f0b6fa2b00f12a0e55d88e4d0aeae1ee48183be..7603d88d0d3734e9bbc8d1b98ef241c3a2a7d94d 100644
--- a/base/allocator/BUILD.gn
+++ b/base/allocator/BUILD.gn
@@ -245,4 +245,8 @@ source_set("allocator_extension_thunks") {
"allocator_extension_thunks.cc",
"allocator_extension_thunks.h",
]
+ if (is_android && !is_debug) {
+ configs -= [ "//build/config/compiler:optimize" ]
+ configs += [ "//build/config/compiler:optimize_max" ]
+ }
}
« no previous file with comments | « base/BUILD.gn ('k') | base/base.gyp » ('j') | cc/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698