diff options
author | Colin Cross <ccross@android.com> | 2017-04-07 16:30:34 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2017-04-07 16:30:34 -0700 |
commit | d4f3a7089333c6a751bf503a59fef88a1db6df51 (patch) | |
tree | 3bdadaac0531fb1bf420ef68bf0e951e845d6e38 /Android.mk | |
parent | f9755a72c1185f83b822a27845a25644a2d9e641 (diff) | |
download | dagger2-d4f3a7089333c6a751bf503a59fef88a1db6df51.tar.gz |
Replace custom annotation processor handlingandroid-wear-o-preview-4android-wear-o-preview-3android-o-preview-2android-n-iot-preview-4n-iot-preview-4
Use LOCAL_ANNOTATION_PROCESSORS instead of custom annotation
processor handling.
Test: m -j java
Change-Id: Ia01cc51ea8dbe0842145789ef22a278573c1ee6b
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Android.mk b/Android.mk index 21fa4c1dd..deb2fea3c 100644 --- a/Android.mk +++ b/Android.mk @@ -74,24 +74,19 @@ LOCAL_STATIC_JAVA_LIBRARIES := \ dagger2-producers-host \ guavalib -# Disable the default discovery for annotation processors and explicitly specify -# the path and classes needed. This is needed because otherwise it breaks a code -# indexing tool that doesn't, as yet do automatic discovery. -PROCESSOR_LIBRARIES := \ +LOCAL_ANNOTATION_PROCESSORS := \ dagger2-auto-common-host \ dagger2-auto-factory-host \ dagger2-auto-service-host \ dagger2-auto-value-host \ guavalib -PROCESSOR_CLASSES := \ +LOCAL_ANNOTATION_PROCESSOR_CLASSES := \ com.google.auto.factory.processor.AutoFactoryProcessor \ com.google.auto.service.processor.AutoServiceProcessor \ com.google.auto.value.processor.AutoAnnotationProcessor \ com.google.auto.value.processor.AutoValueProcessor -include $(LOCAL_PATH)/java_annotation_processors.mk - LOCAL_JAVA_LANGUAGE_VERSION := 1.7 include $(BUILD_HOST_JAVA_LIBRARY) |