| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 | 46 |
| 47 defines = [ "DEVICE_GENERIC_SENSOR_IMPLEMENTATION" ] | 47 defines = [ "DEVICE_GENERIC_SENSOR_IMPLEMENTATION" ] |
| 48 | 48 |
| 49 deps = [ | 49 deps = [ |
| 50 "//base", | 50 "//base", |
| 51 "//device/base/synchronization", | 51 "//device/base/synchronization", |
| 52 ] | 52 ] |
| 53 | 53 |
| 54 public_deps = [ | 54 public_deps = [ |
| 55 "//device/generic_sensor/public/cpp", | 55 "//device/generic_sensor/public/cpp", |
| 56 "//device/generic_sensor/public/interfaces", | |
| 57 ] | 56 ] |
| 58 | 57 |
| 59 if (is_android) { | 58 if (is_android) { |
| 60 sources += [ | 59 sources += [ |
| 61 "android/sensors_jni_registrar.cc", | 60 "android/sensors_jni_registrar.cc", |
| 62 "android/sensors_jni_registrar.h", | 61 "android/sensors_jni_registrar.h", |
| 63 ] | 62 ] |
| 64 | 63 |
| 65 deps += [ ":jni_headers" ] | 64 deps += [ ":jni_headers" ] |
| 66 } | 65 } |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 "fake_platform_sensor_provider.cc", | 120 "fake_platform_sensor_provider.cc", |
| 122 "fake_platform_sensor_provider.h", | 121 "fake_platform_sensor_provider.h", |
| 123 ] | 122 ] |
| 124 | 123 |
| 125 public_deps = [ | 124 public_deps = [ |
| 126 ":generic_sensor", | 125 ":generic_sensor", |
| 127 "//base", | 126 "//base", |
| 128 "//testing/gmock", | 127 "//testing/gmock", |
| 129 ] | 128 ] |
| 130 } | 129 } |
| OLD | NEW |