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

Unified Diff: device/usb/usb.gyp

Issue 1155163008: Build a basic Mojo service framework for device/usb (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DISALLOW Created 5 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 | « device/usb/type_converters.cc ('k') | extensions/shell/browser/shell_device_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb.gyp
diff --git a/device/usb/usb.gyp b/device/usb/usb.gyp
index f1afd8ca6888e330c2980036bd4f41fec3935b27..dc3ebd0ab3f7583a055693ae6be1a6d1d52a848f 100644
--- a/device/usb/usb.gyp
+++ b/device/usb/usb.gyp
@@ -11,14 +11,26 @@
'target_name': 'device_usb',
'type': 'static_library',
'dependencies': [
+ 'device_usb_mojo_bindings_lib',
'../../components/components.gyp:device_event_log_component',
'../../net/net.gyp:net',
'../../third_party/libusb/libusb.gyp:libusb',
+ '../../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
],
'include_dirs': [
'../..',
],
'sources': [
+ 'device_impl.cc',
+ 'device_impl.h',
+ 'device_manager_impl.cc',
+ 'device_manager_impl.h',
+ # TODO(rockot/reillyg): Split out public sources into their own target
+ # once all device/usb consumers have transitioned to the new public API.
+ 'public/cpp/device_manager_delegate.h',
+ 'public/cpp/device_manager_factory.h',
+ 'type_converters.cc',
+ 'type_converters.h',
'usb_context.cc',
'usb_context.h',
'usb_descriptors.cc',
@@ -78,6 +90,26 @@
]
},
{
+ 'target_name': 'device_usb_mojo_bindings',
+ 'type': 'none',
+ 'variables': {
+ 'mojom_files': [
+ 'public/interfaces/device.mojom',
+ 'public/interfaces/device_manager.mojom',
+ ],
+ },
+ 'includes': [
+ '../../third_party/mojo/mojom_bindings_generator_explicit.gypi',
+ ],
+ },
+ {
+ 'target_name': 'device_usb_mojo_bindings_lib',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'device_usb_mojo_bindings',
+ ],
+ },
+ {
'target_name': 'device_usb_mocks',
'type': 'static_library',
'include_dirs': [
« no previous file with comments | « device/usb/type_converters.cc ('k') | extensions/shell/browser/shell_device_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698