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

Unified Diff: device/usb/usb.gyp

Issue 497363004: Merge components/usb_service into device/usb. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 6 years, 3 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/OWNERS ('k') | device/usb/usb_context.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 47cf824593f88cd383c182474cea1b74bb5188c8..81bdf403f775f3c9dabb4eb2418ad794f74dc532 100644
--- a/device/usb/usb.gyp
+++ b/device/usb/usb.gyp
@@ -10,12 +10,32 @@
{
'target_name': 'device_usb',
'type': 'static_library',
+ 'dependencies': [
+ '../../third_party/libusb/libusb.gyp:libusb',
+ ],
'include_dirs': [
'../..',
],
'sources': [
+ 'usb_context.cc',
+ 'usb_context.h',
+ 'usb_device_impl.cc',
+ 'usb_device_impl.h',
+ 'usb_device.h',
+ 'usb_device_filter.cc',
+ 'usb_device_filter.h',
+ 'usb_device_handle_impl.cc',
+ 'usb_device_handle_impl.h',
+ 'usb_device_handle.h',
+ 'usb_error.cc',
+ 'usb_error.h',
'usb_ids.cc',
'usb_ids.h',
+ 'usb_interface.h',
+ 'usb_interface_impl.cc',
+ 'usb_interface_impl.h',
+ 'usb_service.h',
+ 'usb_service_impl.cc',
],
'actions': [
{
@@ -40,6 +60,18 @@
'process_outputs_as_sources': 1,
},
],
+ 'conditions': [
+ ['use_udev == 1', {
+ 'dependencies': [
+ '../../build/linux/system.gyp:udev',
+ ],
+ }],
+ ['chromeos==1', {
+ 'dependencies': [
+ '../../chromeos/chromeos.gyp:chromeos',
+ ],
+ }],
+ ]
},
],
}
« no previous file with comments | « device/usb/OWNERS ('k') | device/usb/usb_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698