Index: DEPS |
diff --git a/DEPS b/DEPS |
index 63878905372177880cfc64ecead10e1934913bdf..3103fff06b7de0fd937328deabde109c9c36a2b0 100644 |
--- a/DEPS |
+++ b/DEPS |
@@ -42,4 +42,38 @@ hooks = [ |
'pattern': '.', |
'action': ['python', 'build/gyp_pdfium'], |
}, |
-] |
+ # Pull clang-format binaries using checked-in hashes. |
+ { |
+ 'name': 'clang_format_win', |
+ 'pattern': '.', |
+ 'action': [ 'download_from_google_storage', |
+ '--no_resume', |
+ '--platform=win32', |
+ '--no_auth', |
+ '--bucket', 'chromium-clang-format', |
+ '-s', 'buildtools/win/clang-format.exe.sha1', |
+ ], |
+ }, |
+ { |
+ 'name': 'clang_format_mac', |
+ 'pattern': '.', |
+ 'action': [ 'download_from_google_storage', |
+ '--no_resume', |
+ '--platform=darwin', |
+ '--no_auth', |
+ '--bucket', 'chromium-clang-format', |
+ '-s', 'buildtools/mac/clang-format.sha1', |
+ ], |
+ }, |
+ { |
+ 'name': 'clang_format_linux', |
+ 'pattern': '.', |
+ 'action': [ 'download_from_google_storage', |
+ '--no_resume', |
+ '--platform=linux*', |
+ '--no_auth', |
+ '--bucket', 'chromium-clang-format', |
+ '-s', 'buildtools/linux64/clang-format.sha1', |
+ ], |
+ }, |
+] |