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

Unified Diff: tools/buildtools/linux64/clang-format

Issue 2871673003: [infra] Fix clang-format invocation from git cl format (Closed)
Patch Set: Fix for Mac Created 3 years, 7 months 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 | « tools/buildtools/README.md ('k') | tools/buildtools/mac/clang-format » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/buildtools/linux64/clang-format
diff --git a/tools/buildtools/linux64/clang-format b/tools/buildtools/linux64/clang-format
deleted file mode 100755
index 715ff745bb6d9dbe391c295330e7efe1a3758f50..0000000000000000000000000000000000000000
--- a/tools/buildtools/linux64/clang-format
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/env python
-# Copyright 2017 The Dart project authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-"""Forwards to the clang-format for the Linux toolchain."""
-
-import os
-import subprocess
-import sys
-
-DART_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
-TOOLCHAIN = os.path.join(DART_ROOT, 'buildtools', 'toolchain')
-CLANG_FORMAT = os.path.join(TOOLCHAIN, 'clang+llvm-x86_64-linux', 'bin', 'clang-format')
-
-def main(argv):
- return subprocess.call([CLANG_FORMAT] + argv[1:])
-
-if __name__ == '__main__':
- sys.exit(main(sys.argv))
« no previous file with comments | « tools/buildtools/README.md ('k') | tools/buildtools/mac/clang-format » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698