diff options
author | Paul Duffin <paulduffin@google.com> | 2017-01-10 12:08:23 +0000 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2017-01-18 16:39:34 +0000 |
commit | 8aeb59ebcd50a510d024dc082fa17b192074c63d (patch) | |
tree | b7f3e92f4eebc63df03fd63d35b0eafc18ccc81c /tests/MemoryUsage | |
parent | 57b8eb3da0c4692ac4f39a9c73aa090af475d14a (diff) |
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
Diffstat (limited to 'tests/MemoryUsage')
-rw-r--r-- | tests/MemoryUsage/Android.mk | 3 |
1 files changed, 2 insertions, 1 deletions
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)) |