blob: bcbcbeb2f9e6dc8ac085dfc3bb6fef0127b98ba3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 "$@"
|