#
a37737a2 |
|
10-Apr-2018 |
Roland McGrath <mcgrathr@google.com> |
[prebuilt] Revamp prebuilts scripts/download-prebuilt replaces scripts/download-toolchain and scripts/download-sysroot, which are both now obsolete stubs that warn and exec download-prebuilt. The new script uses CIPD when the tool is available. When not using CIPD, it uses a single file for all the versions (ZIP file SHA1 checksums) rather than the old arrangement of many files in many subdirectories. The new script has --list and --verify modes to describe the state of the installed prebuilts vs the current versions described in the file. The makefile check for stale prebuilts is now done via `scripts/download-prebuilt --verify`. scripts/update-prebuilt-versions automatically maintains the prebuilt/zircon.versions file that drives the (non-CIPD) downloads and the sanity checks. prebuilt/zircon.ensure is maintained by hand to deploy new versions, and then the script must be run to update prebuilt/zircon.versions before commit. ZX-1860 #done TO-937 #done Change-Id: Iaf02d2c5f3bdd81008573cd2939b35f1a450398c
|