| Index: chromecast/tools/apk_command_line
|
| diff --git a/build/android/adb_content_shell_command_line b/chromecast/tools/apk_command_line
|
| similarity index 70%
|
| copy from build/android/adb_content_shell_command_line
|
| copy to chromecast/tools/apk_command_line
|
| index f3c1d4f49f2ff555c41eff41951aa45ff09aaa29..0fd0001d643a9e5f3b442c7da6bf98c61dd19f0f 100755
|
| --- a/build/android/adb_content_shell_command_line
|
| +++ b/chromecast/tools/apk_command_line
|
| @@ -1,22 +1,22 @@
|
| #!/bin/bash
|
| #
|
| -# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +# Copyright 2014 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.
|
|
|
| -# If no flags are given, prints the current content shell flags.
|
| +# If no flags are given, prints the current cast shell flags.
|
| #
|
| -# Otherwise, the given flags are used to REPLACE (not modify) the content shell
|
| +# Otherwise, the given flags are used to REPLACE (not modify) the cast shell
|
| # flags. For example:
|
| -# adb_content_shell_command_line --enable-webgl
|
| +# apk_command_line --enable-webgl
|
| #
|
| # To remove all content shell flags, pass an empty string for the flags:
|
| -# adb_content_shell_command_line ""
|
| +# apk_command_line ""
|
|
|
| -CMD_LINE_FILE=/data/local/tmp/content-shell-command-line
|
| +CMD_LINE_FILE=/data/local/tmp/castshell-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 "castshell")
|
| tempfile=$(tempfile)
|
| adb pull $CMD_LINE_FILE $tempfile 2>/dev/null
|
| if [ $? -eq 0 ] ; then
|
| @@ -30,8 +30,7 @@ elif [ $# -eq 1 ] && [ "$1" = '' ] ; then
|
| else
|
| # Else set it.
|
| set -x
|
| - adb shell "echo 'content_shell $*' > $CMD_LINE_FILE"
|
| + adb shell "echo 'castshell $*' > $CMD_LINE_FILE"
|
| # Prevent other apps from modifying flags -- this can create security issues.
|
| adb shell chmod 0664 $CMD_LINE_FILE
|
| fi
|
| -
|
|
|