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

Unified Diff: device/generic_sensor/BUILD.gn

Issue 2447973003: [sensors] [win] Implement ambient light sensor for Windows platform (Closed)
Patch Set: Rebased to master Created 4 years, 1 month 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
« no previous file with comments | « device/BUILD.gn ('k') | device/generic_sensor/platform_sensor_and_provider_unittest_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/generic_sensor/BUILD.gn
diff --git a/device/generic_sensor/BUILD.gn b/device/generic_sensor/BUILD.gn
index d0afbb309310fa45d4136b6f4ee6e29669cccd8b..6b4785e89b8174edaad77e5350f7d778d33e0f6e 100644
--- a/device/generic_sensor/BUILD.gn
+++ b/device/generic_sensor/BUILD.gn
@@ -25,6 +25,12 @@ component("generic_sensor") {
"platform_sensor_provider_base.h",
"platform_sensor_provider_mac.cc",
"platform_sensor_provider_mac.h",
+ "platform_sensor_provider_win.cc",
+ "platform_sensor_provider_win.h",
+ "platform_sensor_reader_win.cc",
+ "platform_sensor_reader_win.h",
+ "platform_sensor_win.cc",
+ "platform_sensor_win.h",
"sensor_impl.cc",
"sensor_impl.h",
"sensor_provider_impl.cc",
@@ -57,6 +63,13 @@ component("generic_sensor") {
libs = [ "IOKit.framework" ]
}
+
+ if (is_win) {
+ libs = [
+ "portabledeviceguids.lib",
+ "sensorsapi.lib",
+ ]
+ }
}
if (is_android) {
« no previous file with comments | « device/BUILD.gn ('k') | device/generic_sensor/platform_sensor_and_provider_unittest_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698