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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 "bluetooth/test/mock_bluetooth_cbperipheral_mac.h", | 52 "bluetooth/test/mock_bluetooth_cbperipheral_mac.h", |
53 "bluetooth/test/mock_bluetooth_cbperipheral_mac.mm", | 53 "bluetooth/test/mock_bluetooth_cbperipheral_mac.mm", |
54 "bluetooth/test/mock_bluetooth_cbservice_mac.h", | 54 "bluetooth/test/mock_bluetooth_cbservice_mac.h", |
55 "bluetooth/test/mock_bluetooth_cbservice_mac.mm", | 55 "bluetooth/test/mock_bluetooth_cbservice_mac.mm", |
56 "bluetooth/test/mock_bluetooth_central_manager_mac.h", | 56 "bluetooth/test/mock_bluetooth_central_manager_mac.h", |
57 "bluetooth/test/mock_bluetooth_central_manager_mac.mm", | 57 "bluetooth/test/mock_bluetooth_central_manager_mac.mm", |
58 "bluetooth/test/test_bluetooth_adapter_observer.cc", | 58 "bluetooth/test/test_bluetooth_adapter_observer.cc", |
59 "bluetooth/test/test_bluetooth_adapter_observer.h", | 59 "bluetooth/test/test_bluetooth_adapter_observer.h", |
60 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc", | 60 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc", |
61 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.h", | 61 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.h", |
| 62 "gamepad/gamepad_provider_unittest.cc", |
62 "nfc/nfc_chromeos_unittest.cc", | 63 "nfc/nfc_chromeos_unittest.cc", |
63 "nfc/nfc_ndef_record_unittest.cc", | 64 "nfc/nfc_ndef_record_unittest.cc", |
64 "test/run_all_unittests.cc", | 65 "test/run_all_unittests.cc", |
65 "vr/vr_device_manager_unittest.cc", | 66 "vr/vr_device_manager_unittest.cc", |
66 ] | 67 ] |
67 | 68 |
68 deps = [ | 69 deps = [ |
69 "//base/test:test_support", | 70 "//base/test:test_support", |
70 "//device/battery", | 71 "//device/battery", |
71 "//device/battery:mojo_bindings", | 72 "//device/battery:mojo_bindings", |
72 "//device/bluetooth", | 73 "//device/bluetooth", |
73 "//device/bluetooth:mocks", | 74 "//device/bluetooth:mocks", |
| 75 "//device/gamepad", |
| 76 "//device/gamepad:test_helpers", |
74 "//device/nfc", | 77 "//device/nfc", |
75 "//device/power_save_blocker", | 78 "//device/power_save_blocker", |
76 "//device/vr", | 79 "//device/vr", |
77 "//device/vr:fakes", | 80 "//device/vr:fakes", |
78 "//device/vr:mojo_bindings", | 81 "//device/vr:mojo_bindings", |
79 "//mojo/common", | 82 "//mojo/common", |
80 "//mojo/edk/system", | 83 "//mojo/edk/system", |
81 "//mojo/public/cpp/bindings", | 84 "//mojo/public/cpp/bindings", |
82 "//net", | 85 "//net", |
83 "//testing/gmock", | 86 "//testing/gmock", |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 jni_package = "bluetooth" | 231 jni_package = "bluetooth" |
229 } | 232 } |
230 | 233 |
231 android_library("bluetooth_test_java") { | 234 android_library("bluetooth_test_java") { |
232 java_files = bluetooth_java_sources_needing_jni | 235 java_files = bluetooth_java_sources_needing_jni |
233 deps = [ | 236 deps = [ |
234 "//base:base_java", | 237 "//base:base_java", |
235 "//device/bluetooth:java", | 238 "//device/bluetooth:java", |
236 ] | 239 ] |
237 } | 240 } |
| 241 |
| 242 junit_binary("device_junit_tests") { |
| 243 java_files = [ "gamepad/android/junit/src/org/chromium/device/gamepad/Gamepa
dMappingsTest.java" ] |
| 244 deps = [ |
| 245 "//base:base_java", |
| 246 "//base:base_java_test_support", |
| 247 "//device/gamepad:java", |
| 248 ] |
| 249 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] |
| 250 } |
238 } | 251 } |
OLD | NEW |