Download clang-format and gn tools for Linux build hosts from DEPS hooks

This will make “git cl format” work in Crashpad on Linux.

BUG=crashpad:30

Change-Id: I3f356b46d93707419a229ae40b1387bb7629bb39
Reviewed-on: https://chromium-review.googlesource.com/448056
Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
Mark Mentovai 2017-02-28 13:52:31 -05:00
parent 1dcd45ab75
commit c73aebc7da

26
DEPS
View File

@ -71,6 +71,19 @@ hooks = [
'buildtools/win/clang-format.exe.sha1',
],
},
{
'name': 'clang_format_linux',
'pattern': '.',
'action': [
'download_from_google_storage',
'--platform=^linux2?$',
'--no_resume',
'--no_auth',
'--bucket=chromium-clang-format',
'--sha1_file',
'buildtools/linux64/clang-format.sha1',
],
},
{
'name': 'gn_mac',
'pattern': '.',
@ -97,6 +110,19 @@ hooks = [
'buildtools/win/gn.exe.sha1',
],
},
{
'name': 'gn_linux',
'pattern': '.',
'action': [
'download_from_google_storage',
'--platform=^linux2?$',
'--no_resume',
'--no_auth',
'--bucket=chromium-gn',
'--sha1_file',
'buildtools/linux64/gn.sha1',
],
},
{
'name': 'gyp',
'pattern': '\.gypi?$',