OLD | NEW |
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 |
11 component("generic_sensor") { | 11 component("generic_sensor") { |
12 output_name = "generic_sensor" | 12 output_name = "generic_sensor" |
13 sources = [ | 13 sources = [ |
14 "generic_sensor_consts.h", | 14 "generic_sensor_consts.h", |
| 15 "generic_sensor_export.h", |
15 "linux/sensor_data_linux.cc", | 16 "linux/sensor_data_linux.cc", |
16 "linux/sensor_data_linux.h", | 17 "linux/sensor_data_linux.h", |
17 "platform_sensor.cc", | 18 "platform_sensor.cc", |
18 "platform_sensor.h", | 19 "platform_sensor.h", |
19 "platform_sensor_ambient_light_mac.cc", | 20 "platform_sensor_ambient_light_mac.cc", |
20 "platform_sensor_ambient_light_mac.h", | 21 "platform_sensor_ambient_light_mac.h", |
21 "platform_sensor_android.cc", | 22 "platform_sensor_android.cc", |
22 "platform_sensor_android.h", | 23 "platform_sensor_android.h", |
23 "platform_sensor_linux.cc", | 24 "platform_sensor_linux.cc", |
24 "platform_sensor_linux.h", | 25 "platform_sensor_linux.h", |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 "fake_platform_sensor_provider.cc", | 121 "fake_platform_sensor_provider.cc", |
121 "fake_platform_sensor_provider.h", | 122 "fake_platform_sensor_provider.h", |
122 ] | 123 ] |
123 | 124 |
124 public_deps = [ | 125 public_deps = [ |
125 ":generic_sensor", | 126 ":generic_sensor", |
126 "//base", | 127 "//base", |
127 "//testing/gmock", | 128 "//testing/gmock", |
128 ] | 129 ] |
129 } | 130 } |
OLD | NEW |