| Index: device/usb/usb.gyp
|
| diff --git a/device/usb/usb.gyp b/device/usb/usb.gyp
|
| index ef2cf899168808cbaec5b29e394e8ee5846d331b..bf1ef2a99ecf3720f4d74d27be3018a57ef9bdc2 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': [
|
| {
|
| @@ -127,11 +132,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': 'blink',
|
| + 'for_blink': 'true',
|
| + },
|
| 'includes': [
|
| '../../mojo/mojom_bindings_generator.gypi',
|
| ],
|
|
|