Commit 4082e137 authored by jochen@chromium.org's avatar jochen@chromium.org

Remove last traces of third_party/clang_format

R=nick@chromium.org
TBR=brettw@chromium.org,nick@chromium.org
BUG=none

Review URL: https://codereview.chromium.org/371313002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285030 0039d316-1c4b-4281-b951-d872f2087c98
parent ced522c8
...@@ -234,9 +234,6 @@ v8.log ...@@ -234,9 +234,6 @@ v8.log
/third_party/chromeos_login_manager /third_party/chromeos_login_manager
/third_party/chromeos_text_input /third_party/chromeos_text_input
/third_party/chromite /third_party/chromite
/third_party/clang_format/bin/*/*
/third_party/clang_format/script
!/third_party/clang_format/bin/*/*.sha1
/third_party/cld_2/src /third_party/cld_2/src
/third_party/colorama/src /third_party/colorama/src
/third_party/cros /third_party/cros
......
...@@ -749,15 +749,6 @@ hooks = [ ...@@ -749,15 +749,6 @@ hooks = [
"-s", "src/buildtools/linux64/clang-format.sha1", "-s", "src/buildtools/linux64/clang-format.sha1",
], ],
}, },
{
# Remove clang-format binaries from third_party/clang_format/bin that
# aren't used anymore.
# TODO(jochen) remove this and the .gitignore entry after the end of July,
# 2014.
"name": "remove_old_clang_format_binaries",
"pattern": ".",
"action": ["python", "src/third_party/clang_format/bin/rm_binaries.py"],
},
# Pull binutils for linux, enabled debug fission for faster linking / # Pull binutils for linux, enabled debug fission for faster linking /
# debugging when used with clang on Ubuntu Precise. # debugging when used with clang on Ubuntu Precise.
# https://code.google.com/p/chromium/issues/detail?id=352046 # https://code.google.com/p/chromium/issues/detail?id=352046
......
Name: clang-format
Short Name: clang-format
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-format/
Version: 3.5
Date: 11 April 2014
Revision: See DEPS
License: University of Illinois/NCSA Open Source License
License File: NOT_SHIPPED
Security Critical: No
Description:
A tool for formatting C++ code to style.
Local Modifications:
None
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This script removes the platform-specific clang_format binaries from
# third_party/clang_format/bin* now that the binaries have been moved to
# src/buildtools. Keeping the old ones around will be pretty confusing since
# the version will be out-of-date.
#
# This script assumes it is located in third_party/clang_format/bin and locates
# the binaries relative to itself.
#
# TODO(jochen) remove this script when people have likely been updated.
# End of July 2014 would be good.
import os
import sys
bin_dir = os.path.dirname(__file__)
# Typically only one platform will have binaries. Remove them all just in case,
# but ignore all errors.
try:
os.remove(os.path.join(bin_dir, "linux", "clang-format"))
except:
pass
try:
os.remove(os.path.join(bin_dir, "mac", "clang-format"))
except:
pass
try:
os.remove(os.path.join(bin_dir, "win", "clang-format.exe"))
except:
pass
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment