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. |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 'skia.gyp:skia', | 164 'skia.gyp:skia', |
165 ], | 165 ], |
166 'sources': [ | 166 'sources': [ |
167 'tools/filter_fuzz_stub/filter_fuzz_stub.cc', | 167 'tools/filter_fuzz_stub/filter_fuzz_stub.cc', |
168 ], | 168 ], |
169 'includes': [ | 169 'includes': [ |
170 '../build/android/increase_size_for_speed.gypi', | 170 '../build/android/increase_size_for_speed.gypi', |
171 ], | 171 ], |
172 }, | 172 }, |
173 { | 173 { |
| 174 'target_name': 'skia_interfaces_mojom', |
| 175 'type': 'none', |
| 176 'variables': { |
| 177 'mojom_files': [ |
| 178 'public/interfaces/bitmap.mojom', |
| 179 ], |
| 180 'mojom_typemaps': [ |
| 181 'public/interfaces/skbitmap.typemap', |
| 182 ], |
| 183 }, |
| 184 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ], |
| 185 }, |
| 186 { |
174 'target_name': 'skia_mojo', | 187 'target_name': 'skia_mojo', |
175 'type': 'static_library', | 188 'type': 'static_library', |
176 # The optimize: 'max' scattered throughout are particularly | 189 # The optimize: 'max' scattered throughout are particularly |
177 # important when compiled by MSVC 2013, which seems | 190 # important when compiled by MSVC 2013, which seems |
178 # to mis-link-time-compile code that's built with | 191 # to mis-link-time-compile code that's built with |
179 # different optimization levels. http://crbug.com/543583 | 192 # different optimization levels. http://crbug.com/543583 |
180 'variables': { | 193 'variables': { |
181 'optimize': 'max', | 194 'optimize': 'max', |
182 }, | 195 }, |
| 196 'sources': [ |
| 197 '../skia/public/interfaces/bitmap_skbitmap_struct_traits.cc', |
| 198 ], |
183 'dependencies': [ | 199 'dependencies': [ |
184 'skia', | 200 'skia', |
| 201 'skia_interfaces_mojom', |
185 '../base/base.gyp:base', | 202 '../base/base.gyp:base', |
186 ], | 203 ], |
187 'includes': [ | 204 'export_dependent_settings': [ |
188 '../mojo/mojom_bindings_generator.gypi', | 205 'skia', |
189 ], | |
190 'sources': [ | |
191 # Note: file list duplicated in GN build. | |
192 'public/interfaces/bitmap.mojom', | |
193 'public/type_converters.cc', | |
194 ], | 206 ], |
195 }, | 207 }, |
196 ], | 208 ], |
197 } | 209 } |
OLD | NEW |