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_STATIC_JAVA_LIBRARIES := mockwebserver 12 LOCAL_PACKAGE_NAME := DownloadProviderTests 13 LOCAL_CERTIFICATE := media 14 15 include $(BUILD_PACKAGE) 16 17 # additionally, build sub-tests in a separate .apk 18 include $(call all-makefiles-under,$(LOCAL_PATH)) 19