| 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 4081cd71bfc1f59e58814c344faab2a625349fd0..48d17f5f19c1423873274d10f96c153dcd5426b5 100644
|
| --- a/build/android/increase_size_for_speed.gypi
|
| +++ b/build/android/increase_size_for_speed.gypi
|
| @@ -22,13 +22,13 @@
|
| # LTO merges all optimization options at link-time. -O2 takes
|
| # precedence over -Os. Avoid using LTO simultaneously
|
| # on -Os and -O2 parts for that reason.
|
| - ['use_lto==1', {
|
| + ['OS=="android" and use_lto==1', {
|
| 'cflags!': [
|
| '-flto',
|
| '-ffat-lto-objects',
|
| ],
|
| }],
|
| - ['use_lto_o2==1', {
|
| + ['OS=="android" and use_lto_o2==1', {
|
| 'cflags': [
|
| '-flto',
|
| '-ffat-lto-objects',
|
|
|