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 LOCAL_CERTIFICATE := platform 7 8 LOCAL_JAVA_LIBRARIES := android.test.runner 9 10 LOCAL_STATIC_JAVA_LIBRARIES := \ 11 android-support-test \ 12 mockito-target \ 13 espresso-core 14 15 # Include all test java files. 16 LOCAL_SRC_FILES := $(call all-java-files-under, src) 17 18 LOCAL_PACKAGE_NAME := SettingsUnitTests 19 20 LOCAL_INSTRUMENTATION_FOR := Settings 21 22 include $(BUILD_PACKAGE) 23