1 #!/bin/bash 2 # 3 # Copyright (c) 2012 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 # Attach to or start a ContentShell process and debug it. 8 # See --help for details. 9 # 10 PROGDIR=$(dirname "$0") 11 export ADB_GDB_PROGNAME=$(basename "$0") 12 export ADB_GDB_ACTIVITY=.ContentShellActivity 13 "$PROGDIR"/adb_gdb \ 14 --program-name=ContentShell \ 15 --package-name=org.chromium.content_shell_apk \ 16 "$@" 17