DEPS: Download clang-format from hashes in buildtools

Bug: None
Change-Id: I3e7a958afa7aafe06e4cfd3afdcf3243b30e0ff6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/31261
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Corentin Wallez 2020-11-03 18:18:06 +00:00 committed by Commit Bot service account
parent 3bf9f4a2e6
commit 131e619fe4
1 changed files with 34 additions and 0 deletions

34
DEPS
View File

@ -169,6 +169,40 @@ hooks = [
'-s', 'build/toolchain/win/rc/win/rc.exe.sha1', '-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
], ],
}, },
# Pull clang-format binaries using checked-in hashes.
{
'name': 'clang_format_win',
'pattern': '.',
'condition': 'host_os == "win"',
'action': [ 'download_from_google_storage',
'--no_resume',
'--no_auth',
'--bucket', 'chromium-clang-format',
'-s', 'buildtools/win/clang-format.exe.sha1',
],
},
{
'name': 'clang_format_mac',
'pattern': '.',
'condition': 'host_os == "mac"',
'action': [ 'download_from_google_storage',
'--no_resume',
'--no_auth',
'--bucket', 'chromium-clang-format',
'-s', 'buildtools/mac/clang-format.sha1',
],
},
{
'name': 'clang_format_linux',
'pattern': '.',
'condition': 'host_os == "linux"',
'action': [ 'download_from_google_storage',
'--no_resume',
'--no_auth',
'--bucket', 'chromium-clang-format',
'-s', 'buildtools/linux64/clang-format.sha1',
],
},
# Update build/util/LASTCHANGE. # Update build/util/LASTCHANGE.
{ {
'name': 'lastchange', 'name': 'lastchange',