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 logcat -c
12adb shell am start -S \
13  -a android.intent.action.VIEW \
14  -n org.chromium.mojo_shell_apk/.MojoShellActivity \
15  $INTENT_ARGS
16adb logcat -s MojoShellApplication MojoShellActivity chromium
17