Home | History | Annotate | Download | only in playservices
      1 ##############################################
      2 # Compile Robolectric shadows playservices
      3 ##############################################
      4 LOCAL_PATH := $(call my-dir)
      5 include $(CLEAR_VARS)
      6 
      7 LOCAL_MODULE := Robolectric_shadows_playservices
      8 
      9 LOCAL_JAVA_LIBRARIES := \
     10   Robolectric_shadows_framework \
     11   Robolectric_annotations \
     12   Robolectric_shadowapi \
     13   robolectric-host-android-support-v4 \
     14   robolectric-host-android_all \
     15   robolectric-guava-20.0 \
     16   robolectric-javax.annotation-api-1.2
     17 
     18 LOCAL_ANNOTATION_PROCESSORS := \
     19   Robolectric_annotations \
     20   Robolectric_processor \
     21   robolectric-guava-20.0 \
     22   robolectric-gson-2.8
     23 
     24 LOCAL_ANNOTATION_PROCESSOR_CLASSES := org.robolectric.annotation.processing.RobolectricProcessor
     25 
     26 LOCAL_JAVACFLAGS := -Aorg.robolectric.annotation.processing.shadowPackage=org.robolectric.shadows.gms
     27 
     28 LOCAL_SRC_FILES := $(call all-java-files-under, src/main/java)
     29 
     30 #include $(BUILD_HOST_JAVA_LIBRARY)