Index: DEPS |
diff --git a/DEPS b/DEPS |
index 3b25263d8750fcb87436ed94163598a5c823b160..7393d26cf8be412f72763c45b9fac7e00f799391 100644 |
--- a/DEPS |
+++ b/DEPS |
@@ -703,6 +703,40 @@ hooks = [ |
"-s", "src/tools/gn/bin/linux/gn32.sha1", |
], |
}, |
+ # Pull clang-format binaries using checked-in hashes. |
+ { |
+ "name": "clang_format_win", |
+ "pattern": "src/third_party/clang_format/bin/win/clang-format.exe.sha1", |
+ "action": [ "download_from_google_storage", |
+ "--no_resume", |
+ "--platform=win32", |
+ "--no_auth", |
+ "--bucket", "chromium-clang-format", |
+ "-s", "src/third_party/clang_format/bin/win/clang-format.exe.sha1", |
+ ], |
+ }, |
+ { |
+ "name": "clang_format_mac", |
+ "pattern": "src/third_party/clang_format/bin/mac/clang-format.sha1", |
+ "action": [ "download_from_google_storage", |
+ "--no_resume", |
+ "--platform=darwin", |
+ "--no_auth", |
+ "--bucket", "chromium-clang-format", |
+ "-s", "src/third_party/clang_format/bin/mac/clang-format.sha1", |
+ ], |
+ }, |
+ { |
+ "name": "clang_format_linux", |
+ "pattern": "src/third_party/clang_format/bin/linux/clang-format.sha1", |
+ "action": [ "download_from_google_storage", |
+ "--no_resume", |
+ "--platform=linux*", |
+ "--no_auth", |
+ "--bucket", "chromium-clang-format", |
+ "-s", "src/third_party/clang_format/bin/linux/clang-format.sha1", |
+ ], |
+ }, |
{ |
# A change to a .gyp, .gypi, or to GYP itself should run the generator. |
"name": "gyp", |