Index: device/usb/usb.gyp |
diff --git a/device/usb/usb.gyp b/device/usb/usb.gyp |
index bdac4ff94c9aceedd793f58f6957a02db6531142..02400fa62395d14ce97c3ea8f0cb1e60e54d0927 100644 |
--- a/device/usb/usb.gyp |
+++ b/device/usb/usb.gyp |
@@ -5,6 +5,11 @@ |
{ |
'variables': { |
'chromium_code': 1, |
+ 'mojom_files': [ |
+ 'public/interfaces/chooser_service.mojom', |
+ 'public/interfaces/device.mojom', |
+ 'public/interfaces/device_manager.mojom', |
+ ], |
}, |
'targets': [ |
{ |
@@ -141,11 +146,19 @@ |
{ |
'target_name': 'device_usb_mojo_bindings', |
'type': 'static_library', |
- 'sources': [ |
- 'public/interfaces/chooser_service.mojom', |
- 'public/interfaces/device.mojom', |
- 'public/interfaces/device_manager.mojom', |
+ 'sources': [ '<@(mojom_files)' ], |
+ 'includes': [ |
+ '../../mojo/mojom_bindings_generator.gypi', |
], |
+ }, |
+ { |
+ 'target_name': 'device_usb_mojo_bindings_for_blink', |
+ 'type': 'static_library', |
+ 'sources': [ '<@(mojom_files)' ], |
+ 'variables': { |
+ 'mojom_variant': 'wtf', |
+ 'for_blink': 'true', |
+ }, |
'includes': [ |
'../../mojo/mojom_bindings_generator.gypi', |
], |