Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
tikuta 7854acf73f Fix build/mac_toolchain.py for pylint warning.
* Erase unused variable and unused argument.
* Specify exception type.

BUG=

Review-Url: https://codereview.chromium.org/1971663002
Cr-Original-Commit-Position: refs/heads/master@{#393785}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1a1610f152f2912df8ed06ce576672b55684b215
2016-05-16 02:30:24 +00:00
justincohen 143dcc2b1b Only accept the hermetic toolchain license if newer.
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
2016-05-09 17:50:08 +00:00
justincohen e1a369d93c Add mac toolchain script support to find_sdk script.
`buildbot_chrome_nacl_stage.py` calls directly into find_sdk.py, add support for
mac toolchain there.

BUG=474373
TBR=thakis@chromium.org

Review URL: https://codereview.chromium.org/1840323002

Cr-Original-Commit-Position: refs/heads/master@{#384110}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e47e4cb728589eced95417914a35b84a0f724e22
2016-03-30 22:10:35 +00:00
justincohen cad80e42ba Support bot sudoers for xcode-select and xcodebuild.
BUG=474373

Review URL: https://codereview.chromium.org/1844613004

Cr-Original-Commit-Position: refs/heads/master@{#383869}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 66d5aafd3c7c8e1f18c79dbdcd124ae695ce1bc9
2016-03-29 23:46:52 +00:00
justincohen b0d517ee35 Followup to 'Scripts to upload and update the mac toolchain.'
Incorrectly reverted this file before landing.  Make sure DEVELOPER_DIR
is set before calling in to GYP.

Original CL here: https://codereview.chromium.org/1759793003/

BUG=474373
TBR=thakis@chromium.org

Review URL: https://codereview.chromium.org/1834183002

Cr-Original-Commit-Position: refs/heads/master@{#383497}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e0f8ddf1385487970fb0b6f7677efa54d349d8bf
2016-03-28 15:49:22 +00:00
justincohen 2fe1c5ac03 Scripts to upload and update the mac toolchain.
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
2016-03-26 21:45:51 +00:00