Index: build/android/adb_run_mojo_shell |
diff --git a/build/android/adb_run_mojo_shell b/build/android/adb_run_mojo_shell |
index 18e796d2c10b32ed5ded4d256dfdca719f8f6cb7..b585e4a71f6f98408322161e0131c5876daae2b3 100755 |
--- a/build/android/adb_run_mojo_shell |
+++ b/build/android/adb_run_mojo_shell |
@@ -5,10 +5,12 @@ |
# found in the LICENSE file. |
optional_url=$1 |
+parameters=$2 |
Nico
2014/12/09 20:02:09
If you say
optional_url=shift
here and then say
sky
2014/12/09 20:09:23
The parameters need to be comma separated for --es
|
adb logcat -c |
adb shell am start -S \ |
-a android.intent.action.VIEW \ |
-n org.chromium.mojo_shell_apk/.MojoShellActivity \ |
+ ${parameters:+--esa parameters "$parameters"} \ |
${optional_url:+-d "$optional_url"} |
adb logcat -s MojoShellApplication MojoShellActivity chromium |