Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / xwalk / build / android / adb_gdb_xwalk_core_shell
1 #!/bin/bash
2 #
3 # Copyright (c) 2013 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 cd ${ENVSETUP_GYP_CHROME_SRC}
11
12 export ADB_GDB_PROGNAME=$(basename "$0")
13 export ADB_GDB_ACTIVITY=.XWalkViewShellActivity
14 "${ENVSETUP_GYP_CHROME_SRC}"/build/android/adb_gdb \
15     --program-name=XwViewShellActivity \
16     --package-name=org.xwalk.core.xwview.shell \
17     "$@"