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 8 9LOCAL_STATIC_JAVA_LIBRARIES := \ 10 androidx.test.rules \ 11 mockito-target \ 12 androidx.test.espresso.core \ 13 androidx.test.espresso.contrib-nodeps \ 14 androidx.test.espresso.intents-nodeps \ 15 truth-prebuilt 16 17# Include all test java files. 18LOCAL_SRC_FILES := $(call all-java-files-under, src) 19 20LOCAL_PACKAGE_NAME := StorageManagerAppTests 21LOCAL_PRIVATE_PLATFORM_APIS := true 22 23LOCAL_INSTRUMENTATION_FOR := StorageManager 24 25include $(BUILD_PACKAGE) 26