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

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

Issue 2933993002: Add local results details pages.
Patch Set: Fix some of Johns comments. Created 3 years, 4 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 | « build/android/pylib/base/environment.py ('k') | build/android/pylib/base/output_manager.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/base/environment_factory.py
diff --git a/build/android/pylib/base/environment_factory.py b/build/android/pylib/base/environment_factory.py
index 29de4831a238aedffc1e6bfa24944b911661e2ac..fdca803effaf1f39707caff82e12d85282858406 100644
--- a/build/android/pylib/base/environment_factory.py
+++ b/build/android/pylib/base/environment_factory.py
@@ -6,12 +6,14 @@ from pylib import constants
from pylib.local.device import local_device_environment
from pylib.local.machine import local_machine_environment
-def CreateEnvironment(args, error_func):
+def CreateEnvironment(args, output_manager, error_func):
if args.environment == 'local':
if args.command not in constants.LOCAL_MACHINE_TESTS:
- return local_device_environment.LocalDeviceEnvironment(args, error_func)
+ return local_device_environment.LocalDeviceEnvironment(
+ args, output_manager, error_func)
else:
- return local_machine_environment.LocalMachineEnvironment(args, error_func)
+ return local_machine_environment.LocalMachineEnvironment(
+ args, output_manager, error_func)
error_func('Unable to create %s environment.' % args.environment)
« no previous file with comments | « build/android/pylib/base/environment.py ('k') | build/android/pylib/base/output_manager.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698