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..bcbcbeb2f9e6dc8ac085dfc3bb6fef0127b98ba3 |
--- /dev/null |
+++ b/build/android/adb_cast_shell_command_line |
@@ -0,0 +1,22 @@ |
+#!/bin/bash |
+# |
+# Copyright 2016 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 cast shell flags. |
+# |
+# Otherwise, the given flags are used to REPLACE (not modify) the cast shell |
+# flags. For example: |
+# apk_command_line --enable-media-thread-for-media-playback |
+# |
+# 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 "$@" |