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) |