Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: mojo/tools/android_mojo_shell.py

Issue 1144673003: Fix and cleanup Mojo and Mandoline python scripts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comments. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mandoline/tools/android_run_mandoline.py ('k') | mojo/tools/apptest_runner.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/android_mojo_shell.py
diff --git a/mojo/tools/android_mojo_shell.py b/mojo/tools/android_mojo_shell.py
index 73541d2bd6f2d703ccb2322267dcb49b0557b8b6..b1bbe000050f172560181cc9a6961df11d473391 100755
--- a/mojo/tools/android_mojo_shell.py
+++ b/mojo/tools/android_mojo_shell.py
@@ -24,7 +24,7 @@ def main():
debug_group.add_argument('--release', help='Release build', default=False,
dest='debug', action='store_false')
parser.add_argument('--target-cpu', help='CPU architecture to run for.',
- choices=['x64', 'x86', 'arm'])
+ choices=['x64', 'x86', 'arm'], default='arm')
parser.add_argument('--origin', help='Origin for mojo: URLs.',
default='localhost')
parser.add_argument('--target-device', help='Device to run on.')
@@ -35,8 +35,8 @@ def main():
is_debug=launcher_args.debug,
apk_name="MojoRunner.apk")
paths = Paths(config)
- shell = AndroidShell(paths.target_mojo_shell_path, paths.build_dir,
- paths.adb_path, launcher_args.target_device)
+ shell = AndroidShell(paths.mojo_runner, paths.build_dir, paths.adb_path,
+ launcher_args.target_device)
extra_shell_args = shell.PrepareShellRun(launcher_args.origin)
args.extend(extra_shell_args)
« no previous file with comments | « mandoline/tools/android_run_mandoline.py ('k') | mojo/tools/apptest_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698