summaryrefslogtreecommitdiffstats
path: root/tools/gn/bin
diff options
context:
space:
mode:
authoranujk.sharma <anujk.sharma@samsung.com>2014-09-23 21:09:47 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-24 04:10:09 +0000
commit5e4a92f923982405e20195e9de9f675c41e0748c (patch)
treec708debf9c15c376b98b8be510d5baa394f2e813 /tools/gn/bin
parent7590f797b76fb7c6df196f394623e840917b20da (diff)
downloadchromium_src-5e4a92f923982405e20195e9de9f675c41e0748c.zip
chromium_src-5e4a92f923982405e20195e9de9f675c41e0748c.tar.gz
chromium_src-5e4a92f923982405e20195e9de9f675c41e0748c.tar.bz2
Cleanup: Remove the instances of "rm_binaries.py" from 'src/tools/gn/bin'. The GN binaries have moved to src/buildtools. So, this script was removing GN binaries from tools/gn/bin that aren't used anymore. It was kept with the same intent till july 2014 (expected), and now think so, it is the good time to remove this script.
BUG= Review URL: https://codereview.chromium.org/598493002 Cr-Commit-Position: refs/heads/master@{#296344}
Diffstat (limited to 'tools/gn/bin')
-rw-r--r--tools/gn/bin/rm_binaries.py42
1 files changed, 0 insertions, 42 deletions
diff --git a/tools/gn/bin/rm_binaries.py b/tools/gn/bin/rm_binaries.py
deleted file mode 100644
index 599b508..0000000
--- a/tools/gn/bin/rm_binaries.py
+++ /dev/null
@@ -1,42 +0,0 @@
-# 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 GN binaries from tools/gn/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 tools/gn/bin and locates the binaries
-# relative to itself.
-#
-# TODO(brettw) 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", "gn"))
-except:
- pass
-
-try:
- os.remove(os.path.join(bin_dir, "linux", "gn32"))
-except:
- pass
-
-try:
- os.remove(os.path.join(bin_dir, "mac", "gn"))
-except:
- pass
-
-try:
- os.remove(os.path.join(bin_dir, "win", "gn.exe"))
-except:
- pass
-