| Index: build/android/pylib/local/device/local_device_instrumentation_test_run.py
|
| diff --git a/build/android/pylib/local/device/local_device_instrumentation_test_run.py b/build/android/pylib/local/device/local_device_instrumentation_test_run.py
|
| index 2705289fbfb57c8e9dd4e0b355285419fb5953aa..11e520df123364578015edb106131fbb70cb7d4d 100644
|
| --- a/build/android/pylib/local/device/local_device_instrumentation_test_run.py
|
| +++ b/build/android/pylib/local/device/local_device_instrumentation_test_run.py
|
| @@ -65,14 +65,6 @@ class LocalDeviceInstrumentationTestRun(
|
|
|
| #override
|
| def SetUp(self):
|
| - def substitute_device_root(d, device_root):
|
| - if not d:
|
| - return device_root
|
| - elif isinstance(d, list):
|
| - return posixpath.join(*(p if p else device_root for p in d))
|
| - else:
|
| - return d
|
| -
|
| @local_device_environment.handle_shard_failures_with(
|
| self._env.BlacklistDevice)
|
| def individual_device_set_up(dev, host_device_tuples):
|
| @@ -116,7 +108,7 @@ class LocalDeviceInstrumentationTestRun(
|
| device_root = posixpath.join(dev.GetExternalStoragePath(),
|
| 'chromium_tests_root')
|
| host_device_tuples_substituted = [
|
| - (h, substitute_device_root(d, device_root))
|
| + (h, local_device_test_run.SubstituteDeviceRoot(d, device_root))
|
| for h, d in host_device_tuples]
|
| logging.info('instrumentation data deps:')
|
| for h, d in host_device_tuples_substituted:
|
|
|