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