Index: build/android/adb_gdb_mojo_shell |
diff --git a/build/android/adb_gdb_mojo_shell b/build/android/adb_gdb_mojo_shell |
new file mode 100755 |
index 0000000000000000000000000000000000000000..ba91149cce9b859036e76c82d929d99d9b3cde7a |
--- /dev/null |
+++ b/build/android/adb_gdb_mojo_shell |
@@ -0,0 +1,16 @@ |
+#!/bin/bash |
+# |
+# Copyright 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=.MojoShellActivity |
+"$PROGDIR"/adb_gdb \ |
+ --program-name=MojoShell \ |
+ --package-name=org.chromium.mojo_shell_apk \ |
+ "$@" |