#!/bin/bash # # Copyright 2014 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 chrome shell flags. # # Otherwise, the given flags are used to REPLACE (not modify) the chrome shell # flags. For example: # adb_chrome_shell_command_line --enable-webgl # # To remove all chrome shell flags, pass an empty string for the flags: # adb_chrome_shell_command_line "" . $(dirname $0)/adb_command_line_functions.sh CMD_LINE_FILE=/data/local/tmp/chrome-shell-command-line REQUIRES_SU=0 set_command_line "$@"