1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4# We only want this apk build for tests. 5LOCAL_MODULE_TAGS := tests 6 7LOCAL_JAVA_LIBRARIES := android.test.runner android.test.base android.test.mock 8 9LOCAL_STATIC_JAVA_LIBRARIES := \ 10 androidx.test.rules \ 11 mockito-target 12 13# Include all test java files. 14LOCAL_SRC_FILES := $(call all-java-files-under, src) 15 16LOCAL_PACKAGE_NAME := StorageManagerUnitTests 17LOCAL_PRIVATE_PLATFORM_APIS := true 18 19LOCAL_INSTRUMENTATION_FOR := StorageManager 20 21include $(BUILD_PACKAGE) 22