1 ############################################## 2 # Compile Robolectric shadows multidex 3 ############################################## 4 LOCAL_PATH := $(call my-dir) 5 include $(CLEAR_VARS) 6 7 LOCAL_MODULE := Robolectric_shadows_multidex 8 9 LOCAL_JAVA_LIBRARIES := \ 10 Robolectric_annotations \ 11 Robolectric_shadowapi \ 12 robolectric-host-android-support-multidex \ 13 robolectric-javax.annotation-api-1.2 \ 14 robolectric-host-android_all 15 16 LOCAL_ANNOTATION_PROCESSORS := \ 17 Robolectric_annotations \ 18 Robolectric_processor \ 19 robolectric-asm-commons-6.0 \ 20 robolectric-guava-25.1-jre \ 21 robolectric-asm-tree-6.0 \ 22 robolectric-gson-2.8 \ 23 robolectric-asm-6.0 24 25 LOCAL_ANNOTATION_PROCESSOR_CLASSES := org.robolectric.annotation.processing.RobolectricProcessor 26 27 LOCAL_JAVACFLAGS := -Aorg.robolectric.annotation.processing.shadowPackage=org.robolectric.shadows.multidex 28 29 LOCAL_SRC_FILES := $(call all-java-files-under, src/main/java) 30 31 include $(BUILD_HOST_JAVA_LIBRARY)