############################################## # Compile Robolectric shadows playservices ############################################## LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := Robolectric_shadows_playservices LOCAL_JAVA_LIBRARIES := \ Robolectric_shadows_framework \ Robolectric_annotations \ Robolectric_shadowapi \ robolectric-javax.annotation-api-1.2 \ robolectric-host-android-support-v4 \ robolectric-host-android_all \ robolectric-guava-25.1-jre LOCAL_ANNOTATION_PROCESSORS := \ Robolectric_annotations \ Robolectric_processor \ robolectric-asm-commons-6.0 \ robolectric-guava-25.1-jre \ robolectric-asm-tree-6.0 \ robolectric-gson-2.8 \ robolectric-asm-6.0 LOCAL_ANNOTATION_PROCESSOR_CLASSES := org.robolectric.annotation.processing.RobolectricProcessor LOCAL_JAVACFLAGS := -Aorg.robolectric.annotation.processing.shadowPackage=org.robolectric.shadows.gms LOCAL_SRC_FILES := $(call all-java-files-under, src/main/java) #include $(BUILD_HOST_JAVA_LIBRARY)