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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 54 |
55 android_library("java") { | 55 android_library("java") { |
56 java_files = device_sensors_jni_sources | 56 java_files = device_sensors_jni_sources |
57 | 57 |
58 deps = [ | 58 deps = [ |
59 "//base:base_java", | 59 "//base:base_java", |
60 "//device/generic_sensor/public/interfaces:interfaces_java", | 60 "//device/generic_sensor/public/interfaces:interfaces_java", |
61 ] | 61 ] |
62 } | 62 } |
63 } | 63 } |
| 64 |
| 65 static_library("testing") { |
| 66 testonly = true |
| 67 sources = [ |
| 68 "fake_platform_sensor.cc", |
| 69 "fake_platform_sensor.h", |
| 70 "fake_platform_sensor_provider.cc", |
| 71 "fake_platform_sensor_provider.h", |
| 72 ] |
| 73 |
| 74 public_deps = [ |
| 75 ":generic_sensor", |
| 76 "//base", |
| 77 "//device/generic_sensor/public/interfaces", |
| 78 ] |
| 79 } |
OLD | NEW |