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

Unified Diff: base/allocator/allocator.gyp

Issue 555373004: Compile specific parts of the Android build with -O2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | base/android/jni_generator/jni_generator.gyp » ('j') | cc/blink/cc_blink.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/allocator/allocator.gyp
diff --git a/base/allocator/allocator.gyp b/base/allocator/allocator.gyp
index 323d79ede60e66be555c12d47f2b1c7abc712962..ea960305bac788a143ccacc1bffe8aadba60d0f7 100644
--- a/base/allocator/allocator.gyp
+++ b/base/allocator/allocator.gyp
@@ -12,6 +12,16 @@
# Run time checks are incompatible with any level of optimizations.
'win_debug_RuntimeChecks': '0',
},
+ 'configurations': {
+ 'Release': {
+ 'conditions': [
+ ['OS=="android"', {
+ 'cflags!': ['-Os'],
+ 'cflags': ['-O2'],
+ }],
+ ],
+ },
+ },
},
'variables': {
'tcmalloc_dir': '../../third_party/tcmalloc/chromium',
« no previous file with comments | « no previous file | base/android/jni_generator/jni_generator.gyp » ('j') | cc/blink/cc_blink.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698