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: If507b641624a2933e722f61e815890fcdf442265
24 lines
578 B
Makefile
24 lines
578 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE_TAGS := tests
|
|
|
|
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
|
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES := \
|
|
android-support-test \
|
|
apct-perftests-utils \
|
|
legacy-android-test
|
|
|
|
LOCAL_PACKAGE_NAME := CorePerfTests
|
|
|
|
LOCAL_JNI_SHARED_LIBRARIES := libperftestscore_jni
|
|
|
|
# Use google-fonts/dancing-script for the performance metrics
|
|
LOCAL_ASSET_DIR := $(TOP)/external/google-fonts/dancing-script
|
|
|
|
include $(BUILD_PACKAGE)
|
|
|
|
include $(call all-makefiles-under, $(LOCAL_PATH))
|