Merge "Fix "posix_spawn: Argument list too long" issue" am: ea935b5ad9
Original change: https://android-review.googlesource.com/c/platform/build/+/2056514 Change-Id: I9c5f05d53de58a7c561f312cd51ebca3d32ebee2 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
dac2c71fbd
|
@ -334,8 +334,9 @@ $(eval _dump_variables_rbc_excluded := \
|
|||
USER \
|
||||
SOONG_% \
|
||||
PRODUCT_COPY_OUT_%)\
|
||||
$(file >$(OUT_DIR)/dump-variables-rbc-temp.txt,$(subst $(space),$(newline),$(filter-out $(_dump_variables_rbc_excluded),$(.VARIABLES))))
|
||||
$(file >$(1),\
|
||||
$(foreach v, $(shell echo $(filter-out $(_dump_variables_rbc_excluded),$(.VARIABLES)) | tr ' ' '\n' | grep -he "^[A-Z][A-Z0-9_]*$$"),\
|
||||
$(foreach v, $(shell grep -he "^[A-Z][A-Z0-9_]*$$" $(OUT_DIR)/dump-variables-rbc-temp.txt),\
|
||||
$(v) := $(strip $($(v)))$(newline))\
|
||||
$(foreach ns,$(SOONG_CONFIG_NAMESPACES),\
|
||||
$(foreach v,$(SOONG_CONFIG_$(ns)),\
|
||||
|
|
Loading…
Reference in New Issue