From 5be7f5c623ea303f911746533a01b3b666cc4468 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Tue, 12 Feb 2019 16:22:33 +0000 Subject: Remove unnecessary dependency on legacy-android-test The compile time dependencies needed by PresencePollingTests are provided by the android.test.runner and android.test.base targets and the runtime dependencies are provided by the android.test.base which is on the bootclasspath and the android.test.runner library specified in the AndroidManifest.xml. (cherry picked from commit 4638da291efd8bfa5d3b8bee9d72bb9d4225d328) Bug: 63127064 Test: make checkbuild and checked manifest manually Change-Id: I967af72c40498057b8c8865f4493065842e51df4 --- rcs/presencepolling/tests/Android.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rcs') diff --git a/rcs/presencepolling/tests/Android.mk b/rcs/presencepolling/tests/Android.mk index b6cd0be..d4108da 100644 --- a/rcs/presencepolling/tests/Android.mk +++ b/rcs/presencepolling/tests/Android.mk @@ -20,12 +20,12 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_JAVA_LIBRARIES := mockito-target \ + android.test.base \ android.test.runner LOCAL_STATIC_JAVA_LIBRARIES := \ androidx.test.rules \ - mockito-target-minus-junit4 \ - legacy-android-test + mockito-target-minus-junit4 LOCAL_PACKAGE_NAME := PresencePollingTests LOCAL_PRIVATE_PLATFORM_APIS := true -- cgit v1.2.3