Pull go toolchain for all host types

To be used to build replacement http test server.

Bug: crashpad:227, crashpad:196, crashpad:30
Change-Id: I8bdd33a629d98af8b149bd83a11edb5965ad6e76
Reviewed-on: https://chromium-review.googlesource.com/1011653
Reviewed-by: Robert Sesek <rsesek@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
This commit is contained in:
Scott Graham 2018-04-13 10:20:47 -07:00 committed by Commit Bot
parent eca0ea8427
commit ca2d7e776a
2 changed files with 40 additions and 0 deletions

1
.gitignore vendored
View File

@ -18,6 +18,7 @@
/third_party/linux/.cipd
/third_party/linux/clang
/third_party/linux/sysroot
/third_party/go
/third_party/gyp/gyp
/third_party/mini_chromium/mini_chromium
/third_party/zlib/zlib

39
DEPS
View File

@ -114,6 +114,45 @@ hooks = [
'buildtools/win/gn.exe.sha1',
],
},
{
'name': 'go_toolchain_mac',
'condition': 'host_os == "mac"',
'pattern': '.',
'action': [
'cipd',
'install',
'infra/go/mac-amd64',
'latest',
'-root', 'crashpad/third_party/go/mac-amd64',
'-log-level', 'info',
],
},
{
'name': 'go_toolchain_linux',
'condition': 'host_os == "linux"',
'pattern': '.',
'action': [
'cipd',
'install',
'infra/go/linux-amd64',
'latest',
'-root', 'crashpad/third_party/go/linux-amd64',
'-log-level', 'info',
],
},
{
'name': 'go_toolchain_win',
'condition': 'host_os == "win"',
'pattern': '.',
'action': [
'cipd',
'install',
'infra/go/windows-amd64',
'latest',
'-root', 'crashpad/third_party/go/windows-amd64',
'-log-level', 'info',
],
},
{
# This uses “cipd install” so that mac-amd64 and linux-amd64 can coexist
# peacefully. “cipd ensure” would remove the macOS package when running on a