1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4# We only want this apk build for tests. 5LOCAL_MODULE_TAGS := tests 6LOCAL_CERTIFICATE := platform 7 8LOCAL_JAVA_LIBRARIES := android.test.runner 9 10LOCAL_STATIC_JAVA_LIBRARIES := \ 11 android-support-test \ 12 espresso-core \ 13 legacy-android-test \ 14 mockito-target-minus-junit4 \ 15 truth-prebuilt \ 16 ub-uiautomator \ 17 18 19# Include all test java files. 20LOCAL_SRC_FILES := $(call all-java-files-under, src) 21 22LOCAL_PACKAGE_NAME := SettingsUnitTests 23LOCAL_COMPATIBILITY_SUITE := device-tests 24 25LOCAL_INSTRUMENTATION_FOR := Settings 26 27include $(BUILD_PACKAGE) 28