Index: content/content_common_mojo_bindings.gyp |
diff --git a/content/content_common_mojo_bindings.gyp b/content/content_common_mojo_bindings.gyp |
index f82059615ef7f989b900f690f45c249dad533eec..c4faa541ceed5fcbe8dfb71cb3d02403eece8eb4 100644 |
--- a/content/content_common_mojo_bindings.gyp |
+++ b/content/content_common_mojo_bindings.gyp |
@@ -33,6 +33,13 @@ |
], |
}, |
'includes': [ '../third_party/mojo/mojom_bindings_generator_explicit.gypi' ], |
+ 'conditions': [ |
+ ['OS!="ios"', { |
+ 'dependencies': [ |
+ 'content_web_usb_permission_request_mojo_bindings_mojom', |
+ ], |
+ }], |
+ ], |
}, |
{ |
'target_name': 'content_common_mojo_bindings', |
@@ -45,7 +52,45 @@ |
'../skia/skia.gyp:skia_mojo', |
'../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
'../ui/mojo/geometry/mojo_bindings.gyp:mojo_geometry_bindings', |
- ] |
+ ], |
+ 'conditions': [ |
+ ['OS!="ios"', { |
+ 'dependencies': [ |
+ 'content_web_usb_permission_request_mojo_bindings', |
+ ], |
+ }], |
+ ], |
+ }, |
+ { |
+ 'target_name': 'content_web_usb_permission_request_mojo_bindings_mojom', |
jam
2016/01/29 17:58:53
why are you adding new targets instead of using th
jam
2016/02/26 21:40:11
just add a comment that says you're adding this on
|
+ 'type': 'none', |
+ 'conditions': [ |
+ ['OS!="ios"', { |
+ 'variables': { |
+ 'mojom_files': [ |
+ 'public/common/web_usb_permission_request.mojom', |
+ ], |
+ 'dependencies': [ |
+ '../device/devices_app/devices_app.gyp:device_usb_mojo_bindings', |
+ ], |
+ }, |
+ 'includes': [ |
+ '../third_party/mojo/mojom_bindings_generator_explicit.gypi', |
+ ], |
+ }], |
+ ], |
+ }, |
+ { |
+ 'target_name': 'content_web_usb_permission_request_mojo_bindings', |
+ 'type': 'static_library', |
+ 'conditions': [ |
+ ['OS!="ios"', { |
+ 'dependencies': [ |
+ 'content_web_usb_permission_request_mojo_bindings_mojom', |
+ '../device/devices_app/devices_app.gyp:device_usb_mojo_bindings_lib', |
+ ], |
+ }], |
+ ], |
}, |
] |
} |