Index: build/android/disable_lto.gypi |
diff --git a/build/android/disable_lto.gypi b/build/android/disable_lto.gypi |
index e379cfd3199ae1f6fe0a6fd6e7d1782b7e205954..9b1230e0e2265267334b840c17a19c7a2a896942 100644 |
--- a/build/android/disable_lto.gypi |
+++ b/build/android/disable_lto.gypi |
@@ -2,13 +2,16 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-# This file is meant to be included to disable LTO on a target. |
+# This file is meant to be included to disable GCC LTO on a target. |
+ |
+# TODO(pcc): Replace references in external repositories with |
+# disable_gcc_lto.gypi and remove this file. |
Fabrice (no longer in Chrome)
2015/08/20 23:07:46
I believe there are no references from external re
pcc1
2015/08/20 23:11:04
I can see a reference in a Google internal reposit
pcc
2015/08/20 23:21:39
Done.
|
{ |
'target_conditions': [ |
['_toolset=="target"', { |
'conditions': [ |
- ['OS=="android" and (use_lto==1 or use_lto_o2==1)', { |
+ ['OS=="android" and clang==0 and (use_lto==1 or use_lto_o2==1)', { |
'cflags!': [ |
'-flto', |
'-ffat-lto-objects', |