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

Unified Diff: build/android/adb_kill_chrome_public

Issue 1180693002: Update from https://crrev.com/333737 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 years, 6 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_install_apk.py ('k') | build/android/adb_reverse_forwarder.py » ('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_android_webview_shell b/build/android/adb_kill_chrome_public
similarity index 67%
copy from build/android/adb_kill_android_webview_shell
copy to build/android/adb_kill_chrome_public
index 5f287f0826642b4c61fbd1c319a01ee8e09d7f75..5b539a043d4d910834f00c45b49112c89ec7bb17 100755
--- a/build/android/adb_kill_android_webview_shell
+++ b/build/android/adb_kill_chrome_public
@@ -4,14 +4,14 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
-# Kill a running android webview shell.
+# Kill a running instance of ChromePublic.
#
# Assumes you have sourced the build/android/envsetup.sh script.
-SHELL_PID_LINES=$(adb shell ps | grep ' org.chromium.android_webview.shell')
+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 android webview shell."
+ echo "Not running ChromePublic."
else
SHELL_PID=$(echo $SHELL_PID_LINES | awk '{print $2}')
if [ "$SHELL_PID" != "" ] ; then
@@ -19,6 +19,6 @@ else
adb shell kill $SHELL_PID
set -
else
- echo "Android webview shell does not appear to be running."
+ echo "ChromePublic does not appear to be running."
fi
fi
« no previous file with comments | « build/android/adb_install_apk.py ('k') | build/android/adb_reverse_forwarder.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698