Index: chrome/chrome_common.gypi |
diff --git a/chrome/chrome_common.gypi b/chrome/chrome_common.gypi |
index 7aea68295b2b77c2e3f60da488d9399e302032da..ae24e7ac0de0dd6e3a652392ab7a8a70da8c167e 100644 |
--- a/chrome/chrome_common.gypi |
+++ b/chrome/chrome_common.gypi |
@@ -650,19 +650,34 @@ |
'includes': [ '../build/protoc.gypi' ], |
}, |
{ |
+ 'target_name': 'common_mojo_bindings_mojom', |
+ 'type': 'none', |
+ 'variables': { |
+ 'mojom_files': [ |
+ 'common/image_decoder.mojom', |
+ 'common/resource_usage_reporter.mojom', |
+ ], |
+ 'mojom_typemaps': [ |
+ '../skia/public/interfaces/skbitmap.typemap', |
+ ], |
+ }, |
+ 'dependencies': [ |
+ '../mojo/mojo_public.gyp:mojo_cpp_bindings', |
+ '../skia/skia.gyp:skia_mojo', |
+ ], |
+ 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ], |
+ }, |
+ { |
# GN version: //chrome/common:mojo_bindings |
'target_name': 'common_mojo_bindings', |
'type': 'static_library', |
- 'includes': [ |
- '../mojo/mojom_bindings_generator.gypi' |
- ], |
- 'sources': [ |
- 'common/image_decoder.mojom', |
- 'common/resource_usage_reporter.mojom', |
- ], |
'dependencies': [ |
+ 'common_mojo_bindings_mojom', |
'../mojo/mojo_public.gyp:mojo_cpp_bindings', |
- '../skia/skia.gyp:skia_mojo', |
+ '../skia/skia.gyp:skia', |
+ ], |
+ 'export_dependent_settings': [ |
+ '../skia/skia.gyp:skia', |
], |
}, |
], |