changeset 609:d3d9ab8ee7b0

8007524: build-infra: Incremental build of tools.jar broken Reviewed-by: tbell
author erikj
date Tue, 05 Feb 2013 16:50:05 +0100
parents dea045cc48ca
children 278af9fc67e7
files common/makefiles/JavaCompilation.gmk
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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