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': [ |