86 # BIN |
86 # BIN |
87 # INCLUDES |
87 # INCLUDES |
88 # EXCLUDES |
88 # EXCLUDES |
89 # OLDIMPLBASES |
89 # OLDIMPLBASES |
90 # DELETES |
90 # DELETES |
91 define SetupIdlCompilation |
91 SetupIdlCompilation = $(NamedParamsMacroTemplate) |
92 $(if $(16),$(error Internal makefile error: Too many arguments to SetupIdlCompilation, please update IdlCompilation.gmk)) |
92 define SetupIdlCompilationBody |
93 $(call EvalDebugWrapper,$(strip $1),$(call SetupIdlCompilationInner,$(strip $1),$2,$3,$4,$5,$6,$7,$8,$9,$(10),$(11),$(12),$(13),$(14),$(15))) |
|
94 endef |
|
95 |
|
96 define SetupIdlCompilationInner |
|
97 $(foreach i,2 3 4 5 6 7 8 9 10 11 12 13 14 15, $(if $(strip $($i)),$1_$(strip $($i)))$(NEWLINE)) |
|
98 $(call LogSetupMacroEntry,SetupIdlCompilation($1),$2,$3,$4,$5,$6,$7,$8,$9,$(10),$(11),$(12),$(13),$(14),$(15)) |
|
99 $(if $(16),$(error Internal makefile error: Too many arguments to SetupIdlCompilation, please update IdlCompilation.gmk)) |
|
100 |
93 |
101 # Find all existing java files and existing class files. |
94 # Find all existing java files and existing class files. |
102 $$(call MakeDir,$$($1_BIN)) |
95 $$(call MakeDir,$$($1_BIN)) |
103 $1_SRCS := $$(shell find $$($1_SRC) -name "*.idl") |
96 $1_SRCS := $$(shell find $$($1_SRC) -name "*.idl") |
104 $1_BINS := $$(shell find $$($1_BIN) -name "*.java") |
97 $1_BINS := $$(shell find $$($1_BIN) -name "*.java") |