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

Unified Diff: device/generic_sensor/BUILD.gn

Issue 2370343002: [sensors] Ambient light sensor implementation for ChromeOS and Linux. (Closed)
Patch Set: add comments to unittest Created 4 years, 2 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 f8062f74fb411d982573dc935550f97d30821860..de24bad0a459071aa43e598412110cddc8000719 100644
--- a/device/generic_sensor/BUILD.gn
+++ b/device/generic_sensor/BUILD.gn
@@ -50,6 +50,22 @@ source_set("generic_sensor") {
deps += [ "//device/sensors/public/cpp" ]
}
+
+ if (is_linux) {
+ sources += [
+ "iio/platform_sensor_utils_iio.cc",
+ "iio/platform_sensor_utils_iio.h",
+ "iio/sensor_data_iio.cc",
+ "iio/sensor_data_iio.h",
+ "platform_sensor_iio.cc",
+ "platform_sensor_iio.h",
+ "platform_sensor_provider_iio.cc",
+ ]
+
+ sources -= [ "platform_sensor_provider_default.cc" ]
+
+ deps += [ "//device/sensors/public/cpp" ]
+ }
}
if (is_android) {

Powered by Google App Engine
This is Rietveld 408576698