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

Side by Side Diff: third_party/clang_format/bin/rm_binaries.py

Issue 371313002: Remove last traces of third_party/clang_format (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/clang_format/README.chromium ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 # This script removes the platform-specific clang_format binaries from
6 # third_party/clang_format/bin* now that the binaries have been moved to
7 # src/buildtools. Keeping the old ones around will be pretty confusing since
8 # the version will be out-of-date.
9 #
10 # This script assumes it is located in third_party/clang_format/bin and locates
11 # the binaries relative to itself.
12 #
13 # TODO(jochen) remove this script when people have likely been updated.
14 # End of July 2014 would be good.
15
16 import os
17 import sys
18
19 bin_dir = os.path.dirname(__file__)
20
21 # Typically only one platform will have binaries. Remove them all just in case,
22 # but ignore all errors.
23
24 try:
25 os.remove(os.path.join(bin_dir, "linux", "clang-format"))
26 except:
27 pass
28
29 try:
30 os.remove(os.path.join(bin_dir, "mac", "clang-format"))
31 except:
32 pass
33
34 try:
35 os.remove(os.path.join(bin_dir, "win", "clang-format.exe"))
36 except:
37 pass
38
OLDNEW
« no previous file with comments | « third_party/clang_format/README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698