1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4# We only want this apk build for tests. 5LOCAL_MODULE_TAGS := tests 6 7# Include all test java files. 8LOCAL_SRC_FILES := $(call all-java-files-under, src) 9 10# Notice that we don't have to include the src files of SmokeTestApp because, by 11# running the tests using an instrumentation targeting SmokeTestApp, we 12# automatically get all of its classes loaded into our environment. 13 14LOCAL_PACKAGE_NAME := SmokeTest 15 16LOCAL_INSTRUMENTATION_FOR := SmokeTestApp 17 18LOCAL_SDK_VERSION := 8 19 20include $(BUILD_PACKAGE) 21 22