[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: I9339a90c8b08259d96ada5b7dfed7ca8791c1e5b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/190942
Auto-Submit: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
diff --git a/DEPS b/DEPS
index 668e355..80c7e09 100644
--- a/DEPS
+++ b/DEPS
@@ -563,57 +563,6 @@
'-s', 'build/toolchain/win/rc/mac/rc.sha1',
],
},
- # Pull clang-format binaries using checked-in hashes.
- {
- 'name': 'clang_format_win',
- 'pattern': '.',
- 'condition': 'dawn_standalone and host_os == "win"',
- 'action': [ 'python3',
- 'third_party/depot_tools/download_from_google_storage.py',
- '--no_resume',
- '--no_auth',
- '--bucket', 'chromium-clang-format',
- '-s', 'buildtools/win/clang-format.exe.sha1',
- ],
- },
- {
- 'name': 'clang_format_mac_x64',
- 'pattern': '.',
- 'condition': 'dawn_standalone and host_os == "mac" and host_cpu == "x64"',
- 'action': [ 'python3',
- 'third_party/depot_tools/download_from_google_storage.py',
- '--no_resume',
- '--no_auth',
- '--bucket', 'chromium-clang-format',
- '-s', 'buildtools/mac/clang-format.x64.sha1',
- '-o', 'buildtools/mac/clang-format',
- ],
- },
- {
- 'name': 'clang_format_mac_arm64',
- 'pattern': '.',
- 'condition': 'dawn_standalone and host_os == "mac" and host_cpu == "arm64"',
- 'action': [ 'python3',
- 'third_party/depot_tools/download_from_google_storage.py',
- '--no_resume',
- '--no_auth',
- '--bucket', 'chromium-clang-format',
- '-s', 'buildtools/mac/clang-format.arm64.sha1',
- '-o', 'buildtools/mac/clang-format',
- ],
- },
- {
- 'name': 'clang_format_linux',
- 'pattern': '.',
- 'condition': 'dawn_standalone and host_os == "linux"',
- 'action': [ 'python3',
- 'third_party/depot_tools/download_from_google_storage.py',
- '--no_resume',
- '--no_auth',
- '--bucket', 'chromium-clang-format',
- '-s', 'buildtools/linux64/clang-format.sha1',
- ],
- },
# Update build/util/LASTCHANGE.
{
'name': 'lastchange',
@@ -721,3 +670,7 @@
],
},
]
+
+recursedeps = [
+ 'buildtools',
+]