blob: bcbcbeb2f9e6dc8ac085dfc3bb6fef0127b98ba3 [file] [log] [blame]
Ben Murdoch097c5b22016-05-18 11:27:45 +01001#!/bin/bash
2#
3# Copyright 2016 The Chromium Authors. All rights reserved.
4# Use of this source code is governed by a BSD-style license that can be
5# found in the LICENSE file.
6
7# If no flags are given, prints the current cast shell flags.
8#
9# Otherwise, the given flags are used to REPLACE (not modify) the cast shell
10# flags. For example:
11# apk_command_line --enable-media-thread-for-media-playback
12#
13# If multiple devices are connected, use the --device argument to specify the
14# device ID. You can use
15# adb devices
16# ... to find the device's ID.
17#
18# To remove all content shell flags, pass an empty string for the flags:
19# apk_command_line ""
20
21exec $(dirname $0)/../../build/android/adb_command_line.py -e cast_shell \
22 --device-path /data/local/tmp/castshell-command-line "$@"