diff --git a/core/host_java_library.mk b/core/host_java_library.mk index 0a7dd8a65..cc26d7cc9 100644 --- a/core/host_java_library.mk +++ b/core/host_java_library.mk @@ -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)),) diff --git a/core/java.mk b/core/java.mk index e505ffb41..606b474c1 100644 --- a/core/java.mk +++ b/core/java.mk @@ -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)),)