aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2017-01-17 14:49:41 +0000
committerPaul Duffin <paulduffin@google.com>2017-01-17 14:49:41 +0000
commit2de86d3eaf4d22baa452817e549516cc4add1bf8 (patch)
treea6afbdebfe4c0eac5973ba26d0146e42dcca22a7
parent03b18577f8f8f799e87a62b8e03889ddacf6daa2 (diff)
downloadcalendar-2de86d3eaf4d22baa452817e549516cc4add1bf8.tar.gz
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: Ic37712e161ed1daeff800fb10e21c9f59682efe7
-rw-r--r--tests/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Android.mk b/tests/Android.mk
index 414081a..7a288ac 100644
--- a/tests/Android.mk
+++ b/tests/Android.mk
@@ -19,6 +19,6 @@ LOCAL_MODULE_TAGS := tests
LOCAL_PACKAGE_NAME := CalendarCommonTests
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_JAVA_LIBRARIES := android.test.runner
-LOCAL_STATIC_JAVA_LIBRARIES := calendar-common
+LOCAL_STATIC_JAVA_LIBRARIES := calendar-common junit legacy-android-test
include $(BUILD_PACKAGE)