Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: skia/skia.gyp

Issue 2156303003: Mojo C++ bindings: make the generator use STL/WTF string/vector/map by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into 72_switch_default Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « skia/public/interfaces/BUILD.gn ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « skia/public/interfaces/BUILD.gn ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698