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

Unified 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, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « skia/public/type_converters.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/skia.gyp
diff --git a/skia/skia.gyp b/skia/skia.gyp
index 2103c4bd76df56f00facc1848f82500aec969946..4baf2b0d892091d7f2a9fb459c32520e056633ec 100644
--- a/skia/skia.gyp
+++ b/skia/skia.gyp
@@ -171,6 +171,19 @@
],
},
{
+ 'target_name': 'skia_interfaces_mojom',
+ 'type': 'none',
+ 'variables': {
+ 'mojom_files': [
+ 'public/interfaces/bitmap.mojom',
+ ],
+ 'mojom_typemaps': [
+ 'public/interfaces/skbitmap.typemap',
+ ],
+ },
+ 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
+ },
+ {
'target_name': 'skia_mojo',
'type': 'static_library',
# The optimize: 'max' scattered throughout are particularly
@@ -180,17 +193,16 @@
'variables': {
'optimize': 'max',
},
+ 'sources': [
+ '../skia/public/interfaces/bitmap_skbitmap_struct_traits.cc',
+ ],
'dependencies': [
'skia',
+ 'skia_interfaces_mojom',
'../base/base.gyp:base',
],
- 'includes': [
- '../mojo/mojom_bindings_generator.gypi',
- ],
- 'sources': [
- # Note: file list duplicated in GN build.
- 'public/interfaces/bitmap.mojom',
- 'public/type_converters.cc',
+ 'export_dependent_settings': [
+ 'skia',
],
},
],
« 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