| Index: build/android/adb_chromium_testshell_command_line
|
| diff --git a/build/android/adb_content_shell_command_line b/build/android/adb_chromium_testshell_command_line
|
| similarity index 65%
|
| copy from build/android/adb_content_shell_command_line
|
| copy to build/android/adb_chromium_testshell_command_line
|
| index f3c1d4f49f2ff555c41eff41951aa45ff09aaa29..8c09e3f386c4782e5a49e241638bc1a651912257 100755
|
| --- a/build/android/adb_content_shell_command_line
|
| +++ b/build/android/adb_chromium_testshell_command_line
|
| @@ -4,19 +4,19 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -# If no flags are given, prints the current content shell flags.
|
| +# If no flags are given, prints the current chromium test shell flags.
|
| #
|
| -# Otherwise, the given flags are used to REPLACE (not modify) the content shell
|
| -# flags. For example:
|
| -# adb_content_shell_command_line --enable-webgl
|
| +# Otherwise, the given flags are used to REPLACE (not modify) the chromium
|
| +# test shell flags. For example:
|
| +# adb_chromium_testshell_command_line --enable-webgl
|
| #
|
| -# To remove all content shell flags, pass an empty string for the flags:
|
| -# adb_content_shell_command_line ""
|
| +# To remove all chromium test shell flags, pass an empty string for the flags:
|
| +# adb_chromium_testshell_command_line ""
|
|
|
| -CMD_LINE_FILE=/data/local/tmp/content-shell-command-line
|
| +CMD_LINE_FILE=/data/local/tmp/chromium-testshell-command-line
|
|
|
| if [ $# -eq 0 ] ; then
|
| - # If nothing specified, print the command line (stripping off "content_shell")
|
| + # If nothing specified, print the command line (stripping off "chromium_testshell")
|
| tempfile=$(tempfile)
|
| adb pull $CMD_LINE_FILE $tempfile 2>/dev/null
|
| if [ $? -eq 0 ] ; then
|
| @@ -30,7 +30,7 @@ elif [ $# -eq 1 ] && [ "$1" = '' ] ; then
|
| else
|
| # Else set it.
|
| set -x
|
| - adb shell "echo 'content_shell $*' > $CMD_LINE_FILE"
|
| + adb shell "echo 'chromium_testshell $*' > $CMD_LINE_FILE"
|
| # Prevent other apps from modifying flags -- this can create security issues.
|
| adb shell chmod 0664 $CMD_LINE_FILE
|
| fi
|
|
|