Merge "Clearer error if module doesn't declare any source files"
am: c4343864ed
Change-Id: If77ec73bc0553720c8560093c8d30eee978e315f
This commit is contained in:
@@ -383,7 +383,7 @@ include $(BUILD_SYSTEM)/dex_preopt_odex_install.mk
|
|||||||
# Make sure there's something to build.
|
# Make sure there's something to build.
|
||||||
ifdef full_classes_jar
|
ifdef full_classes_jar
|
||||||
ifndef need_compile_java
|
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
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user