summaryrefslogtreecommitdiffstats
path: root/tests/public_api_access/Android.mk
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2017-01-17 15:41:06 +0000
committerPaul Duffin <paulduffin@google.com>2017-01-17 15:41:06 +0000
commit3da8b565a87de7d33569dda01ce7ac33a53368e0 (patch)
treed4ead9d631273f63f73fa671dc64662c3e8b3203 /tests/public_api_access/Android.mk
parent675a0f073a775a85e42fd8534b5ec0b453b62869 (diff)
downloadandroid_packages_providers_DownloadProvider-3da8b565a87de7d33569dda01ce7ac33a53368e0.tar.gz
android_packages_providers_DownloadProvider-3da8b565a87de7d33569dda01ce7ac33a53368e0.tar.bz2
android_packages_providers_DownloadProvider-3da8b565a87de7d33569dda01ce7ac33a53368e0.zip
Prepare for removal of legacy-test from default targets
In preparation for removing junit classes from the Android API the legacy-test target will be removed from the TARGET_DEFAULT_JAVA_LIBRARIES. This change adds explicit dependencies on junit and/or legacy-android-test to ensure that modules will compile properly once it is removed. Bug: 30188076 Test: make checkbuild Change-Id: I8b29b7d78c97c648d3c98067ac7b050b0a106369
Diffstat (limited to 'tests/public_api_access/Android.mk')
-rw-r--r--tests/public_api_access/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/public_api_access/Android.mk b/tests/public_api_access/Android.mk
index 6c6db1f4..66f2f101 100644
--- a/tests/public_api_access/Android.mk
+++ b/tests/public_api_access/Android.mk
@@ -8,6 +8,7 @@ LOCAL_MODULE_TAGS := tests
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_JAVA_LIBRARIES := android.test.runner
+LOCAL_STATIC_JAVA_LIBRARIES := junit legacy-android-test
LOCAL_PACKAGE_NAME := DownloadPublicApiAccessTests
include $(BUILD_PACKAGE)