Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1674)

Unified Diff: device/generic_sensor/BUILD.gn

Issue 2306333002: [sensors] Add Generic Sensor platform unit tests. (Closed)
Patch Set: Comments Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/generic_sensor/BUILD.gn
diff --git a/device/generic_sensor/BUILD.gn b/device/generic_sensor/BUILD.gn
index 14d3ce489d0de1e49ecd2f109a0cf44660feddc3..b3b79c991f0050bd1e5083190e7c38e496a8287a 100644
--- a/device/generic_sensor/BUILD.gn
+++ b/device/generic_sensor/BUILD.gn
@@ -62,3 +62,19 @@ if (is_android) {
]
}
}
+
+static_library("mocks") {
+ testonly = true
+ sources = [
+ "mock_platform_sensor.cc",
+ "mock_platform_sensor.h",
+ "mock_platform_sensor_provider.cc",
+ "mock_platform_sensor_provider.h",
+ ]
+
+ public_deps = [
+ ":generic_sensor",
+ "//base",
+ "//device/generic_sensor/public/interfaces",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698