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

Unified Diff: cc/cc.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
Index: cc/cc.gyp
diff --git a/cc/cc.gyp b/cc/cc.gyp
index 9d623977ca00f7ec50ef6f9ebc4acb24c33e2390..fad0e4693371ed224726a7141227a0306fcf5cab 100644
--- a/cc/cc.gyp
+++ b/cc/cc.gyp
@@ -6,6 +6,18 @@
'variables': {
'chromium_code': 1,
},
+ 'target_defaults': {
+ 'configurations': {
+ 'Release': {
+ 'conditions': [
+ ['OS=="android"', {
+ 'cflags!': ['-Os'],
+ 'cflags': ['-O2'],
+ }],
+ ],
+ },
+ },
+ },
'targets': [
{
# GN version: //cc
« cc/blink/cc_blink.gyp ('K') | « cc/blink/cc_blink_tests.gyp ('k') | cc/cc_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698