Roll src/third_party/WebKit e0eac24:489c548 (svn 193311:193320)
[chromium-blink-merge.git] / build / android / adb_run_mojo_shell
blobb585e4a71f6f98408322161e0131c5876daae2b3
1 #!/bin/bash
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.
7 optional_url=$1
8 parameters=$2
10 adb logcat -c
11 adb 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"}
16 adb logcat -s MojoShellApplication MojoShellActivity chromium