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