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

Unified Diff: mojo/tools/apptest_runner.py

Issue 1138933004: Fix apptest builds and runner on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make PrepareShellRun only serve with origin=='localhost'; cleanup. 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 | « mojo/tools/android_mojo_shell.py ('k') | mojo/tools/mopy/android.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/apptest_runner.py
diff --git a/mojo/tools/apptest_runner.py b/mojo/tools/apptest_runner.py
index ddc0830712a2bc03919ea534181a273b91254d66..21f25fda82be54748225aa2d3b1fc51cdd1164d9 100755
--- a/mojo/tools/apptest_runner.py
+++ b/mojo/tools/apptest_runner.py
@@ -11,7 +11,6 @@ import sys
from mopy import dart_apptest
from mopy import gtest
-# TODO(msw): Mojo's script pulls in android.py via mojo/devtools/common/pylib.
from mopy.android import AndroidShell
from mopy.config import Config
from mopy.gn import ConfigForGNArgs, ParseGNConfig
@@ -48,7 +47,7 @@ def main():
paths = Paths(config)
shell = AndroidShell(paths.target_mojo_shell_path, paths.build_dir,
paths.adb_path)
- extra_args.extend(shell.PrepareShellRun(fixed_port=False))
+ extra_args.extend(shell.PrepareShellRun('localhost'))
else:
shell = None
« no previous file with comments | « mojo/tools/android_mojo_shell.py ('k') | mojo/tools/mopy/android.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698