Merge "Add phony target javac-check."
This commit is contained in:
@@ -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)
|
||||
|
@@ -69,6 +69,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)
|
||||
@@ -105,4 +107,3 @@ $(built_javalib_jar): $(full_classes_jarjar_jar) | $(ACP)
|
||||
@echo Copying: $@
|
||||
$(hide) $(ACP) -fp $< $@
|
||||
endif # LOCAL_EMMA_INSTRUMENT
|
||||
|
||||
|
@@ -433,6 +433,8 @@ $(full_classes_compiled_jar): \
|
||||
$(LOCAL_ADDITIONAL_DEPENDENCIES)
|
||||
$(transform-java-to-classes.jar)
|
||||
|
||||
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)
|
||||
|
@@ -1041,6 +1041,9 @@ target-java-tests : java-target-tests
|
||||
target-native-tests : native-target-tests
|
||||
tests : host-tests target-tests
|
||||
|
||||
# Phony target to run all java compilations that use javac instead of jack.
|
||||
.PHONY: javac-check
|
||||
|
||||
# To catch more build breakage, check build tests modules in eng and userdebug builds.
|
||||
ifneq ($(ANDROID_NO_TEST_CHECK),true)
|
||||
ifneq ($(TARGET_BUILD_PDK),true)
|
||||
|
Reference in New Issue
Block a user