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

Unified Diff: build/android/increase_size_for_speed.gypi

Issue 646873004: Add Link-Time Optimizations support for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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: 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',
+ ],
+ }],
],
}],
],

Powered by Google App Engine
This is Rietveld 408576698