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

Side by Side Diff: android_webview/tools/system_webview_shell/apk/run_startup_time_test.sh

Issue 1785283005: [WebView] Reorganize all of the WebView Shell apks into their own dir. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright 2015 The Chromium Authors. All rights reserved. 3 # Copyright 2015 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 if ! which adb &> /dev/null; then 7 if ! which adb &> /dev/null; then
8 echo "adb is not in your path, did you run envsetup.sh?" 8 echo "adb is not in your path, did you run envsetup.sh?"
9 exit -1 9 exit -1
10 fi 10 fi
(...skipping 17 matching lines...) Expand all
28 fi 28 fi
29 adb shell kill -9 `adb shell ps | grep org.chromium.webview_shell \ 29 adb shell kill -9 `adb shell ps | grep org.chromium.webview_shell \
30 | tr -s " " " " | cut -d" " -f2` 30 | tr -s " " " " | cut -d" " -f2`
31 adb shell am start -n org.chromium.webview_shell/.StartupTimeActivity \ 31 adb shell am start -n org.chromium.webview_shell/.StartupTimeActivity \
32 -a VIEW > /dev/null 32 -a VIEW > /dev/null
33 sleep 0.5 33 sleep 0.5
34 done 34 done
35 echo 35 echo
36 36
37 adb shell rm /data/local/tmp/file.html 37 adb shell rm /data/local/tmp/file.html
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698