8aeb59ebcd
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
19 lines
472 B
Makefile
19 lines
472 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE_TAGS := tests
|
|
|
|
# Only compile source java files in this apk.
|
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
|
|
|
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))
|