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

Unified Diff: device/serial/serial.gyp

Issue 467983002: Make udev target disappear on linux when use_udev==0 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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/device_tests.gyp ('k') | third_party/libusb/libusb.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/serial/serial.gyp
diff --git a/device/serial/serial.gyp b/device/serial/serial.gyp
index f2110da8add3015b8ad9d938e9d1ff9e84369334..3bf050ddabbff56a41ebf277c7daab873e380d09 100644
--- a/device/serial/serial.gyp
+++ b/device/serial/serial.gyp
@@ -27,10 +27,15 @@
'target_name': 'device_serial',
'type': 'static_library',
'conditions': [
- ['OS=="linux"', {
+ ['use_udev == 1', {
'dependencies': [
'../../build/linux/system.gyp:udev',
],
+ }, {
+ 'sources!': [
+ 'serial_device_enumerator_linux.cc',
+ 'serial_device_enumerator_linux.h',
+ ],
}],
],
'dependencies': [
« no previous file with comments | « device/device_tests.gyp ('k') | third_party/libusb/libusb.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698