Make standalone PDFium DEPS pull clang-format.
authorTom Sepez <tsepez@chromium.org>
Thu, 13 Aug 2015 22:41:25 +0000 (15:41 -0700)
committerTom Sepez <tsepez@chromium.org>
Thu, 13 Aug 2015 22:41:25 +0000 (15:41 -0700)
R=thakis@chromium.org

Review URL: https://codereview.chromium.org/1297453002 .

DEPS

diff --git a/DEPS b/DEPS
index 67b57aa..ee9df7e 100644 (file)
--- 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',
+    ],
+  },
+]