| 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 16 matching lines...) Expand all Loading... |
| 27 "sensor_impl.cc", | 27 "sensor_impl.cc", |
| 28 "sensor_impl.h", | 28 "sensor_impl.h", |
| 29 "sensor_provider_impl.cc", | 29 "sensor_provider_impl.cc", |
| 30 "sensor_provider_impl.h", | 30 "sensor_provider_impl.h", |
| 31 ] | 31 ] |
| 32 | 32 |
| 33 defines = [ "DEVICE_GENERIC_SENSOR_IMPLEMENTATION" ] | 33 defines = [ "DEVICE_GENERIC_SENSOR_IMPLEMENTATION" ] |
| 34 | 34 |
| 35 deps = [ | 35 deps = [ |
| 36 "//base", | 36 "//base", |
| 37 "//device/base/synchronization", |
| 37 ] | 38 ] |
| 38 | 39 |
| 39 public_deps = [ | 40 public_deps = [ |
| 40 "//device/generic_sensor/public/cpp", | 41 "//device/generic_sensor/public/cpp", |
| 41 "//device/generic_sensor/public/interfaces", | 42 "//device/generic_sensor/public/interfaces", |
| 42 ] | 43 ] |
| 43 | 44 |
| 44 if (is_android) { | 45 if (is_android) { |
| 45 sources += [ | 46 sources += [ |
| 46 "android/sensors_jni_registrar.cc", | 47 "android/sensors_jni_registrar.cc", |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 "fake_platform_sensor_provider.cc", | 90 "fake_platform_sensor_provider.cc", |
| 90 "fake_platform_sensor_provider.h", | 91 "fake_platform_sensor_provider.h", |
| 91 ] | 92 ] |
| 92 | 93 |
| 93 public_deps = [ | 94 public_deps = [ |
| 94 ":generic_sensor", | 95 ":generic_sensor", |
| 95 "//base", | 96 "//base", |
| 96 "//testing/gmock", | 97 "//testing/gmock", |
| 97 ] | 98 ] |
| 98 } | 99 } |
| OLD | NEW |