1############################################## 2# Compile Robolectric shadows supportv4 3############################################## 4LOCAL_PATH := $(call my-dir) 5include $(CLEAR_VARS) 6 7LOCAL_MODULE := Robolectric_shadows_supportv4 8 9LOCAL_JAVA_LIBRARIES := \ 10 Robolectric_shadows_framework \ 11 Robolectric_annotations \ 12 Robolectric_robolectric \ 13 Robolectric_shadowapi \ 14 Robolectric_utils \ 15 robolectric-javax.annotation-api-1.2 \ 16 robolectric-host-android-support-v4 \ 17 robolectric-host-android_all 18 19LOCAL_ANNOTATION_PROCESSORS := \ 20 Robolectric_annotations \ 21 Robolectric_processor \ 22 robolectric-asm-commons-6.0 \ 23 robolectric-guava-25.1-jre \ 24 robolectric-asm-tree-6.0 \ 25 robolectric-gson-2.8 \ 26 robolectric-asm-6.0 27 28LOCAL_ANNOTATION_PROCESSOR_CLASSES := org.robolectric.annotation.processing.RobolectricProcessor 29 30LOCAL_JAVACFLAGS := -Aorg.robolectric.annotation.processing.shadowPackage=org.robolectric.shadows.support.v4 31 32LOCAL_SRC_FILES := $(call all-java-files-under, src/main/java) 33 34include $(BUILD_HOST_JAVA_LIBRARY) 35 36############################################## 37# Compile Robolectric shadows supportv4 tests 38############################################## 39include $(CLEAR_VARS) 40 41LOCAL_MODULE := Robolectric_shadows_supportv4_tests 42 43LOCAL_SRC_FILES := $(call all-java-files-under, src/test/java) 44 45LOCAL_JAVA_RESOURCE_DIRS := src/test/resources 46 47LOCAL_JAVA_LIBRARIES := \ 48 Robolectric_shadows_supportv4 \ 49 Robolectric_shadows_framework \ 50 Robolectric_annotations \ 51 Robolectric_robolectric \ 52 Robolectric_resources \ 53 Robolectric_shadowapi \ 54 Robolectric_junit \ 55 Robolectric_utils \ 56 robolectric-accessibility-test-framework-2.1 \ 57 robolectric-host-android-support-v4 \ 58 robolectric-hamcrest-library-1.3 \ 59 robolectric-mockito-core-2.16.0 \ 60 robolectric-hamcrest-core-1.3 \ 61 robolectric-host-android_all \ 62 robolectric-guava-25.1-jre \ 63 robolectric-junit-4.12 \ 64 robolectric-truth-0.42 \ 65 jsr305 66 67include $(BUILD_HOST_JAVA_LIBRARY) 68 69############################################## 70# Execute Robolectric shadows supportv4 tests 71############################################## 72include $(CLEAR_VARS) 73 74LOCAL_MODULE := Run_robolectric_shadows_supportv4_tests 75 76test_source_directory := $(LOCAL_PATH)/src/test/java 77 78test_resources_directory := $(LOCAL_PATH)/src/test/resources 79 80test_runtime_libraries := \ 81 Robolectric_shadows_supportv4_tests \ 82 Robolectric_shadows_supportv4 \ 83 Robolectric_shadows_framework \ 84 Robolectric_annotations \ 85 Robolectric_robolectric \ 86 Robolectric_resources \ 87 Robolectric_shadowapi \ 88 Robolectric_sandbox \ 89 Robolectric_junit \ 90 Robolectric_utils \ 91 robolectric-accessibility-test-framework-2.1 \ 92 robolectric-host-monitor-1.0.2-alpha1 \ 93 robolectric-host-android-support-v4 \ 94 robolectric-byte-buddy-agent-1.6.5 \ 95 robolectric-maven-ant-tasks-2.1.3 \ 96 robolectric-hamcrest-library-1.3 \ 97 robolectric-mockito-core-2.16.0 \ 98 robolectric-bouncycastle-1.46 \ 99 robolectric-hamcrest-core-1.3 \ 100 robolectric-byte-buddy-1.6.5 \ 101 robolectric-host-android_all \ 102 robolectric-asm-commons-6.0 \ 103 robolectric-guava-25.1-jre \ 104 robolectric-objenesis-2.5 \ 105 robolectric-asm-tree-6.0 \ 106 robolectric-junit-4.12 \ 107 robolectric-truth-0.42 \ 108 robolectric-ant-1.8.0 \ 109 robolectric-asm-6.0 \ 110 jsr305 111 112include external/robolectric-shadows/run_robolectric_module_tests.mk 113