Makefile文件  |  30行  |  931 B

##############################################
# 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-host-android-support-v4 \
  robolectric-host-android_all \
  robolectric-guava-20.0 \
  robolectric-javax.annotation-api-1.2

LOCAL_ANNOTATION_PROCESSORS := \
  Robolectric_annotations \
  Robolectric_processor \
  robolectric-guava-20.0 \
  robolectric-gson-2.8

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)