Index: device/BUILD.gn |
diff --git a/device/BUILD.gn b/device/BUILD.gn |
index 1be03c84fb81c1d8b35043dce1554f07c53e8d4b..c15fc3921596a544b51d03fd21c74c28c3a8e880 100644 |
--- a/device/BUILD.gn |
+++ b/device/BUILD.gn |
@@ -59,6 +59,7 @@ test("device_unittests") { |
"bluetooth/test/test_bluetooth_adapter_observer.h", |
"bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc", |
"bluetooth/test/test_bluetooth_local_gatt_service_delegate.h", |
+ "gamepad/gamepad_provider_unittest.cc", |
"nfc/nfc_chromeos_unittest.cc", |
"nfc/nfc_ndef_record_unittest.cc", |
"test/run_all_unittests.cc", |
@@ -71,6 +72,8 @@ test("device_unittests") { |
"//device/battery:mojo_bindings", |
"//device/bluetooth", |
"//device/bluetooth:mocks", |
+ "//device/gamepad", |
+ "//device/gamepad:test_helpers", |
"//device/nfc", |
"//device/power_save_blocker", |
"//device/vr", |
@@ -235,4 +238,14 @@ if (is_android) { |
"//device/bluetooth:java", |
] |
} |
+ |
+ junit_binary("device_junit_tests") { |
+ java_files = [ "gamepad/android/junit/src/org/chromium/device/gamepad/GamepadMappingsTest.java" ] |
+ deps = [ |
+ "//base:base_java", |
+ "//base:base_java_test_support", |
+ "//device/gamepad:java", |
+ ] |
+ srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] |
+ } |
} |