Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 960acf1b authored by Jeff Gaston's avatar Jeff Gaston
Browse files

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
parent e752292f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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