Commit 620fe1c5 authored by Alex Ames's avatar Alex Ames Committed by Android (Google) Code Review

Merge "Call $(strip) on parameters so newlines work." into ub-games-master

parents da0f096b 69dae327
...@@ -162,10 +162,12 @@ endef ...@@ -162,10 +162,12 @@ endef
# $(MY_PROJ_SCHEMA_INCLUDE_DIRS),$(LOCAL_SRC_FILES)) # $(MY_PROJ_SCHEMA_INCLUDE_DIRS),$(LOCAL_SRC_FILES))
define flatbuffers_header_build_rules define flatbuffers_header_build_rules
$(foreach schema,$(1),\ $(foreach schema,$(1),\
$(call flatbuffers_header_build_rule,$(schema),$(2),$(3),$(4)))\ $(call flatbuffers_header_build_rule,\
$(foreach src,$(5),\ $(schema),$(strip $(2)),$(strip $(3)),$(strip $(4))))\
$(foreach src,$(strip $(5)),\
$(eval $(LOCAL_PATH)/$$(src): \ $(eval $(LOCAL_PATH)/$$(src): \
$(foreach schema,$(1),$(call flatbuffers_fbs_to_h,$(2),$(3),$(schema))))) $(foreach schema,$(strip $(1)),\
$(call flatbuffers_fbs_to_h,$(strip $(2)),$(strip $(3)),$(schema)))))
endef endef
endif # FLATBUFFERS_INCLUDE_MK_ endif # FLATBUFFERS_INCLUDE_MK_
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment