OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 if (is_android) { | 8 if (is_android) { |
9 import("//build/config/android/rules.gni") # For generate_jni(). | 9 import("//build/config/android/rules.gni") # For generate_jni(). |
10 } | 10 } |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 sources = bluetooth_java_sources_needing_jni | 242 sources = bluetooth_java_sources_needing_jni |
243 jni_package = "bluetooth" | 243 jni_package = "bluetooth" |
244 } | 244 } |
245 | 245 |
246 android_library("bluetooth_test_java") { | 246 android_library("bluetooth_test_java") { |
247 java_files = bluetooth_java_sources_needing_jni | 247 java_files = bluetooth_java_sources_needing_jni |
248 deps = [ | 248 deps = [ |
249 "//base:base_java", | 249 "//base:base_java", |
250 "//components/location/android:location_java", | 250 "//components/location/android:location_java", |
251 "//device/bluetooth:java", | 251 "//device/bluetooth:java", |
| 252 "//third_party/android_tools:android_support_annotations_java", |
252 ] | 253 ] |
| 254 |
| 255 srcjar_deps = [ ":bluetooth_test_javagen" ] |
253 } | 256 } |
254 | 257 |
255 junit_binary("device_junit_tests") { | 258 junit_binary("device_junit_tests") { |
256 java_files = [ "gamepad/android/junit/src/org/chromium/device/gamepad/Gamepa
dMappingsTest.java" ] | 259 java_files = [ "gamepad/android/junit/src/org/chromium/device/gamepad/Gamepa
dMappingsTest.java" ] |
257 deps = [ | 260 deps = [ |
258 "//base:base_java", | 261 "//base:base_java", |
259 "//base:base_java_test_support", | 262 "//base:base_java_test_support", |
260 "//device/gamepad:java", | 263 "//device/gamepad:java", |
261 "//third_party/android_tools:android_support_annotations_java", | 264 "//third_party/android_tools:android_support_annotations_java", |
262 ] | 265 ] |
263 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] | 266 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] |
264 } | 267 } |
| 268 |
| 269 java_cpp_enum("bluetooth_test_javagen") { |
| 270 sources = [ |
| 271 "bluetooth/test/bluetooth_test.h", |
| 272 ] |
| 273 } |
265 } | 274 } |
OLD | NEW |