win: Add optional cipd pull of Windows toolchain package

Requires
https://chromium-review.googlesource.com/c/chromium/mini_chromium/+/1110347
to get used.

Bug: crashpad:236
Change-Id: I0e6178b68959e3995ace65d5109380b3ce1d8158
Reviewed-on: https://chromium-review.googlesource.com/1110346
Reviewed-by: Joshua Peraza <jperaza@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
This commit is contained in:
Scott Graham 2018-06-21 10:37:32 -07:00 committed by Commit Bot
parent c0a0d70a2b
commit fec77b7593

20
DEPS
View File

@ -14,7 +14,8 @@
vars = {
'chromium_git': 'https://chromium.googlesource.com',
'pull_linux_clang': False
'pull_linux_clang': False,
'pull_win_toolchain': False
}
deps = {
@ -231,6 +232,23 @@ hooks = [
'-log-level', 'info',
],
},
{
'name': 'toolchain_win',
'pattern': '.',
# This package is only updated when the solution in .gclient includes an
# entry like:
# "custom_vars": { "pull_win_toolchain": True }
# This is because the contained bits are not redistributable.
'condition': 'checkout_win and pull_win_toolchain',
'action': [
'cipd',
'install',
'chrome_internal/third_party/sdk/windows',
'uploaded:2018-06-13',
'-root', 'crashpad/third_party/win',
'-log-level', 'info',
],
},
{
'name': 'gyp',
'pattern': '\.gypi?$',