1 ############################################# 2 # ManagedProvisioning Robolectric test target. # 3 ############################################# 4 LOCAL_PATH:= $(call my-dir) 5 include $(CLEAR_VARS) 6 7 LOCAL_SRC_FILES := $(call all-java-files-under, src) 8 9 # Include the testing libraries (JUnit4 + Robolectric libs). 10 LOCAL_STATIC_JAVA_LIBRARIES := \ 11 platform-system-robolectric 12 13 LOCAL_JAVA_LIBRARIES := \ 14 junit \ 15 platform-robolectric-prebuilt \ 16 telephony-common 17 18 LOCAL_INSTRUMENTATION_FOR := ManagedProvisioning 19 LOCAL_MODULE := ManagedProvisioningRoboTests 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 := RunManagedProvisioningRoboTests 31 32 LOCAL_SDK_VERSION := current 33 34 LOCAL_STATIC_JAVA_LIBRARIES := \ 35 ManagedProvisioningRoboTests 36 37 LOCAL_TEST_PACKAGE := ManagedProvisioning 38 39 include prebuilts/misc/common/robolectric/run_robotests.mk