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

Unified Diff: build/android/pylib/base/base_test_runner.py

Issue 1688173002: [Android] Lazily import lighttpd_server. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/base/base_test_runner.py
diff --git a/build/android/pylib/base/base_test_runner.py b/build/android/pylib/base/base_test_runner.py
index 02922f6a6ee935372c4919a7f633e7abfeb4cb72..77d05f7952d3b7ceaab3df943a668c88015df3e0 100644
--- a/build/android/pylib/base/base_test_runner.py
+++ b/build/android/pylib/base/base_test_runner.py
@@ -15,7 +15,6 @@ from devil.android import forwarder
from devil.android import ports
from pylib.valgrind_tools import CreateTool
# TODO(frankf): Move this to pylib/utils
-import lighttpd_server
# A file on device to store ports of net test server. The format of the file is
@@ -86,6 +85,7 @@ class BaseTestRunner(object):
port: port on which we want to the http server bind.
extra_config_contents: Extra config contents for the HTTP server.
"""
+ import lighttpd_server
self._http_server = lighttpd_server.LighttpdServer(
document_root, port=port, extra_config_contents=extra_config_contents)
if self._http_server.StartupHttpServer():
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698