Index: DEPS |
diff --git a/DEPS b/DEPS |
index 34313f8e62b5c615780a8e0bb4eb068449bce27c..b5e38f1bcd777013a895dd5de2b86ec808d17ec7 100644 |
--- a/DEPS |
+++ b/DEPS |
@@ -29,10 +29,41 @@ deps = { |
'crashpad/third_party/mini_chromium/mini_chromium': |
Var('chromium_git') + '/chromium/mini_chromium@' + |
'8e12d3df2f1c0fcd84d649f4619323558db63a85', |
+ 'buildtools': |
+ Var('chromium_git') + '/chromium/buildtools.git@' + |
+ 'c2f259809d5ede3275df5ea0842f0431990c4f98', |
} |
hooks = [ |
{ |
+ 'name': 'clang_format_mac', |
+ 'pattern': '.', |
+ 'action': [ |
+ 'download_from_google_storage', |
+ '--platform=^darwin$', |
+ '--no_resume', |
+ '--no_auth', |
+ '--bucket=chromium-clang-format', |
+ '--output=buildtools/mac/clang-format', |
+ '--sha1_file', |
+ 'buildtools/mac/clang-format.sha1', |
+ ], |
+ }, |
+ { |
+ 'name': 'clang_format_win', |
+ 'pattern': '.', |
+ 'action': [ |
+ 'download_from_google_storage', |
+ '--platform=^win32$', |
+ '--no_resume', |
+ '--no_auth', |
+ '--bucket=chromium-clang-format', |
+ '--output=buildtools/win/clang-format.exe', |
+ '--sha1_file', |
+ 'buildtools/win/clang-format.exe.sha1', |
+ ], |
+ }, |
+ { |
'name': 'gyp', |
'pattern': '\.gypi?$', |
'action': ['python', 'crashpad/build/gyp_crashpad.py'], |