blob: b585e4a71f6f98408322161e0131c5876daae2b3 [file] [log] [blame]
Ben Murdoch097c5b22016-05-18 11:27:45 +01001#!/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
7optional_url=$1
8parameters=$2
9
10adb logcat -c
11adb shell am start -S \
12 -a android.intent.action.VIEW \
13 -n org.chromium.mojo_shell_apk/.MojoShellActivity \
14 ${parameters:+--esa parameters "$parameters"} \
15 ${optional_url:+-d "$optional_url"}
16adb logcat -s MojoShellApplication MojoShellActivity chromium