From 8aeb59ebcd50a510d024dc082fa17b192074c63d Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Tue, 10 Jan 2017 12:08:23 +0000 Subject: 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: I13e88297731253420e4e5f5291d503f13a39a156 --- tests/MemoryUsage/Android.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/MemoryUsage') diff --git a/tests/MemoryUsage/Android.mk b/tests/MemoryUsage/Android.mk index 0ab793b0e0c4..578e628987f1 100644 --- a/tests/MemoryUsage/Android.mk +++ b/tests/MemoryUsage/Android.mk @@ -10,8 +10,9 @@ LOCAL_PACKAGE_NAME := MemoryUsage LOCAL_CERTIFICATE := platform LOCAL_JAVA_LIBRARIES := android.test.runner +LOCAL_STATIC_JAVA_LIBRARIES := junit legacy-android-test include $(BUILD_PACKAGE) # Use the following include to make our test apk. -include $(call all-makefiles-under,$(LOCAL_PATH)) \ No newline at end of file +include $(call all-makefiles-under,$(LOCAL_PATH)) -- cgit v1.2.3-59-g8ed1b