From 10d8d02f689d9b8bb429f4839ac2539904290b85 Mon Sep 17 00:00:00 2001 From: "spang@chromium.org" Date: Thu, 5 Jun 2014 19:37:01 +0000 Subject: Fix components_unittests embedded build BUG=none TEST=embedded=1 build NOTRY=true TBR=dnicoara Review URL: https://codereview.chromium.org/317823005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275219 0039d316-1c4b-4281-b951-d872f2087c98 --- components/components_tests.gyp | 8 +++++--- 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/'], ], }], ], -- cgit v1.1