Add Soong android_app and android_test modules to javac-check

android_app and android_test modules were not built as part of
javac-check, which resulted in not running them in the Error Prone
build.

Fixes: 146455923
Test: m RUN_ERROR_PRONE=true javac-check
Change-Id: I278d7ee0cdc3f49aa8fa4d4f13309e29d700f2ba
This commit is contained in:
Colin Cross
2019-12-30 22:08:07 -08:00
parent 4506b17dd3
commit 8e28a17bfe

View File

@@ -41,6 +41,10 @@ ifdef LOCAL_SOONG_CLASSES_JAR
$(eval $(call copy-one-file,$(full_classes_jar),$(full_classes_header_jar)))
endif
endif # TURBINE_ENABLED != false
javac-check : $(full_classes_jar)
javac-check-$(LOCAL_MODULE) : $(full_classes_jar)
.PHONY: javac-check-$(LOCAL_MODULE)
endif
# Run veridex on product, system_ext and vendor modules.