Index: build/android/increase_size_for_speed.gypi |
diff --git a/build/android/increase_size_for_speed.gypi b/build/android/increase_size_for_speed.gypi |
index f5f2d6263322bd53270e1bc38348619e800113dc..3030234474f2e9705d1c7099713bc4b8638cfc91 100644 |
--- a/build/android/increase_size_for_speed.gypi |
+++ b/build/android/increase_size_for_speed.gypi |
@@ -18,6 +18,19 @@ |
'cflags!': ['-Os'], |
'cflags': ['-O2'], |
}], |
+ # Do not merge -Os and -O2 in LTO |
pasko
2014/10/10 11:59:21
s/LTO/LTO./
Also you can briefly explain, like:
A
Fabrice (no longer in Chrome)
2014/10/13 15:45:12
Done.
|
+ ['use_lto==1', { |
pasko
2014/10/10 11:59:21
maybe this should be called use_lto_os? I understa
Fabrice (no longer in Chrome)
2014/10/13 15:45:12
I think it's too late for that at this point. The
|
+ 'cflags!': [ |
+ '-flto', |
+ '-ffat-lto-objects', |
+ ], |
+ }], |
+ ['use_lto_o2==1', { |
+ 'cflags': [ |
+ '-flto', |
+ '-ffat-lto-objects', |
+ ], |
+ }], |
], |
}], |
], |