Accepting an older license will break newer toolchains. Check if a bot's
last agreed to toolchain is newer. If it's older, accept the hermetic toolchain.
BUG=
Review-Url: https://codereview.chromium.org/1956073003
Cr-Original-Commit-Position: refs/heads/master@{#392356}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 10dc9038e9e0e42efa7a53c4f6857a6749ceea0b
The following two scripts allow for the update and roll of the mac
toolchain (Xcode) via DEPS instead of thru an infrastructure install
script. The upload / download nature of the script follows somewhat
what Windows does with visual studio files and what Mac already does
for clang rolls.
build/package_mac_toolchain.py takes an Xcode.app directory
and packages up what the parts the Mac build uses into a tar file
and uploads it to gs://chrome-mac-sdk/
build/mac_toolchain.py runs as part of hooks, downloads
and decompresses the mac toolchain, and points system files to this
new directory with the DEVELOPER_DIR environment variable.
Setting DEVELOPER_DIR throughout gyp-ninja requires this GYP CL:
https://codereview.chromium.org/1806733002/
BUG=474373
Review URL: https://codereview.chromium.org/1759793003
Cr-Original-Commit-Position: refs/heads/master@{#383461}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6a03a3dc9196b4474e7f5c08803f076a95055b44