Adds support for including a root metadata when creating a bundle.
No-Docs-Update-Reason: module in early development.
Change-Id: Ibdced04fd355e8f520d0d3ba6e5cf25276929d72
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/63640
Commit-Queue: Ali Zhang <alizhang@google.com>
Reviewed-by: Joe Ethier <jethier@google.com>
Specifies the targets metadata version when creating an update bundle.
No-Docs-Update-Reason: module in early development
Change-Id: If070da38f7a48b94c282d360ba4af3d8c905f99b
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/63166
Reviewed-by: Joe Ethier <jethier@google.com>
Commit-Queue: Ali Zhang <alizhang@google.com>
This change adds a new GN template called pw_update_bundle that can be
used to easily serialize update bundles as part of a GN build.
In addition, the API for bundle generation is adjusted so that normal
usage is to explicitly state a full mapping of target names to paths
containing payloads rather than giving a directory and masking out
excludes. The directory-ingesting tooling is left in place as a utility
function that can be used to feed into the new API if desired.
Testing: Includes baseline unit test coverage
Requires: pigweed-internal:16380
Change-Id: Ib8f873c436e00acbab5c84c12eaec56ca33ffdce
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/64201
Reviewed-by: Armando Montanez <amontanez@google.com>
Reviewed-by: Ewout van Bekkum <ewout@google.com>
Commit-Queue: Joe Ethier <jethier@google.com>
Testing: Includes baseline unit test coverage
Change-Id: Idb0dfed54cb52e600a5d1acb0002bf051225a84d
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/60043
Commit-Queue: Joe Ethier <jethier@google.com>
Reviewed-by: Ali Zhang <alizhang@google.com>