comparison common/makefiles/IdlCompilation.gmk @ 15051:d32ad37472e6

8005540: build-infra: Improve incremental build speed on windows by caching find results Reviewed-by: ohair
author erikj
date Thu, 27 Dec 2012 20:18:21 +0100
parents 2a82ecb35fc7
children 28d8aefeedd3
comparison
equal deleted inserted replaced
3:5e76d953718c 4:70607e6ce00d
85 85
86 # Remove any relative addressing in the paths. 86 # Remove any relative addressing in the paths.
87 $1_SRC := $$(abspath $$($1_SRC)) 87 $1_SRC := $$(abspath $$($1_SRC))
88 $1_BIN := $$(abspath $$($1_BIN)) 88 $1_BIN := $$(abspath $$($1_BIN))
89 # Find all existing java files and existing class files. 89 # Find all existing java files and existing class files.
90 $$(shell $(MKDIR) -p $$($1_SRC) $$($1_BIN)) 90 $$(eval $$(call MakeDir,$$($1_BIN)))
91 $1_SRCS := $$(shell find $$($1_SRC) -name "*.idl") 91 $1_SRCS := $$(shell find $$($1_SRC) -name "*.idl")
92 $1_BINS := $$(shell find $$($1_BIN) -name "*.java") 92 $1_BINS := $$(shell find $$($1_BIN) -name "*.java")
93 # Prepend the source/bin path to the filter expressions. 93 # Prepend the source/bin path to the filter expressions.
94 $1_SRC_INCLUDES := $$(addprefix $$($1_SRC)/,$$($1_INCLUDES)) 94 $1_SRC_INCLUDES := $$(addprefix $$($1_SRC)/,$$($1_INCLUDES))
95 $1_SRC_EXCLUDES := $$(addprefix $$($1_SRC)/,$$($1_EXCLUDES)) 95 $1_SRC_EXCLUDES := $$(addprefix $$($1_SRC)/,$$($1_EXCLUDES))