1#!/bin/bash 2# 3# Copyright 2015 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 ChromePublic process and debug it. 8# See --help for details. 9# 10PROGDIR=$(dirname "$0") 11export ADB_GDB_PROGNAME=$(basename "$0") 12export ADB_GDB_ACTIVITY=com.google.android.apps.chrome.Main 13"$PROGDIR"/adb_gdb \ 14 --program-name=ChromePublic \ 15 --package-name=org.chromium.chrome \ 16 "$@" 17