Index: device/device_tests.gyp |
diff --git a/device/device_tests.gyp b/device/device_tests.gyp |
index ecd47e9821371002d5f332b12e05e7a76946732c..8fe41a24a6b12d4aa927f6146bda4b964fee4dc2 100644 |
--- a/device/device_tests.gyp |
+++ b/device/device_tests.gyp |
@@ -192,7 +192,11 @@ |
['exclude', '^hid/'], |
], |
}], |
- ['use_dbus==0', { |
+ ['OS=="linux" and use_dbus==1', { |
+ 'dependencies': [ |
+ '../dbus/dbus.gyp:dbus_test_support', |
+ ], |
+ }, { # OS != "linux" or use_dbus==0 |
'sources!': [ |
'battery/battery_status_manager_linux_unittest.cc', |
], |