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

Unified Diff: mandoline/tools/android_run_mandoline.py

Issue 1130763004: Gets mandoline working on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get windows working 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
Index: mandoline/tools/android_run_mandoline.py
diff --git a/mandoline/tools/android_run_mandoline.py b/mandoline/tools/android_run_mandoline.py
index bcfae9553287c508c5afea484813a47985db3ea4..dfbc5ac90c4d122232350733c06b961e325b48f5 100755
--- a/mandoline/tools/android_run_mandoline.py
+++ b/mandoline/tools/android_run_mandoline.py
@@ -29,7 +29,6 @@ def main():
dest='debug', action='store_false')
parser.add_argument('--target-cpu', help='CPU architecture to run for.',
choices=['x64', 'x86', 'arm'])
- parser.add_argument('--origin', help='Origin for mojo: URLs.')
parser.add_argument('--target-device', help='Device to run on.')
launcher_args, args = parser.parse_known_args()
@@ -39,9 +38,10 @@ def main():
apk_name="Mandoline.apk")
paths = Paths(config)
shell = AndroidShell(paths.target_mojo_shell_path, paths.build_dir,
- paths.adb_path, launcher_args.target_device)
+ paths.adb_path, launcher_args.target_device,
+ target_package='org.chromium.mandoline')
- extra_shell_args = shell.PrepareShellRun(launcher_args.origin)
+ extra_shell_args = shell.PrepareShellRun()
args.extend(extra_shell_args)
shell.CleanLogs()

Powered by Google App Engine
This is Rietveld 408576698