From 8debcfa2904fd1e2fc6389bc49575f3fb2b251b3 Mon Sep 17 00:00:00 2001 From: Brett Chabot Date: Mon, 16 Apr 2012 10:35:32 -0700 Subject: Build Smoke tests against the SDK. Done so the new 'launch all apps' test can be utilized on older platforms. Change-Id: Ie74ce258ceb372e78a0634a633bbb19dcd8e2779 --- tests/SmokeTest/Android.mk | 6 +++--- tests/SmokeTest/tests/Android.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tests') 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) -- cgit v1.1