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