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

Unified Diff: device/usb/usb.gyp

Issue 1877503003: Replace libusb in the Linux/Chrome OS USB I/O path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased and addressed feedback. Created 4 years, 8 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/BUILD.gn ('k') | device/usb/usb_device_handle.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 ef2cf899168808cbaec5b29e394e8ee5846d331b..bdac4ff94c9aceedd793f58f6957a02db6531142 100644
--- a/device/usb/usb.gyp
+++ b/device/usb/usb.gyp
@@ -103,6 +103,10 @@
'dependencies!': [
'../../third_party/libusb/libusb.gyp:libusb',
],
+ 'sources': [
+ 'usb_device_handle_usbfs.cc',
+ 'usb_device_handle_usbfs.h',
+ ],
# These sources are libusb-specific.
'sources!': [
'usb_context.cc',
@@ -122,6 +126,16 @@
'../../chromeos/chromeos.gyp:chromeos',
],
}],
+ ['OS=="linux"', {
+ 'sources': [
+ 'usb_device_handle_usbfs.cc',
+ 'usb_device_handle_usbfs.h',
+ ],
+ 'sources!': [
+ 'usb_device_handle_impl.cc',
+ 'usb_device_handle_impl.h',
+ ]
+ }]
]
},
{
« no previous file with comments | « device/usb/BUILD.gn ('k') | device/usb/usb_device_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698