Prepare for removal of legacy-test from default targets am: 1c656b29b5 am: eb74e35e10
am: 4de6231164

Change-Id: Iefc538d13d91f8011af0001b1e3a18ea9c00e2f8
diff --git a/tests/android_car_api_test/Android.mk b/tests/android_car_api_test/Android.mk
index aec4c71..6ed3483 100644
--- a/tests/android_car_api_test/Android.mk
+++ b/tests/android_car_api_test/Android.mk
@@ -32,6 +32,7 @@
 
 LOCAL_PROGUARD_ENABLED := disabled
 
+LOCAL_STATIC_JAVA_LIBRARIES := junit legacy-android-test
 LOCAL_STATIC_JAVA_LIBRARIES += car-systemtest
 
 LOCAL_JAVA_LIBRARIES := android.car android.test.runner
diff --git a/tests/android_support_car_api_test/Android.mk b/tests/android_support_car_api_test/Android.mk
index fb66296..4225946 100644
--- a/tests/android_support_car_api_test/Android.mk
+++ b/tests/android_support_car_api_test/Android.mk
@@ -32,6 +32,7 @@
 
 LOCAL_PROGUARD_ENABLED := disabled
 
+LOCAL_STATIC_JAVA_LIBRARIES := junit legacy-android-test
 LOCAL_STATIC_JAVA_LIBRARIES += android.support.car
 
 LOCAL_JAVA_LIBRARIES := android.car android.test.runner
diff --git a/tests/carservice_test/Android.mk b/tests/carservice_test/Android.mk
index 2859469..ba8395c 100644
--- a/tests/carservice_test/Android.mk
+++ b/tests/carservice_test/Android.mk
@@ -32,6 +32,7 @@
 
 LOCAL_PROGUARD_ENABLED := disabled
 
+LOCAL_STATIC_JAVA_LIBRARIES := junit legacy-android-test
 LOCAL_STATIC_JAVA_LIBRARIES += android.support.car
 LOCAL_STATIC_JAVA_LIBRARIES += car-service-lib-for-test car-systemtest
 
diff --git a/tests/carservice_unit_test/Android.mk b/tests/carservice_unit_test/Android.mk
index 1d67d2b..4c57c6e 100644
--- a/tests/carservice_unit_test/Android.mk
+++ b/tests/carservice_unit_test/Android.mk
@@ -34,5 +34,6 @@
 LOCAL_INSTRUMENTATION_FOR := CarService
 
 LOCAL_JAVA_LIBRARIES := android.car android.test.runner
+LOCAL_STATIC_JAVA_LIBRARIES := junit legacy-android-test
 
 include $(BUILD_PACKAGE)
diff --git a/tests/libvehiclenetwork-java-test/Android.mk b/tests/libvehiclenetwork-java-test/Android.mk
index 6dae564..1a7420c 100644
--- a/tests/libvehiclenetwork-java-test/Android.mk
+++ b/tests/libvehiclenetwork-java-test/Android.mk
@@ -31,6 +31,7 @@
 
 LOCAL_PROGUARD_ENABLED := disabled
 
+LOCAL_STATIC_JAVA_LIBRARIES := junit legacy-android-test
 LOCAL_STATIC_JAVA_LIBRARIES += libvehiclenetwork-java
 
 LOCAL_JAVA_LIBRARIES := android.test.runner