Add targets for building individual modules using javac

This is needed in order to be able to run error prone (which is
a plugin replacement for javac) on a subset of the java code.

Bug: 31507496
Test: Build javac-check-core-tests and check the resulting JAR
Change-Id: I5a556920572fcdad7b39d67e3f00fe0e0f1f8f46
This commit is contained in:
Paul Duffin 2016-09-15 14:34:42 +01:00
parent 2fcacb5a22
commit 32bd0adf9c
2 changed files with 2 additions and 0 deletions

View file

@ -73,6 +73,7 @@ $(full_classes_compiled_jar): \
$(transform-host-java-to-package)
javac-check : $(full_classes_compiled_jar)
javac-check-$(LOCAL_MODULE) : $(full_classes_compiled_jar)
# Run jarjar if necessary, otherwise just copy the file.
ifneq ($(strip $(LOCAL_JARJAR_RULES)),)

View file

@ -416,6 +416,7 @@ $(full_classes_compiled_jar): \
$(transform-java-to-classes.jar)
javac-check : $(full_classes_compiled_jar)
javac-check-$(LOCAL_MODULE) : $(full_classes_compiled_jar)
# Run jarjar if necessary, otherwise just copy the file.
ifneq ($(strip $(LOCAL_JARJAR_RULES)),)