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