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