forked from openkylin/platform_build
Clearer error if module doesn't declare any source files
Bug: 72552006 Test: Make a module with no source files, run `m -j nothing`, notice that the error tells which module has no sources Change-Id: Ib169e7b3cb86d840a3acd644e42cd1f9f65e1304
This commit is contained in:
parent
e752292f26
commit
960acf1b88
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue