Merge "Clearer error if module doesn't declare any source files" am: c4343864ed
am: cf9d0cf4dd
Change-Id: I34d9b0a47e985abd94cf1b3574e8839ce2123667
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