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

Unified Diff: base/base.gypi

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
Index: base/base.gypi
diff --git a/base/base.gypi b/base/base.gypi
index cfa9d615f3117de2eba39c6d1a22d66edba352aa..74fcd0aa67020ca9a3c6ae2a24192171ea2e8930 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -8,6 +8,16 @@
'base_target': 0,
'base_i18n_target': 0,
},
+ 'configurations': {
+ 'Release': {
+ 'conditions': [
+ ['OS=="android"', {
+ 'cflags!': ['-Os'],
+ 'cflags': ['-O2'],
+ }],
+ ],
+ },
+ },
'target_conditions': [
# This part is shared between the targets defined below.
['base_target==1', {

Powered by Google App Engine
This is Rietveld 408576698