OLD | NEW |
---|---|
1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # This file is meant to be included to disable LTO on a target. | 5 # This file is meant to be included to disable GCC LTO on a target. |
6 | |
7 # TODO(pcc): Replace references in external repositories with | |
8 # 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.
| |
6 | 9 |
7 { | 10 { |
8 'target_conditions': [ | 11 'target_conditions': [ |
9 ['_toolset=="target"', { | 12 ['_toolset=="target"', { |
10 'conditions': [ | 13 'conditions': [ |
11 ['OS=="android" and (use_lto==1 or use_lto_o2==1)', { | 14 ['OS=="android" and clang==0 and (use_lto==1 or use_lto_o2==1)', { |
12 'cflags!': [ | 15 'cflags!': [ |
13 '-flto', | 16 '-flto', |
14 '-ffat-lto-objects', | 17 '-ffat-lto-objects', |
15 ], | 18 ], |
16 }], | 19 }], |
17 ], | 20 ], |
18 }], | 21 }], |
19 ], | 22 ], |
20 } | 23 } |
OLD | NEW |