adb_run_mojo_shell revision 5d1f7b1de12d16ceb2c938c56701a3e8bfa558f7
1#!/bin/bash
2#
3# Copyright 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
7if [ $# -gt 0 ] ; then
8   INTENT_ARGS="-d \"$1\""  # e.g. a URL
9fi
10
11adb shell am start \
12  -a android.intent.action.VIEW \
13  -n org.chromium.mojo_shell_apk/.MojoShellActivity \
14  $INTENT_ARGS
15adb logcat -s MojoShellApplication MojoShellActivity chromium
16