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 := \ 12 mockwebserver \ 13 mockito-target \ 14 legacy-android-test 15LOCAL_PACKAGE_NAME := DownloadProviderTests 16LOCAL_COMPATIBILITY_SUITE := device-tests 17LOCAL_CERTIFICATE := media 18 19include $(BUILD_PACKAGE) 20 21# additionally, build sub-tests in a separate .apk 22include $(call all-makefiles-under,$(LOCAL_PATH)) 23