For instrumentation test apks, it should not statically include Java libraries that are already present in the app module being instrumented. They only need to be on classpath during compile time. Bug: 26689464 Change-Id: I68d4be95e30ae70bbab23d016a87eb085c10cc50
20 lines
428 B
Makefile
20 lines
428 B
Makefile
|
|
LOCAL_PATH := $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE_TAGS := tests
|
|
#LOCAL_SDK_VERSION := current
|
|
|
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
|
|
|
LOCAL_JAVA_LIBRARIES := android-support-v4 android.test.runner
|
|
LOCAL_STATIC_JAVA_LIBRARIES := mockito-target ub-uiautomator
|
|
|
|
LOCAL_PACKAGE_NAME := DocumentsUITests
|
|
LOCAL_INSTRUMENTATION_FOR := DocumentsUI
|
|
|
|
LOCAL_CERTIFICATE := platform
|
|
|
|
include $(BUILD_PACKAGE)
|
|
|