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:
parent
2fcacb5a22
commit
32bd0adf9c
2 changed files with 2 additions and 0 deletions
|
@ -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)),)
|
||||
|
|
|
@ -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)),)
|
||||
|
|
Loading…
Reference in a new issue