Pull Chromium's clang-format binaries.
This gets 'git cl format' working again in a standalone webrtc checkout.
It started failing after this depot_tools change:
https://codereview.chromium.org/134313007
Depends on this change:
https://codereview.chromium.org/135653014/
R=pbos@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/7699004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5483 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/DEPS b/DEPS
index d0481f7..34f63ad 100644
--- a/DEPS
+++ b/DEPS
@@ -42,6 +42,9 @@
"testing/gtest":
From("chromium_deps", "src/testing/gtest"),
+ "third_party/clang_format":
+ Var("chromium_trunk") + "/src/third_party/clang_format@" + Var("chromium_revision"),
+
"third_party/expat":
Var("chromium_trunk") + "/src/third_party/expat@" + Var("chromium_revision"),
@@ -251,6 +254,40 @@
"-s", Var("root_dir") + "/tools/gn/bin/linux/gn32.sha1",
],
},
+ # Pull clang-format binaries using checked-in hashes.
+ {
+ "name": "clang_format_win",
+ "pattern": "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", Var("root_dir") + "/third_party/clang_format/bin/win/clang-format.exe.sha1",
+ ],
+ },
+ {
+ "name": "clang_format_mac",
+ "pattern": "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", Var("root_dir") + "/third_party/clang_format/bin/mac/clang-format.sha1",
+ ],
+ },
+ {
+ "name": "clang_format_linux",
+ "pattern": "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", Var("root_dir") + "/third_party/clang_format/bin/linux/clang-format.sha1",
+ ],
+ },
{
# Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
# zero seconds to run. If something changed, it downloads a prebuilt clang.