Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: build/android/adb_cast_shell_command_line

Issue 2636553002: [build/android] Update adb_command_line.py to use flag_changer (Closed)
Patch Set: rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # 2 #
3 # Copyright 2016 The Chromium Authors. All rights reserved. 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 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # If no flags are given, prints the current cast shell flags. 7 # If no flags are given, prints the current cast shell flags.
8 # 8 #
9 # Otherwise, the given flags are used to REPLACE (not modify) the cast shell 9 # Otherwise, the given flags are used to REPLACE (not modify) the cast shell
10 # flags. For example: 10 # flags. For example:
11 # apk_command_line --enable-media-thread-for-media-playback 11 # adb_cast_shell_command_line --enable-media-thread-for-media-playback
12 # 12 #
13 # If multiple devices are connected, use the --device argument to specify the 13 # If multiple devices are connected, use the --device argument to specify the
14 # device ID. You can use 14 # device ID. You can use
15 # adb devices 15 # adb devices
16 # ... to find the device's ID. 16 # ... to find the device's ID.
17 # 17 #
18 # To remove all content shell flags, pass an empty string for the flags: 18 # To remove all content shell flags, pass an empty string for the flags:
19 # apk_command_line "" 19 # adb_cast_shell_command_line ""
20 20
21 exec $(dirname $0)/../../build/android/adb_command_line.py -e cast_shell \ 21 exec $(dirname $0)/adb_command_line.py --name castshell-command-line "$@"
22 --device-path /data/local/tmp/castshell-command-line "$@"
OLDNEW
« no previous file with comments | « build/android/adb_android_webview_command_line ('k') | build/android/adb_chrome_public_command_line » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698