Index: build/android/adb_chrome_shell_command_line |
diff --git a/build/android/adb_chrome_shell_command_line b/build/android/adb_chrome_shell_command_line |
new file mode 100755 |
index 0000000000000000000000000000000000000000..750f90603657078a8c8d9f24d1e98a63f5da3ba0 |
--- /dev/null |
+++ b/build/android/adb_chrome_shell_command_line |
@@ -0,0 +1,20 @@ |
+#!/bin/bash |
+# |
+# 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 chrome shell flags. |
+# |
+# Otherwise, the given flags are used to REPLACE (not modify) the chrome shell |
+# flags. For example: |
+# adb_chrome_shell_command_line --enable-webgl |
+# |
+# To remove all chrome shell flags, pass an empty string for the flags: |
+# adb_chrome_shell_command_line "" |
+ |
+. $(dirname $0)/adb_command_line_functions.sh |
+CMD_LINE_FILE=/data/local/tmp/chrome-shell-command-line |
+REQUIRES_SU=0 |
+set_command_line "$@" |
+ |