| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
| 6 'conditions': [ | 6 'conditions': [ |
| 7 # In component mode (shared_lib), we build all of skia as a single DLL. | 7 # In component mode (shared_lib), we build all of skia as a single DLL. |
| 8 # However, in the static mode, we need to build skia as multiple targets | 8 # However, in the static mode, we need to build skia as multiple targets |
| 9 # in order to support the use case where a platform (e.g. Android) may | 9 # in order to support the use case where a platform (e.g. Android) may |
| 10 # already have a copy of skia as a system library. | 10 # already have a copy of skia as a system library. |
| 11 ['component=="static_library" and use_system_skia==0', { | 11 ['component=="static_library" and use_system_skia==0', { |
| 12 'targets': [ | 12 'targets': [ |
| 13 { | 13 { |
| 14 'target_name': 'skia_library', | 14 'target_name': 'skia_library', |
| 15 'type': 'static_library', | 15 'type': 'static_library', |
| 16 'includes': [ | 16 'includes': [ |
| 17 'skia_library.gypi', | 17 'skia_library.gypi', |
| 18 'skia_common.gypi', | 18 'skia_common.gypi', |
| 19 '../build/android/increase_size_for_speed.gypi', | 19 '../build/android/increase_size_for_speed.gypi', |
| 20 # Disable LTO due to compiler error |
| 21 # in mems_in_disjoint_alias_sets_p, at alias.c:393 |
| 22 # crbug.com/422255 |
| 23 '../build/android/disable_lto.gypi', |
| 20 ], | 24 ], |
| 21 }, | 25 }, |
| 22 ], | 26 ], |
| 23 }], | 27 }], |
| 24 ['component=="static_library" and use_system_skia==1', { | 28 ['component=="static_library" and use_system_skia==1', { |
| 25 'targets': [ | 29 'targets': [ |
| 26 { | 30 { |
| 27 'target_name': 'skia_library', | 31 'target_name': 'skia_library', |
| 28 'type': 'none', | 32 'type': 'none', |
| 29 'includes': [ | 33 'includes': [ |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 ], | 154 ], |
| 151 'sources': [ | 155 'sources': [ |
| 152 'tools/filter_fuzz_stub/filter_fuzz_stub.cc', | 156 'tools/filter_fuzz_stub/filter_fuzz_stub.cc', |
| 153 ], | 157 ], |
| 154 'includes': [ | 158 'includes': [ |
| 155 '../build/android/increase_size_for_speed.gypi', | 159 '../build/android/increase_size_for_speed.gypi', |
| 156 ], | 160 ], |
| 157 }, | 161 }, |
| 158 ], | 162 ], |
| 159 } | 163 } |
| OLD | NEW |