Merge "Clearer error if module doesn't declare any source files"

am: c4343864ed

Change-Id: If77ec73bc0553720c8560093c8d30eee978e315f
This commit is contained in:
Jeff Gaston
2018-02-28 16:36:03 +00:00
committed by android-build-merger

View File

@@ -383,7 +383,7 @@ include $(BUILD_SYSTEM)/dex_preopt_odex_install.mk
# Make sure there's something to build.
ifdef full_classes_jar
ifndef need_compile_java
$(error $(LOCAL_PATH): Target java module does not define any source or resource files)
$(call pretty-error,Target java module does not define any source or resource files)
endif
endif