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