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

Unified Diff: build/android/adb_kill_chrome_public

Issue 2392643003: Removes files from //build that we don't need (Closed)
Patch Set: Created 4 years, 2 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 | « build/android/adb_kill_android_webview_shell ('k') | build/android/adb_kill_chrome_shell » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/adb_kill_chrome_public
diff --git a/build/android/adb_kill_chrome_public b/build/android/adb_kill_chrome_public
deleted file mode 100755
index 5b539a043d4d910834f00c45b49112c89ec7bb17..0000000000000000000000000000000000000000
--- a/build/android/adb_kill_chrome_public
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/bash
-#
-# Copyright 2015 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.
-#
-# Kill a running instance of ChromePublic.
-#
-# Assumes you have sourced the build/android/envsetup.sh script.
-
-SHELL_PID_LINES=$(adb shell ps | grep -w 'org.chromium.chrome')
-VAL=$(echo "$SHELL_PID_LINES" | wc -l)
-if [ $VAL -lt 1 ] ; then
- echo "Not running ChromePublic."
-else
- SHELL_PID=$(echo $SHELL_PID_LINES | awk '{print $2}')
- if [ "$SHELL_PID" != "" ] ; then
- set -x
- adb shell kill $SHELL_PID
- set -
- else
- echo "ChromePublic does not appear to be running."
- fi
-fi
« no previous file with comments | « build/android/adb_kill_android_webview_shell ('k') | build/android/adb_kill_chrome_shell » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698