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. (cherry picked from 6387604f9e672ece85e07c4bcbd7be396867f06f) Bug: 30188076 Test: make checkbuild Merged-In: I13e88297731253420e4e5f5291d503f13a39a156 Change-Id: I58446eb8c45d8ac2bcdbc9fa40d1321e811bdd4b
27 lines
775 B
Makefile
27 lines
775 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) \
|
|
$(call all-java-files-under, ../tests/src/com/android/documentsui/bots) \
|
|
../tests/src/com/android/documentsui/ActivityTest.java \
|
|
../tests/src/com/android/documentsui/DocumentsProviderHelper.java \
|
|
../tests/src/com/android/documentsui/StubProvider.java
|
|
|
|
LOCAL_JAVA_LIBRARIES := android-support-v4 android.test.runner
|
|
LOCAL_STATIC_JAVA_LIBRARIES := \
|
|
mockito-target \
|
|
ub-uiautomator \
|
|
ub-janktesthelper \
|
|
legacy-android-test
|
|
|
|
LOCAL_PACKAGE_NAME := DocumentsUIPerfTests
|
|
LOCAL_INSTRUMENTATION_FOR := DocumentsUI
|
|
|
|
LOCAL_CERTIFICATE := platform
|
|
|
|
include $(BUILD_PACKAGE)
|
|
|