Add phony target javac-check.

javac-check covers all classes.jars that are compiled with javac
instead of jack. This target is required by tools that still need java
class files as input.

Bug: 26705771
Change-Id: I6896b9a6026a2a0dae6145d1ef5a839756aa3458
This commit is contained in:
Ying Wang
2016-03-24 11:00:30 -07:00
parent cdc8f21180
commit cddeb6c4f0
4 changed files with 9 additions and 1 deletions

View File

@@ -85,6 +85,8 @@ $(full_classes_compiled_jar): \
$(LOCAL_ADDITIONAL_DEPENDENCIES)
$(transform-host-java-to-package)
javac-check : $(full_classes_compiled_jar)
# Run jarjar if necessary, otherwise just copy the file.
ifneq ($(strip $(LOCAL_JARJAR_RULES)),)
$(full_classes_jarjar_jar): PRIVATE_JARJAR_RULES := $(LOCAL_JARJAR_RULES)