mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-14 01:08:01 +08:00
[DEPS] Rely on buildtools recursedep to fetch clang-format
buildtools has first party support to fetch clang-format so no longer needed to use custom hooks. Bug: chromium:336843583 Change-Id: I2c29ad9df579b605ff6e1d967da6502ffcd12faf Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/5586422 Commit-Queue: Josip Sokcevic <sokcevic@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
6d37f81ace
commit
b39cca168f
43
DEPS
43
DEPS
@ -29,7 +29,7 @@ vars = {
|
|||||||
deps = {
|
deps = {
|
||||||
'buildtools':
|
'buildtools':
|
||||||
Var('chromium_git') + '/chromium/src/buildtools.git@' +
|
Var('chromium_git') + '/chromium/src/buildtools.git@' +
|
||||||
'8919328651a559f8a974641d40fe712062cc6718',
|
'efa920ce144e4dc1c1841e73179cd7e23b9f0d5e',
|
||||||
'buildtools/clang_format/script':
|
'buildtools/clang_format/script':
|
||||||
Var('chromium_git') +
|
Var('chromium_git') +
|
||||||
'/external/github.com/llvm/llvm-project/clang/tools/clang-format.git@' +
|
'/external/github.com/llvm/llvm-project/clang/tools/clang-format.git@' +
|
||||||
@ -208,47 +208,6 @@ deps = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
hooks = [
|
hooks = [
|
||||||
{
|
|
||||||
'name': 'clang_format_mac',
|
|
||||||
'pattern': '.',
|
|
||||||
'condition': 'host_os == "mac"',
|
|
||||||
'action': [
|
|
||||||
'download_from_google_storage',
|
|
||||||
'--no_resume',
|
|
||||||
'--no_auth',
|
|
||||||
'--bucket=chromium-clang-format',
|
|
||||||
'--sha1_file',
|
|
||||||
'buildtools/mac/clang-format.{host_cpu}.sha1',
|
|
||||||
'--output',
|
|
||||||
'buildtools/mac/clang-format',
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'name': 'clang_format_linux',
|
|
||||||
'pattern': '.',
|
|
||||||
'condition': 'host_os == "linux"',
|
|
||||||
'action': [
|
|
||||||
'download_from_google_storage',
|
|
||||||
'--no_resume',
|
|
||||||
'--no_auth',
|
|
||||||
'--bucket=chromium-clang-format',
|
|
||||||
'--sha1_file',
|
|
||||||
'buildtools/linux64/clang-format.sha1',
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'name': 'clang_format_win',
|
|
||||||
'pattern': '.',
|
|
||||||
'condition': 'host_os == "win"',
|
|
||||||
'action': [
|
|
||||||
'download_from_google_storage',
|
|
||||||
'--no_resume',
|
|
||||||
'--no_auth',
|
|
||||||
'--bucket=chromium-clang-format',
|
|
||||||
'--sha1_file',
|
|
||||||
'buildtools/win/clang-format.exe.sha1',
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
# If using a local clang ("pull_linux_clang" above), also pull down a
|
# If using a local clang ("pull_linux_clang" above), also pull down a
|
||||||
# sysroot.
|
# sysroot.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user