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 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 "sensor_impl.h", | 45 "sensor_impl.h", |
46 "sensor_provider_impl.cc", | 46 "sensor_provider_impl.cc", |
47 "sensor_provider_impl.h", | 47 "sensor_provider_impl.h", |
48 ] | 48 ] |
49 | 49 |
50 defines = [ "DEVICE_GENERIC_SENSOR_IMPLEMENTATION" ] | 50 defines = [ "DEVICE_GENERIC_SENSOR_IMPLEMENTATION" ] |
51 | 51 |
52 deps = [ | 52 deps = [ |
53 "//base", | 53 "//base", |
54 "//device/base/synchronization", | 54 "//device/base/synchronization", |
| 55 "//services/device/public/cpp:device_features", |
55 ] | 56 ] |
56 | 57 |
57 public_deps = [ | 58 public_deps = [ |
58 "//device/generic_sensor/public/cpp", | 59 "//device/generic_sensor/public/cpp", |
59 ] | 60 ] |
60 | 61 |
61 if (is_android) { | 62 if (is_android) { |
62 sources += [ | 63 sources += [ |
63 "android/sensors_jni_registrar.cc", | 64 "android/sensors_jni_registrar.cc", |
64 "android/sensors_jni_registrar.h", | 65 "android/sensors_jni_registrar.h", |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 | 114 |
114 android_library("java") { | 115 android_library("java") { |
115 java_files = device_sensors_jni_sources | 116 java_files = device_sensors_jni_sources |
116 | 117 |
117 deps = [ | 118 deps = [ |
118 "//base:base_java", | 119 "//base:base_java", |
119 "//device/generic_sensor/public/interfaces:interfaces_java", | 120 "//device/generic_sensor/public/interfaces:interfaces_java", |
120 ] | 121 ] |
121 } | 122 } |
122 } | 123 } |
OLD | NEW |