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

Unified Diff: tools/gn/bin/rm_binaries.py

Issue 598493002: Cleanup: Remove the instances of "rm_binaries.py" from 'src/tools/gn/bin' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/bin/rm_binaries.py
diff --git a/tools/gn/bin/rm_binaries.py b/tools/gn/bin/rm_binaries.py
deleted file mode 100644
index 599b50855d9f09270654049877e5907eeff7cadf..0000000000000000000000000000000000000000
--- 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
-
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698