1############################################# 2# Settings Robolectric test target. # 3############################################# 4LOCAL_PATH := $(call my-dir) 5include $(CLEAR_VARS) 6 7LOCAL_MODULE := SettingsRoboTests 8 9LOCAL_SRC_FILES := $(call all-java-files-under, src) 10 11LOCAL_JAVA_RESOURCE_DIRS := config 12 13LOCAL_JAVA_LIBRARIES := \ 14 robolectric_android-all-stub \ 15 Robolectric_all-target \ 16 mockito-robolectric-prebuilt \ 17 truth-prebuilt 18 19LOCAL_INSTRUMENTATION_FOR := Settings 20 21LOCAL_MODULE_TAGS := optional 22 23include $(BUILD_STATIC_JAVA_LIBRARY) 24 25############################################################# 26# Settings runner target to run the previous target. # 27############################################################# 28include $(CLEAR_VARS) 29 30LOCAL_MODULE := RunSettingsRoboTests 31 32LOCAL_JAVA_LIBRARIES := \ 33 SettingsRoboTests \ 34 robolectric_android-all-stub \ 35 Robolectric_all-target \ 36 mockito-robolectric-prebuilt \ 37 truth-prebuilt 38 39LOCAL_TEST_PACKAGE := Settings 40 41LOCAL_INSTRUMENT_SOURCE_DIRS := $(dir $(LOCAL_PATH))../src 42 43LOCAL_ROBOTEST_TIMEOUT := 36000 44 45include external/robolectric-shadows/run_robotests.mk