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 # This target contains only those files that are shared by the Device Sensors | 5 # This target contains only those files that are shared by the Device Sensors |
6 # implementation and all Device Sensors clients, including Blink. Add a file | 6 # implementation and all Device Sensors clients, including Blink. Add a file |
7 # here only if it meets the following constraints: | 7 # here only if it meets the following constraints: |
8 # (1) It is *necessary* to use the file to consume Device Sensors (the | 8 # (1) It is *necessary* to use the file to consume Device Sensors (the |
9 # current files define structs that are used as a consistent interpretation of | 9 # current files define structs that are used as a consistent interpretation of |
10 # shared memory by the Device Sensor and its clients). | 10 # shared memory by the Device Sensor and its clients). |
(...skipping 14 matching lines...) Expand all Loading... |
25 "orientation_data.h", | 25 "orientation_data.h", |
26 ] | 26 ] |
27 # Do not add deps here per the above comment. | 27 # Do not add deps here per the above comment. |
28 } | 28 } |
29 | 29 |
30 # This target is a superset of the above one that contains additional optional | 30 # This target is a superset of the above one that contains additional optional |
31 # files available to Device Sensors clients. This target may bring in | 31 # files available to Device Sensors clients. This target may bring in |
32 # dependencies on the STL and Chromium code. | 32 # dependencies on the STL and Chromium code. |
33 source_set("full") { | 33 source_set("full") { |
34 sources = [ | 34 sources = [ |
35 "device_light_data.h", | |
36 "device_light_hardware_buffer.h", | |
37 "device_motion_hardware_buffer.h", | 35 "device_motion_hardware_buffer.h", |
38 "device_orientation_hardware_buffer.h", | 36 "device_orientation_hardware_buffer.h", |
39 "device_sensors_consts.h", | |
40 "device_util_mac.cc", | |
41 "device_util_mac.h", | |
42 ] | 37 ] |
43 | 38 |
44 public_deps = [ | 39 public_deps = [ |
45 ":shared_with_blink", | 40 ":shared_with_blink", |
46 "//device/base/synchronization", | 41 "//device/base/synchronization", |
47 ] | 42 ] |
48 } | 43 } |
OLD | NEW |