Make moderate binding testable by command line switches
[chromium-blink-merge.git] / build / android / adb_chrome_shell_command_line
blob750f90603657078a8c8d9f24d1e98a63f5da3ba0
1 #!/bin/bash
3 # Copyright 2014 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.
7 # If no flags are given, prints the current chrome shell flags.
9 # Otherwise, the given flags are used to REPLACE (not modify) the chrome shell
10 # flags. For example:
11 # adb_chrome_shell_command_line --enable-webgl
13 # To remove all chrome shell flags, pass an empty string for the flags:
14 # adb_chrome_shell_command_line ""
16 . $(dirname $0)/adb_command_line_functions.sh
17 CMD_LINE_FILE=/data/local/tmp/chrome-shell-command-line
18 REQUIRES_SU=0
19 set_command_line "$@"