summaryrefslogtreecommitdiffstats
path: root/tests/SmokeTest
diff options
context:
space:
mode:
authorBrett Chabot <brettchabot@android.com>2012-04-16 10:35:32 -0700
committerBrett Chabot <brettchabot@android.com>2012-04-16 10:35:32 -0700
commit8debcfa2904fd1e2fc6389bc49575f3fb2b251b3 (patch)
tree438b0068030d0553e83cc9c2fee49aaade19eb81 /tests/SmokeTest
parentfe07820bf3bb87a0b44609833af791f01b942ede (diff)
downloadframeworks_base-8debcfa2904fd1e2fc6389bc49575f3fb2b251b3.zip
frameworks_base-8debcfa2904fd1e2fc6389bc49575f3fb2b251b3.tar.gz
frameworks_base-8debcfa2904fd1e2fc6389bc49575f3fb2b251b3.tar.bz2
Build Smoke tests against the SDK.
Done so the new 'launch all apps' test can be utilized on older platforms. Change-Id: Ie74ce258ceb372e78a0634a633bbb19dcd8e2779
Diffstat (limited to 'tests/SmokeTest')
-rw-r--r--tests/SmokeTest/Android.mk6
-rw-r--r--tests/SmokeTest/tests/Android.mk4
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/SmokeTest/Android.mk b/tests/SmokeTest/Android.mk
index 0adfd4c..591a84e 100644
--- a/tests/SmokeTest/Android.mk
+++ b/tests/SmokeTest/Android.mk
@@ -6,11 +6,11 @@ LOCAL_MODULE_TAGS := tests
# This builds "SmokeTestApp"
LOCAL_SRC_FILES := $(call all-java-files-under, src)
-LOCAL_JAVA_LIBRARIES := android.test.runner
-
LOCAL_PACKAGE_NAME := SmokeTestApp
+LOCAL_SDK_VERSION := 8
+
include $(BUILD_PACKAGE)
# This builds "SmokeTest"
-include $(call all-makefiles-under,$(LOCAL_PATH)) \ No newline at end of file
+include $(call all-makefiles-under,$(LOCAL_PATH))
diff --git a/tests/SmokeTest/tests/Android.mk b/tests/SmokeTest/tests/Android.mk
index 86bf23d..18e682e 100644
--- a/tests/SmokeTest/tests/Android.mk
+++ b/tests/SmokeTest/tests/Android.mk
@@ -4,8 +4,6 @@ include $(CLEAR_VARS)
# We only want this apk build for tests.
LOCAL_MODULE_TAGS := tests
-LOCAL_JAVA_LIBRARIES := android.test.runner
-
# Include all test java files.
LOCAL_SRC_FILES := $(call all-java-files-under, src)
@@ -17,5 +15,7 @@ LOCAL_PACKAGE_NAME := SmokeTest
LOCAL_INSTRUMENTATION_FOR := SmokeTestApp
+LOCAL_SDK_VERSION := 8
+
include $(BUILD_PACKAGE)