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

Unified Diff: device/usb/BUILD.gn

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 | « no previous file | device/usb/usb.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/BUILD.gn
diff --git a/device/usb/BUILD.gn b/device/usb/BUILD.gn
index 0d3795bf291acf8e802ca5c58a0a7fb61eec4d0a..db1545263bb1461da44a1740fcb233c6c722d660 100644
--- a/device/usb/BUILD.gn
+++ b/device/usb/BUILD.gn
@@ -59,6 +59,10 @@ source_set("usb") {
if (is_android) {
deps += [ ":jni_headers" ]
+ sources += [
+ "usb_device_handle_usbfs.cc",
+ "usb_device_handle_usbfs.h",
+ ]
} else {
sources += [
"usb_context.cc",
@@ -76,6 +80,17 @@ source_set("usb") {
deps += [ "//third_party/libusb" ]
}
+ if (is_linux || is_chromeos) {
+ sources += [
+ "usb_device_handle_usbfs.cc",
+ "usb_device_handle_usbfs.h",
+ ]
+ sources -= [
+ "usb_device_handle_impl.cc",
+ "usb_device_handle_impl.h",
+ ]
+ }
+
if (is_chromeos) {
deps += [
"//chromeos",
« no previous file with comments | « no previous file | device/usb/usb.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698