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