diff options
author | Paul Duffin <paulduffin@google.com> | 2015-11-24 16:11:12 +0000 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2015-11-24 16:11:12 +0000 |
commit | a2ccde746386fc817c16d7656c74a5bb8a25c37d (patch) | |
tree | 4293c0f4a673bff4b2ec9f81ec1a86cabecd991a | |
parent | 32e4569b127e4cbcdbd41cba885b4ce90ca02698 (diff) | |
download | dagger2-a2ccde746386fc817c16d7656c74a5bb8a25c37d.tar.gz |
Use a -processor option per processor class
The code indexing tool does not parse the value of the
-processor option as a comma separated list so use one class per
option.
Change-Id: I3fc1f953ca39fe1e5b00af6e7cc88cc38caa80f5
-rw-r--r-- | Android.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk index 706982d23..f88f64120 100644 --- a/Android.mk +++ b/Android.mk @@ -88,7 +88,10 @@ PROCESSOR_CLASSES := \ LOCAL_JAVACFLAGS += -processorpath $(subst $(space),:,$(strip $(PROCESSOR_JARS))) -LOCAL_JAVACFLAGS += -processor $(subst $(space),$(comma),$(strip $(PROCESSOR_CLASSES))) +# Specify only one processor class per -processor option as +# the indexing tool does not parse the -processor value as a +# comma separated list. +LOCAL_JAVACFLAGS += $(foreach class,$(PROCESSOR_CLASSES),-processor $(class)) #LOCAL_JACK_ENABLED := disabled include $(BUILD_HOST_JAVA_LIBRARY) |