From b39cca168f29926da8788e74ca78fef881f59031 Mon Sep 17 00:00:00 2001 From: Josip Sokcevic Date: Thu, 30 May 2024 22:29:44 +0000 Subject: [PATCH] [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 Reviewed-by: Mark Mentovai --- DEPS | 43 +------------------------------------------ 1 file changed, 1 insertion(+), 42 deletions(-) diff --git a/DEPS b/DEPS index db510159..2fa446b2 100644 --- a/DEPS +++ b/DEPS @@ -29,7 +29,7 @@ vars = { deps = { 'buildtools': Var('chromium_git') + '/chromium/src/buildtools.git@' + - '8919328651a559f8a974641d40fe712062cc6718', + 'efa920ce144e4dc1c1841e73179cd7e23b9f0d5e', 'buildtools/clang_format/script': Var('chromium_git') + '/external/github.com/llvm/llvm-project/clang/tools/clang-format.git@' + @@ -208,47 +208,6 @@ deps = { } 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 # sysroot.