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

Unified Diff: device/generic_sensor/BUILD.gn

Issue 2880743003: [Device Service] Add ACCELEROMETER implementation on Mac to //device/generic_sensor (Closed)
Patch Set: address comments Created 3 years, 7 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
« no previous file with comments | « no previous file | device/generic_sensor/DEPS » ('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 de71e31dd6d99ac3b54a2c177f9094abfe37c118..f95b0a1b20ca513b3413aa7b44b5c58836e5f0fb 100644
--- a/device/generic_sensor/BUILD.gn
+++ b/device/generic_sensor/BUILD.gn
@@ -17,6 +17,8 @@ component("generic_sensor") {
"linux/sensor_data_linux.h",
"platform_sensor.cc",
"platform_sensor.h",
+ "platform_sensor_accelerometer_mac.cc",
+ "platform_sensor_accelerometer_mac.h",
"platform_sensor_ambient_light_mac.cc",
"platform_sensor_ambient_light_mac.h",
"platform_sensor_android.cc",
@@ -66,8 +68,14 @@ component("generic_sensor") {
}
if (is_mac) {
- deps += [ "//device/sensors/public/cpp:full" ]
- libs = [ "IOKit.framework" ]
+ deps += [
+ "//device/sensors/public/cpp:full",
+ "//third_party/sudden_motion_sensor",
+ ]
+ libs = [
+ "CoreFoundation.framework",
+ "IOKit.framework",
+ ]
}
if (use_udev) {
« no previous file with comments | « no previous file | device/generic_sensor/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698