This reverts commit 3d6123e3472d61f05d7a7937dc9b6bb414e6e933.
Reason for revert: Broke official desktop continuous builder, at least for Fuchsia (see https://crbug.com/1070174).
Original change's description:
> [cipd] Refactor CIPD template
>
> Currently, a CIPD staging directory is populated by copying specified
> `sources` into it, and producing a .yaml manifest which reflects the
> copied files.
>
> This change refactors the template to invoke a pytho script to do the
> above instead of in GN, using the `yaml` library to write the file data
> in the proper format.
>
> Also make the license filepath explicitly passed through sources.
>
> Renames "archive" -> "package" and "manifest" -> "package definition" to
> be consistent with CIPD semantics (crbug.com/1042819#c8).
>
> Finally, have the script emit a depfile for all files tracked by the
> .yaml manifest.
>
> This refactor is desirable, as we want to create CIPD packages with more
> complicated rules than simply "copy and include these files" (see
> crrev.com/c/1925446, which extends the functionality of the template to
> allow for the inclusion of directories). Wriiting yamls with a library
> reduces the error-proneness of trying to recreate yaml's format in pure
> GN.
>
> Also, emitting a depfile ensure that we track and rebuild if the CIPD
> package is modified.
>
> Currently the potential danger of this change is limited in scope to
> fuchsia, as they are the only users of the template. I've checked
> locally that the produced CIPD packages for fuchsia are identical prior
> to this change.
>
> Bug: fuchsia:41443
> Change-Id: If1b27d6a8fbbffdf767aaa4230bf7b527a553170
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2135186
> Commit-Queue: Anthony Fandrianto <atyfto@google.com>
> Reviewed-by: Bruce Dawson <brucedawson@chromium.org>
> Reviewed-by: Kevin Marshall <kmarshall@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#758433}
TBR=kmarshall@chromium.org,brucedawson@chromium.org,joshuaseaton@google.com,atyfto@google.com
Change-Id: I68f850f43ca121c3dfb7f87d0ec68e7f96448d94
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: fuchsia:41443
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2144183
Reviewed-by: Wez <wez@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#758489}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e9ca13dea7f7f50903c3e9c2f63867bd4445eb5f