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

Unified Diff: third_party/libusb/libusb.gyp

Issue 674703002: Linux: Dynamically load libudev. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scoped_udev
Patch Set: rebase to head, which includes third_party/libudev already Created 6 years, 1 month 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 | « third_party/libusb/README.chromium ('k') | third_party/libusb/linux-udev.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libusb/libusb.gyp
diff --git a/third_party/libusb/libusb.gyp b/third_party/libusb/libusb.gyp
index ee6c22e3168aa74d0f6815356a83f455f5a4924b..21ce2434d1238dbe4f81a91fa3e1a4b40b2c8cee 100644
--- a/third_party/libusb/libusb.gyp
+++ b/third_party/libusb/libusb.gyp
@@ -63,12 +63,18 @@
}],
['use_udev==1', {
'sources': [
- 'src/libusb/os/linux_udev.c',
+ 'src/libusb/os/linux_udev.cc',
],
'defines': [
'HAVE_LIBUDEV=1',
'USE_UDEV=1',
],
+ 'dependencies': [
+ '../../device/udev_linux/udev.gyp:udev_linux',
+ ],
+ 'include_dirs': [
+ '../..',
+ ],
}],
['OS=="linux" and use_udev==0', {
'sources': [
« no previous file with comments | « third_party/libusb/README.chromium ('k') | third_party/libusb/linux-udev.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698