Index: device/generic_sensor/BUILD.gn |
diff --git a/device/generic_sensor/BUILD.gn b/device/generic_sensor/BUILD.gn |
index 75bed031f0401f23d4c3f4c84449074e987b601c..0e10af42d21cbe8f266cc1721678fa1dbd7e068c 100644 |
--- a/device/generic_sensor/BUILD.gn |
+++ b/device/generic_sensor/BUILD.gn |
@@ -61,3 +61,19 @@ if (is_android) { |
] |
} |
} |
+ |
+static_library("testing") { |
+ testonly = true |
+ sources = [ |
+ "fake_platform_sensor.cc", |
+ "fake_platform_sensor.h", |
+ "fake_platform_sensor_provider.cc", |
+ "fake_platform_sensor_provider.h", |
+ ] |
+ |
+ public_deps = [ |
+ ":generic_sensor", |
+ "//base", |
+ "//device/generic_sensor/public/interfaces", |
+ ] |
+} |