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

Unified Diff: mandoline/tools/android_run_mandoline.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 | « no previous file | mojo/tools/android_mojo_shell.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/tools/android_run_mandoline.py
diff --git a/mandoline/tools/android_run_mandoline.py b/mandoline/tools/android_run_mandoline.py
index dfbc5ac90c4d122232350733c06b961e325b48f5..9f4274de2ecbfc56c232305d14c1ca13a06997de 100755
--- a/mandoline/tools/android_run_mandoline.py
+++ b/mandoline/tools/android_run_mandoline.py
@@ -28,7 +28,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('--target-device', help='Device to run on.')
launcher_args, args = parser.parse_known_args()
@@ -37,8 +37,8 @@ def main():
is_debug=launcher_args.debug,
apk_name="Mandoline.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,
target_package='org.chromium.mandoline')
extra_shell_args = shell.PrepareShellRun()
« no previous file with comments | « no previous file | mojo/tools/android_mojo_shell.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698