Add gdb script for android webview test shell

For the convenience of debugging android webview test shell

TEST=
BUG=

Review URL: https://chromiumcodereview.appspot.com/13888004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@194797 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
yongsheng.zhu@intel.com 2013-04-18 06:02:40 +00:00
Родитель 54e9b7827d
Коммит e693bf4145
1 изменённых файлов: 16 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,16 @@
#!/bin/bash
#
# Copyright (c) 2013 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=.AwShellActivity
"$PROGDIR"/adb_gdb \
--program-name=AwShellApplication \
--package-name=org.chromium.android_webview.shell \
"$@"