1 LOCAL_PATH:= $(call my-dir) 2 include $(CLEAR_VARS) 3 4 # We only want this apk build for tests. 5 LOCAL_MODULE_TAGS := tests 6 7 # Include all test java files. 8 LOCAL_SRC_FILES := $(call all-java-files-under, src) 9 LOCAL_INSTRUMENTATION_FOR := DownloadProvider 10 LOCAL_JAVA_LIBRARIES := android.test.runner 11 LOCAL_PACKAGE_NAME := DownloadProviderTests 12 LOCAL_CERTIFICATE := media 13 14 include $(BUILD_PACKAGE) 15 16 # additionally, build sub-tests in a separate .apk 17 include $(call all-makefiles-under,$(LOCAL_PATH)) 18