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

Unified Diff: build/android/adb_android_webview_command_line

Issue 15002006: [android_webview] Add a command line setter tool. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | « android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/adb_android_webview_command_line
diff --git a/build/android/adb_content_shell_command_line b/build/android/adb_android_webview_command_line
similarity index 77%
copy from build/android/adb_content_shell_command_line
copy to build/android/adb_android_webview_command_line
index f3c1d4f49f2ff555c41eff41951aa45ff09aaa29..947cfb1eed7c39ed43a9c7dc4e8284016c3140d8 100755
--- a/build/android/adb_content_shell_command_line
+++ b/build/android/adb_android_webview_command_line
@@ -1,6 +1,6 @@
#!/bin/bash
#
-# Copyright (c) 2012 The Chromium Authors. All rights reserved.
+# Copyright (c) 2013 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.
@@ -8,12 +8,12 @@
#
# Otherwise, the given flags are used to REPLACE (not modify) the content shell
# flags. For example:
-# adb_content_shell_command_line --enable-webgl
+# adb_android_webview_command_line --enable-webgl
#
# To remove all content shell flags, pass an empty string for the flags:
-# adb_content_shell_command_line ""
+# adb_android_webview_command_line ""
-CMD_LINE_FILE=/data/local/tmp/content-shell-command-line
+CMD_LINE_FILE=/data/local/tmp/android-webview-command-line
if [ $# -eq 0 ] ; then
# If nothing specified, print the command line (stripping off "content_shell")
@@ -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 'android_webview $*' > $CMD_LINE_FILE"
# Prevent other apps from modifying flags -- this can create security issues.
adb shell chmod 0664 $CMD_LINE_FILE
fi
« no previous file with comments | « android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698