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

Unified Diff: DEPS

Issue 2483363002: clang-formats remaining files and adds a presubmit check. (Closed)
Patch Set: Format include file Created 4 years, 1 month 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
« no previous file with comments | « no previous file | runtime/CPPLINT.cfg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: DEPS
diff --git a/DEPS b/DEPS
index 32fb23925eb7ce5a252d455eb531b2e61df5be0b..06fb584746629d0763f439c69d0b9c516cc94d0d 100644
--- a/DEPS
+++ b/DEPS
@@ -32,6 +32,7 @@ vars = {
# Revisions of GN related dependencies.
"buildtools_revision": "@39b1db2ab4aa4b2ccaa263c29bdf63e7c1ee28aa",
+ "clang_format_rev": "@0ed791d1387a3c9146ea6c453c646f3c0fc97784",
"gperftools_revision": "@02eeed29df112728564a5dde6417fa4622b57a06",
@@ -134,6 +135,9 @@ deps = {
Var("dart_root") + "/buildtools":
Var('chromium_git') + '/chromium/buildtools.git' +
Var('buildtools_revision'),
+ Var("dart_root") + "/buildtools/clang_format/script":
+ Var("chromium_git") + "/chromium/llvm-project/cfe/tools/clang-format.git" +
+ Var("clang_format_rev"),
Var("dart_root") + "/tests/co19/src":
(Var("github_mirror") % "co19") + Var("co19_rev"),
@@ -406,6 +410,21 @@ hooks = [
},
# Pull clang-format binaries using checked-in hashes.
{
+ 'name': 'clang_format_win',
+ 'pattern': '.',
+ 'action': [
+ 'download_from_google_storage',
+ '--no_auth',
+ '--no_resume',
+ '--quiet',
+ '--platform=win32',
+ '--bucket',
+ 'chromium-clang-format',
+ '-s',
+ Var('dart_root') + '/buildtools/win/clang-format.exe.sha1',
+ ],
+ },
+ {
'name': 'clang_format_linux',
'pattern': '.',
'action': [
« no previous file with comments | « no previous file | runtime/CPPLINT.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698