Let assemble_vintf create the output fragments

Instead of checking, then copying the fragments into the out directory,
we pass in the output file and let assemble_vintf create the output
file.

Test: m
Bug: 290265210
Change-Id: I65c2ee826de73b805b48dc95f20c2405250587f8
This commit is contained in:
Devin Moore 2023-07-29 00:21:46 +00:00
parent 9997fdbacf
commit c33aec868b

View file

@ -3203,8 +3203,9 @@ endef
define copy-vintf-manifest-checked
$(2): $(1) $(HOST_OUT_EXECUTABLES)/assemble_vintf
@echo "Copy xml: $$@"
$(hide) $(HOST_OUT_EXECUTABLES)/assemble_vintf -i $$< >/dev/null # Don't print the xml file to stdout.
$$(copy-file-to-target)
$(hide) mkdir -p "$$(dir $$@)"
$(hide) VINTF_IGNORE_TARGET_FCM_VERSION=true\
$(HOST_OUT_EXECUTABLES)/assemble_vintf -i $$< -o $$@
endef
# Copies many vintf manifest files checked.