These are very simple tests with no dependencies, and moving them
out of FrameworksCoreTests makes it possible to iterate much more
quickly. "runtest frameworks-core" takes almost a minute just to
push to the device, before any tests even start running.
Bug: 25691379
Change-Id: I8d99316a5940e0171883b97c578f9a6882b699a0
24 lines
593 B
Makefile
24 lines
593 B
Makefile
#########################################################################
|
|
# Build FrameworksUtilTests package
|
|
#########################################################################
|
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
# We only want this apk build for tests.
|
|
LOCAL_MODULE_TAGS := tests
|
|
|
|
# Include all test java files.
|
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES := \
|
|
android-support-test
|
|
|
|
LOCAL_JAVA_LIBRARIES := android.test.runner
|
|
|
|
LOCAL_PACKAGE_NAME := FrameworksUtilTests
|
|
|
|
LOCAL_CERTIFICATE := platform
|
|
|
|
include $(BUILD_PACKAGE)
|