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) 9LOCAL_INSTRUMENTATION_FOR := DownloadProvider 10LOCAL_JAVA_LIBRARIES := android.test.runner 11LOCAL_PACKAGE_NAME := DownloadProviderTests 12LOCAL_CERTIFICATE := media 13 14include $(BUILD_PACKAGE) 15 16# additionally, build sub-tests in a separate .apk 17include $(call all-makefiles-under,$(LOCAL_PATH)) 18