From 0678a34f05bbbcee7b16a29fa8aefae91e5bf359 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Mon, 7 Dec 2015 13:06:04 +0000 Subject: Removed unnecessary disabling of Jack The annotation processor only works on host at the moment and as Jack is not used for the host build disabling jack, using LOCAL_JAVA_ENABLED := disabled is unnecessary so any references to it will be removed. Change-Id: I950ae221173dfe6fa6ae98d73cda6b98dcf07943 --- Android.mk | 1 - java_annotation_processors.mk | 2 -- 2 files changed, 3 deletions(-) diff --git a/Android.mk b/Android.mk index 08419f01d..cc57c5fc8 100644 --- a/Android.mk +++ b/Android.mk @@ -28,7 +28,6 @@ LOCAL_JAVA_LIBRARIES := \ dagger2-inject-host \ guavalib -#LOCAL_JACK_ENABLED := disabled include $(BUILD_HOST_JAVA_LIBRARY) # build dagger2 producers host jar diff --git a/java_annotation_processors.mk b/java_annotation_processors.mk index 18ef29ba1..22ff02087 100644 --- a/java_annotation_processors.mk +++ b/java_annotation_processors.mk @@ -59,8 +59,6 @@ LOCAL_ADDITIONAL_DEPENDENCIES += $(PROCESSOR_JARS) $(GENERATED_SOURCE_DIR) $(GENERATED_SOURCE_DIR): mkdir -p $@ -LOCAL_JACK_ENABLED := disabled - # Clean up all the extra variables to make sure that they don't escape to # another module. PROCESSOR_LIBRARIES := -- cgit v1.2.3