Revert 244398 "Revert of https://codereview.chromium.org/111953007/"

> Revert of https://codereview.chromium.org/111953007/
> Reason for revert: Broke Linux build in http://build.chromium.org/p/chromium/builders/Linux/builds/46507.
> 
> [email protected],[email protected],[email protected],[email protected],[email protected]
> NOTREECHECKS=true
> NOTRY=true
> BUG=240309
> 
> Review URL: https://codereview.chromium.org/135773002

The original patch didn't set props correctly.  thakis landed a separate
change to fix that.  The revert of this revert in Rietveld failed at
https://codereview.chromium.org/135773003/.

[email protected]

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244400 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/DEPS b/DEPS
index e74a8f50..397632c 100644
--- a/DEPS
+++ b/DEPS
@@ -706,6 +706,40 @@
                 "-s", "src/tools/gn/bin/linux/gn32.sha1",
     ],
   },
+  # Pull clang-format binaries using checked-in hashes.
+  {
+    "name": "clang_format_win",
+    "pattern": "src/third_party/clang_format/bin/win/clang-format.exe.sha1",
+    "action": [ "download_from_google_storage",
+                "--no_resume",
+                "--platform=win32",
+                "--no_auth",
+                "--bucket", "chromium-clang-format",
+                "-s", "src/third_party/clang_format/bin/win/clang-format.exe.sha1",
+    ],
+  },
+  {
+    "name": "clang_format_mac",
+    "pattern": "src/third_party/clang_format/bin/mac/clang-format.sha1",
+    "action": [ "download_from_google_storage",
+                "--no_resume",
+                "--platform=darwin",
+                "--no_auth",
+                "--bucket", "chromium-clang-format",
+                "-s", "src/third_party/clang_format/bin/mac/clang-format.sha1",
+    ],
+  },
+  {
+    "name": "clang_format_linux",
+    "pattern": "src/third_party/clang_format/bin/linux/clang-format.sha1",
+    "action": [ "download_from_google_storage",
+                "--no_resume",
+                "--platform=linux*",
+                "--no_auth",
+                "--bucket", "chromium-clang-format",
+                "-s", "src/third_party/clang_format/bin/linux/clang-format.sha1",
+    ],
+  },
   {
     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
     "name": "gyp",