# HG changeset patch # User erikj # Date 1360079405 -3600 # Node ID d3d9ab8ee7b00fd2182c42e2a90689d745f37296 # Parent dea045cc48ca3538af696c86ed7e490f42f72f6c 8007524: build-infra: Incremental build of tools.jar broken Reviewed-by: tbell diff -r dea045cc48ca -r d3d9ab8ee7b0 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