Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(369)

Unified Diff: DEPS

Issue 111953007: Add clang-format binaries and scripts for all platforms (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the SHA hashes Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: DEPS
diff --git a/DEPS b/DEPS
index 48907ebf71a2a4f582202172a23ad30d2f2736ff..3c920ba81329dc2582ed95a9030a6e75d3ef8d00 100644
--- a/DEPS
+++ b/DEPS
@@ -687,6 +687,55 @@ hooks = [
"-s", "src/tools/gn/bin/linux/gn32.sha1",
],
},
+ # Pull clang-format binaries from cloud storage 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",
+ ],
+ },
+ {
+ "name": "clang_format_linux32",
+ "pattern": "src/third_party/clang_format/bin/linux/clang-format32.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-format32.sha1",
+ ],
+ },
{
# A change to a .gyp, .gypi, or to GYP itself should run the generator.
"name": "gyp",
« .gitignore ('K') | « .gitignore ('k') | third_party/clang_format/README.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698