Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame^] | 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 | |
| 7 | optional_url=$1 |
| 8 | parameters=$2 |
| 9 | |
| 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 |