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 component("cpp") { | 5 source_set("generic_sensor") { |
6 sources = [ | 6 sources = [ |
7 "platform_sensor_configuration.cc", | 7 "platform_sensor_configuration.cc", |
8 "platform_sensor_configuration.h", | 8 "platform_sensor_configuration.h", |
9 "sensor_reading.cc", | 9 "sensor_reading.cc", |
10 "sensor_reading.h", | 10 "sensor_reading.h", |
11 ] | 11 ] |
12 | 12 |
13 defines = [ "DEVICE_GENERIC_SENSOR_PUBLIC_IMPLEMENTATION" ] | |
14 | |
15 public_deps = [ | 13 public_deps = [ |
16 "//device/generic_sensor/public/interfaces", | 14 "//services/device/public/interfaces:generic_sensor", |
17 ] | 15 ] |
18 | 16 |
19 deps = [ | 17 deps = [ |
20 "//base", | 18 "//base", |
21 "//device/base/synchronization", | 19 "//device/base/synchronization", |
22 ] | 20 ] |
23 } | 21 } |
OLD | NEW |