diff options
-rw-r--r-- | components/components_tests.gyp | 8 | ||||
-rw-r--r-- | device/device_tests.gyp | 9 |
2 files changed, 10 insertions, 7 deletions
diff --git a/components/components_tests.gyp b/components/components_tests.gyp index f08ecc3..5c13b54 100644 --- a/components/components_tests.gyp +++ b/components/components_tests.gyp @@ -489,10 +489,12 @@ ['OS=="linux" and use_udev==0', { 'dependencies!': [ '../third_party/libusb/libusb.gyp:libusb', + 'components.gyp:storage_monitor', + 'components.gyp:storage_monitor_test_support', ], - 'sources!': [ - 'storage_monitor/storage_monitor_linux_unittest.cc', - 'usb_service/usb_context_unittest.cc', + 'sources/': [ + ['exclude', '^storage_monitor/'], + ['exclude', '^usb_service/'], ], }], ['OS=="win" and win_use_allocator_shim==1', { diff --git a/device/device_tests.gyp b/device/device_tests.gyp index 9809e62..d3ec0b6 100644 --- a/device/device_tests.gyp +++ b/device/device_tests.gyp @@ -70,10 +70,11 @@ ['OS=="linux" and use_udev==0', { # Udev is the only Linux implementation. If we're compiling without # Udev, disable these unittests. - 'sources!': [ - 'hid/hid_connection_unittest.cc', - 'hid/hid_service_unittest.cc', - 'hid/input_service_linux_unittest.cc', + 'dependencies!': [ + 'hid/hid.gyp:device_hid', + ], + 'sources/': [ + ['exclude', '^hid/'], ], }], ], |