make/common/JavaCompilation.gmk
changeset 23169 fdc2570ccbf4
parent 23167 9996c6e2c03a
child 23170 51e606ecede5
--- a/make/common/JavaCompilation.gmk	Tue Mar 11 12:04:50 2014 +0100
+++ b/make/common/JavaCompilation.gmk	Thu Mar 13 17:18:11 2014 +0100
@@ -158,6 +158,10 @@
       $1_DEPS+=$$(call CacheFind,$$(wildcard $$(addsuffix /META-INF,$$($1_SRCS))))
     endif
   endif
+  # The dependency list should never be empty
+  ifeq ($$(strip $$($1_DEPS)), )
+    $$(warning No dependencies found for $1)
+  endif
 
   # Utility macros, to make the shell script receipt somewhat easier to decipher.