Replace use of deprecated target androidx-test
Test: make Launcher3Tests
Change-Id: Ib14fd9da1df3c022d39efb69660ff59b8a47db5d
diff --git a/Android.bp b/Android.bp
index 4b32702..e3dd5e5 100644
--- a/Android.bp
+++ b/Android.bp
@@ -16,7 +16,8 @@
name: "launcher-aosp-tapl",
static_libs: [
"androidx.annotation_annotation",
- "androidx-test",
+ "androidx.test.runner",
+ "androidx.test.rules",
"androidx.test.uiautomator_uiautomator",
"SystemUISharedLib",
],
diff --git a/tests/Android.mk b/tests/Android.mk
index d808873..a787537 100644
--- a/tests/Android.mk
+++ b/tests/Android.mk
@@ -21,7 +21,8 @@
include $(CLEAR_VARS)
LOCAL_STATIC_JAVA_LIBRARIES := \
androidx.annotation_annotation \
- androidx-test \
+ androidx.test.runner \
+ androidx.test.rules \
androidx.test.uiautomator_uiautomator \
libSharedSystemUI
@@ -42,7 +43,8 @@
LOCAL_MODULE_TAGS := tests
LOCAL_STATIC_JAVA_LIBRARIES := \
- androidx-test \
+ androidx.test.runner \
+ androidx.test.rules \
androidx.test.uiautomator_uiautomator \
mockito-target-minus-junit4