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