cmsdk: Add test package to CMTS targets.

Change-Id: Iddb3ab6c5361875567e816c004ce4d6c438210ba
This commit is contained in:
Adnan Begovic 2016-06-06 14:21:43 -07:00
parent fb0c0371d4
commit 7a48ce3b42

View File

@ -33,3 +33,22 @@ LOCAL_PROGUARD_ENABLED := optimization shrinktests
LOCAL_PROGUARD_FLAG_FILES := proguard.flags LOCAL_PROGUARD_FLAG_FILES := proguard.flags
include $(BUILD_PACKAGE) include $(BUILD_PACKAGE)
# Register as CMTS
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := tests
LOCAL_STATIC_JAVA_LIBRARIES := \
org.cyanogenmod.platform.sdk \
android-support-test
LOCAL_DEX_PREOPT := false
LOCAL_SRC_FILES := $(call all-subdir-java-files, src/)
LOCAL_PACKAGE_NAME := CmtsPlatformSDKTests
LOCAL_CERTIFICATE := platform
LOCAL_JAVA_LIBRARIES := android.test.runner
LOCAL_PROGUARD_ENABLED := optimization shrinktests
LOCAL_PROGUARD_FLAG_FILES := proguard.flags
include $(BUILD_CMTS_PACKAGE)