Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c33aec86 authored by Devin Moore's avatar Devin Moore
Browse files

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
parent 9997fdba
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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.