| 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 'target_defaults': { |
| 7 'configurations': { |
| 8 'Release': { |
| 9 'conditions': [ |
| 10 ['OS=="android"', { |
| 11 'cflags!': ['-Os'], |
| 12 'cflags': ['-O2'], |
| 13 }], |
| 14 ], |
| 15 }, |
| 16 }, |
| 17 }, |
| 6 'conditions': [ | 18 'conditions': [ |
| 7 # In component mode (shared_lib), we build all of skia as a single DLL. | 19 # 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 | 20 # 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 | 21 # 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. | 22 # already have a copy of skia as a system library. |
| 11 ['component=="static_library" and use_system_skia==0', { | 23 ['component=="static_library" and use_system_skia==0', { |
| 12 'targets': [ | 24 'targets': [ |
| 13 { | 25 { |
| 14 'target_name': 'skia_library', | 26 'target_name': 'skia_library', |
| 15 'type': 'static_library', | 27 'type': 'static_library', |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 'dependencies': [ | 153 'dependencies': [ |
| 142 '../base/base.gyp:base', | 154 '../base/base.gyp:base', |
| 143 'skia.gyp:skia', | 155 'skia.gyp:skia', |
| 144 ], | 156 ], |
| 145 'sources': [ | 157 'sources': [ |
| 146 'tools/filter_fuzz_stub/filter_fuzz_stub.cc', | 158 'tools/filter_fuzz_stub/filter_fuzz_stub.cc', |
| 147 ], | 159 ], |
| 148 }, | 160 }, |
| 149 ], | 161 ], |
| 150 } | 162 } |
| OLD | NEW |