summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-08-13 15:51:43 -0700
committerTom Sepez <tsepez@chromium.org>2015-08-13 15:51:43 -0700
commite9446f85355ba5eca757b8fbb29abfc02431cbdf (patch)
tree5041d633eb6938e2ec0689fda1929d0c49464177
parente00660b5fa41956db06c557807b68a1117d1b70b (diff)
downloadpdfium-e9446f85355ba5eca757b8fbb29abfc02431cbdf.tar.xz
Merge to XFA: Make standalone PDFium DEPS pull clang-format.
Original Review URL: https://codereview.chromium.org/1297453002 . TBR=thakis@chromium.org Review URL: https://codereview.chromium.org/1290243003 .
-rw-r--r--DEPS36
1 files changed, 35 insertions, 1 deletions
diff --git a/DEPS b/DEPS
index 6387890537..3103fff06b 100644
--- a/DEPS
+++ b/DEPS
@@ -42,4 +42,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',
+ ],
+ },
+]