summaryrefslogtreecommitdiff
path: root/DEPS
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-08-13 15:41:25 -0700
committerTom Sepez <tsepez@chromium.org>2015-08-13 15:41:25 -0700
commitae35176b8b3adf2e8c8b5f30eaad93c5f47187f1 (patch)
tree28dd1126a959fe66af0fcac2892fe08e985cd74e /DEPS
parent388a3b0b8d6f75d47978c08299300f121f04884c (diff)
downloadpdfium-ae35176b8b3adf2e8c8b5f30eaad93c5f47187f1.tar.xz
Make standalone PDFium DEPS pull clang-format.
R=thakis@chromium.org Review URL: https://codereview.chromium.org/1297453002 .
Diffstat (limited to 'DEPS')
-rw-r--r--DEPS36
1 files changed, 35 insertions, 1 deletions
diff --git a/DEPS b/DEPS
index 67b57aaf62..ee9df7e861 100644
--- a/DEPS
+++ b/DEPS
@@ -44,4 +44,38 @@ hooks = [
'pattern': '.',
'action': ['python', 'build/gyp_pdfium'],
},
-] \ No newline at end of file
+ # 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',
+ ],
+ },
+]