strip_package: Remove strip_package

strip package script is moved to chromite location and all the users now
use it from the new location. Remove the script from its old location..

BUG=b:195779731
TEST=./strip_package --board=$BOARD libc works

Cq-Depend: chromium:3295845
Change-Id: Ife558f5f0e2422219addec61ef2640e1caa1fdd7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/3283790
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Ram Chandrasekar <rchandrasekar@google.com>
Reviewed-by: Jaques Clapauch <jaquesc@google.com>
Commit-Queue: Ram Chandrasekar <rchandrasekar@google.com>
diff --git a/Makefile b/Makefile
index e9cefee..7be4dda 100644
--- a/Makefile
+++ b/Makefile
@@ -11,8 +11,8 @@
 	mkdir -p "${DESTDIR}/usr/bin"
 	mkdir -p "${DESTDIR}/usr/lib/devserver"
 	mkdir -p "${DESTDIR}/usr/lib/devserver/dut-scripts"
-	install -m 0755 host/start_devserver host/strip_package "${DESTDIR}/usr/bin"
-	install -m 0755 devserver.py strip_package.py "${DESTDIR}/usr/lib/devserver"
+	install -m 0755 host/start_devserver "${DESTDIR}/usr/bin"
+	install -m 0755 devserver.py "${DESTDIR}/usr/lib/devserver"
 	install -m 0644  \
 		autoupdate.py \
 		builder.py \
diff --git a/host/strip_package b/host/strip_package
deleted file mode 100755
index 601b410..0000000
--- a/host/strip_package
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-# Strip a given package and place the stripped version in
-# /build/<board>/stripped-packages.
-
-if [ ! -e /etc/cros_chroot_version ]; then
-  echo "Script needs to be run from within the chroot!" && exit 1
-fi
-
-. "/mnt/host/source/src/scripts/common.sh" || exit 1
-
-export DEFAULT_INSTALL_MASK
-/usr/lib/devserver/strip_package.py "$@"
diff --git a/strip_package.py b/strip_package.py
deleted file mode 100755
index 1ca70d4..0000000
--- a/strip_package.py
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/usr/bin/env python3
-# -*- coding: utf-8 -*-
-# Copyright (c) 2009-2015 The Chromium OS Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-"""Strip packages and place them in <sysroot>/stripped-packages."""
-
-from __future__ import print_function
-
-import argparse
-import sys
-
-import builder
-
-
-def main():
-  parser = argparse.ArgumentParser()
-  target = parser.add_mutually_exclusive_group(required=True)
-  target.add_argument('--board',
-                      help='The board that processed packages belong to.')
-  target.add_argument('--sysroot',
-                      help=('Sysroot that processed packages belong to. '
-                            'This is incompatible with --board.'))
-  parser.add_argument('--deep', action='store_true',
-                      help='Also strip dependencies of packages.')
-  parser.add_argument('packages', nargs='+', metavar='package',
-                      help='Package to strip.')
-
-  options = parser.parse_args()
-  sysroot = options.sysroot or '/build/%s' % options.board
-
-  # Check if packages were installed.
-  if not builder.UpdateGmergeBinhost(sysroot, options.packages, options.deep):
-    sys.exit(1)
-
-
-if __name__ == '__main__':
-  main()