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

Side by Side Diff: device/generic_sensor/BUILD.gn

Issue 2492773002: [sensors][CrOS/Linux] Implementation of motion sensors for CrOS/Linux platforms (Closed)
Patch Set: rebased 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 unified diff | Download patch
« no previous file with comments | « no previous file | device/generic_sensor/generic_sensor_consts.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/rules.gni") # For generate_jni(). 8 import("//build/config/android/rules.gni") # For generate_jni().
9 } 9 }
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 "android/sensors_jni_registrar.h", 63 "android/sensors_jni_registrar.h",
64 ] 64 ]
65 65
66 deps += [ ":jni_headers" ] 66 deps += [ ":jni_headers" ]
67 } 67 }
68 68
69 if (is_mac || is_linux) { 69 if (is_mac || is_linux) {
70 deps += [ "//device/sensors/public/cpp" ] 70 deps += [ "//device/sensors/public/cpp" ]
71 } 71 }
72 72
73 if (is_linux) {
74 sources += [ "generic_sensor_consts.h" ]
75 }
76
73 if (is_mac) { 77 if (is_mac) {
74 libs = [ "IOKit.framework" ] 78 libs = [ "IOKit.framework" ]
75 } 79 }
76 80
77 if (is_win) { 81 if (is_win) {
78 libs = [ 82 libs = [
79 "portabledeviceguids.lib", 83 "portabledeviceguids.lib",
80 "sensorsapi.lib", 84 "sensorsapi.lib",
81 ] 85 ]
82 } 86 }
(...skipping 28 matching lines...) Expand all
111 "fake_platform_sensor_provider.cc", 115 "fake_platform_sensor_provider.cc",
112 "fake_platform_sensor_provider.h", 116 "fake_platform_sensor_provider.h",
113 ] 117 ]
114 118
115 public_deps = [ 119 public_deps = [
116 ":generic_sensor", 120 ":generic_sensor",
117 "//base", 121 "//base",
118 "//testing/gmock", 122 "//testing/gmock",
119 ] 123 ]
120 } 124 }
OLDNEW
« no previous file with comments | « no previous file | device/generic_sensor/generic_sensor_consts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698