Index: device/BUILD.gn |
diff --git a/device/BUILD.gn b/device/BUILD.gn |
index 4be3138fca27030eaf9d9de26a91900c2516966f..7b9c0042eae8952c8044bcc47c8220a531c93442 100644 |
--- a/device/BUILD.gn |
+++ b/device/BUILD.gn |
@@ -97,6 +97,10 @@ test("device_unittests") { |
deps += [ "//dbus:test_support" ] |
} |
+ if (is_linux) { |
+ sources += [ "generic_sensor/linux/sensor_reader_unittest.cc" ] |
+ } |
+ |
# HID and Serial: |
# Android doesn't compile. |
# Linux, requires udev. |