DEPS: Fix paths to clang-format
The tint -> dawn merge appeared to break these.
Bug: dawn:1339
Change-Id: Ic33a9dbb15ca97b7802894b079a15e7f9b85d83b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/85980
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
diff --git a/DEPS b/DEPS
index 0c13f63..20c30d4 100644
--- a/DEPS
+++ b/DEPS
@@ -256,27 +256,27 @@
},
# Pull clang-format binaries using checked-in hashes.
{
- 'name': 'clang_format_win',
+ 'name': 'clang_format_mac_x64',
'pattern': '.',
- 'condition': 'dawn_standalone and host_os == "win"',
+ 'condition': 'dawn_standalone and host_os == "mac" and host_cpu == "x64"',
'action': [ 'download_from_google_storage',
'--no_resume',
- '--platform=win32',
'--no_auth',
'--bucket', 'chromium-clang-format',
- '-s', 'buildtools/win/clang-format.exe.sha1',
+ '-s', 'buildtools/mac/clang-format.x64.sha1',
+ '-o', 'buildtools/mac/clang-format',
],
},
{
- 'name': 'clang_format_mac',
+ 'name': 'clang_format_mac_arm64',
'pattern': '.',
- 'condition': 'dawn_standalone and host_os == "mac"',
+ 'condition': 'dawn_standalone and host_os == "mac" and host_cpu == "arm64"',
'action': [ 'download_from_google_storage',
'--no_resume',
- '--platform=darwin',
'--no_auth',
'--bucket', 'chromium-clang-format',
- '-s', 'buildtools/mac/clang-format.sha1',
+ '-s', 'buildtools/mac/clang-format.arm64.sha1',
+ '-o', 'buildtools/mac/clang-format',
],
},
{
@@ -285,7 +285,6 @@
'condition': 'dawn_standalone and host_os == "linux"',
'action': [ 'download_from_google_storage',
'--no_resume',
- '--platform=linux*',
'--no_auth',
'--bucket', 'chromium-clang-format',
'-s', 'buildtools/linux64/clang-format.sha1',