aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAdnan Begovic <adnan@cyngn.com>2016-06-06 14:21:43 -0700
committerAdnan Begovic <adnan@cyngn.com>2016-06-07 10:43:41 -0700
commit7a48ce3b42d9a86001aecd942e05c8638b81f4a0 (patch)
treef330669b83548e85ddc8527cac208975cf1c20fa /tests
parentfb0c0371d45360ae2920ea060e4b30e5acce3978 (diff)
downloadvendor_cmsdk-7a48ce3b42d9a86001aecd942e05c8638b81f4a0.zip
vendor_cmsdk-7a48ce3b42d9a86001aecd942e05c8638b81f4a0.tar.gz
vendor_cmsdk-7a48ce3b42d9a86001aecd942e05c8638b81f4a0.tar.bz2
cmsdk: Add test package to CMTS targets.
Change-Id: Iddb3ab6c5361875567e816c004ce4d6c438210ba
Diffstat (limited to 'tests')
-rw-r--r--tests/Android.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/Android.mk b/tests/Android.mk
index e9ae710..105f5d0 100644
--- a/tests/Android.mk
+++ b/tests/Android.mk
@@ -33,3 +33,22 @@ LOCAL_PROGUARD_ENABLED := optimization shrinktests
LOCAL_PROGUARD_FLAG_FILES := proguard.flags
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)