Index: build/android/adb_cast_shell_command_line |
diff --git a/build/android/adb_cast_shell_command_line b/build/android/adb_cast_shell_command_line |
new file mode 100755 |
index 0000000000000000000000000000000000000000..547e403581b832127364d69fc621d98392e70c30 |
--- /dev/null |
+++ b/build/android/adb_cast_shell_command_line |
@@ -0,0 +1,22 @@ |
+#!/bin/bash |
+# |
+# Copyright 2014 The Chromium Authors. All rights reserved. |
agrieve
2016/03/02 02:39:35
nit: year
|
+# 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 cast shell flags. |
+# |
+# Otherwise, the given flags are used to REPLACE (not modify) the cast shell |
+# flags. For example: |
+# apk_command_line --enable-webgl |
agrieve
2016/03/02 02:39:35
nit: update
|
+# |
+# If multiple devices are connected, use the --device argument to specify the |
+# device ID. You can use |
+# adb devices |
+# ... to find the device's ID. |
+# |
+# To remove all content shell flags, pass an empty string for the flags: |
+# apk_command_line "" |
+ |
+exec $(dirname $0)/../../build/android/adb_command_line.py -e cast_shell \ |
+ --device-path /data/local/tmp/castshell-command-line "$@" |