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

Side by Side Diff: skia/skia.gyp

Issue 2014013002: Add SkBitmap StructTraits for skia::mojo::Bitmap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync and rebase. Created 4 years, 6 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/type_converters.cc ('k') | no next file » | 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW
« no previous file with comments | « skia/public/type_converters.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698