aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2015-12-07 13:06:04 +0000
committerPaul Duffin <paulduffin@google.com>2015-12-07 13:06:04 +0000
commit0678a34f05bbbcee7b16a29fa8aefae91e5bf359 (patch)
tree5fa05e54e0928f5dc5c6ba79b8affe10dbe4aa1f
parent87182e06b8f6ec9a11ed6ebcaf74444e79b18ae2 (diff)
downloaddagger2-0678a34f05bbbcee7b16a29fa8aefae91e5bf359.tar.gz
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
-rw-r--r--Android.mk1
-rw-r--r--java_annotation_processors.mk2
2 files changed, 0 insertions, 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 :=