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

Unified Diff: device/generic_sensor/BUILD.gn

Issue 2370343002: [sensors] Ambient light sensor implementation for ChromeOS and Linux. (Closed)
Patch Set: changed implementation 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 3f0d2e7177a12324a0cc724246cdf801faa99596..3fb5fcb6ea29a5576d966d1535d6908c4cd6c24c 100644
--- a/device/generic_sensor/BUILD.gn
+++ b/device/generic_sensor/BUILD.gn
@@ -40,6 +40,20 @@ source_set("generic_sensor") {
deps += [ ":jni_headers" ]
}
+
+ if (is_chromeos || is_linux) {
Mikhail 2016/10/11 14:46:46 isn't 'is_linux' == true on CrOS?
maksims (do not use this acc) 2016/10/14 12:31:44 Done.
+ sources += [
+ "platform_sensor_ambient_light_iio.cc",
+ "platform_sensor_ambient_light_iio.h",
+ "platform_sensor_iio.cc",
+ "platform_sensor_iio.h",
+ "platform_sensor_provider_iio.cc",
+ "platform_sensor_utils_iio.cc",
+ "platform_sensor_utils_iio.h",
+ ]
+
+ sources -= [ "platform_sensor_provider_default.cc" ]
+ }
}
if (is_android) {
« no previous file with comments | « no previous file | device/generic_sensor/ambient_light_reader_iio.h » ('j') | device/generic_sensor/ambient_light_reader_iio.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698