You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
879 B
26 lines
879 B
LOCAL_PATH := $(call my-dir) |
|
|
|
include $(CLEAR_VARS) |
|
LOCAL_MODULE := desugar |
|
LOCAL_SRC_FILES := $(call all-java-files-under, java) |
|
LOCAL_JAR_MANIFEST := manifest.txt |
|
LOCAL_STATIC_JAVA_LIBRARIES := \ |
|
asm-5.2 \ |
|
asm-commons-5.2 \ |
|
asm-tree-5.2 \ |
|
error_prone_annotations-2.0.18 \ |
|
guava-20.0 \ |
|
jsr305-3.0.1 \ |
|
dagger2-auto-value-host \ |
|
|
|
LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
|
LOCAL_IS_HOST_MODULE := true |
|
# Required for use of javax.annotation.Generated per http://b/62050818 |
|
LOCAL_JAVACFLAGS := $(if $(EXPERIMENTAL_USE_OPENJDK9),-J--add-modules=java.xml.ws.annotation,) |
|
|
|
# Use Dagger2 annotation processor |
|
# b/25860419: annotation processors must be explicitly specified for grok |
|
LOCAL_ANNOTATION_PROCESSORS := dagger2-auto-value-host |
|
LOCAL_ANNOTATION_PROCESSOR_CLASSES := com.google.auto.value.processor.AutoValueProcessor |
|
|
|
include $(BUILD_HOST_JAVA_LIBRARY)
|
|
|