8007524: build-infra: Incremental build of tools.jar broken
authorerikj
Tue, 05 Feb 2013 16:50:05 +0100
changeset 15397 37e73be10c27
parent 15396 57dde7448b3f
child 15398 6bb57fea1027
8007524: build-infra: Incremental build of tools.jar broken Reviewed-by: tbell
common/makefiles/JavaCompilation.gmk
--- a/common/makefiles/JavaCompilation.gmk	Mon Feb 04 11:02:03 2013 +0100
+++ b/common/makefiles/JavaCompilation.gmk	Tue Feb 05 16:50:05 2013 +0100
@@ -143,8 +143,8 @@
     ifneq (,$2)
         $1_DEPS:=$2
     else
-        $1_DEPS:=$$(filter $$(addprefix %,$$($1_FIND_PATTERNS)),\
-                    $$(call CacheFind $$($1_SRCS)))
+        $1_DEPS:=$$(filter $$(addprefix %,$$($1_SUFFIXES)),\
+                    $$(call CacheFind,$$($1_SRCS)))
         ifneq (,$$($1_GREP_INCLUDE_PATTERNS))
             $1_DEPS:=$$(filter $$(addsuffix %,$$($1_GREP_INCLUDE_PATTERNS)),$$($1_DEPS))
         endif