| Index: build/android/pylib/instrumentation/setup.py
|
| diff --git a/build/android/pylib/instrumentation/setup.py b/build/android/pylib/instrumentation/setup.py
|
| index 8dacc3d18dc8c3866b96482ef9907a917fac9d99..bdde80d54bafdc26d266d133aa77ead23823cb80 100644
|
| --- a/build/android/pylib/instrumentation/setup.py
|
| +++ b/build/android/pylib/instrumentation/setup.py
|
| @@ -89,15 +89,15 @@ def Setup(test_options, devices):
|
| if test_options.test_data:
|
| device_utils.DeviceUtils.parallel(devices).pMap(
|
| _PushDataDeps, test_options)
|
| - else:
|
| +
|
| + if test_options.isolate_file_path:
|
| base_setup.GenerateDepsDirUsingIsolate(test_options.test_apk,
|
| test_options.isolate_file_path,
|
| ISOLATE_FILE_PATHS,
|
| DEPS_EXCLUSION_LIST)
|
| def push_data_deps_to_device_dir(device):
|
| - device_dir = os.path.join(device.GetExternalStoragePath(),
|
| - DEVICE_DATA_DIR)
|
| - base_setup.PushDataDeps(device, device_dir, test_options)
|
| + base_setup.PushDataDeps(device, device.GetExternalStoragePath(),
|
| + test_options)
|
| device_utils.DeviceUtils.parallel(devices).pMap(
|
| push_data_deps_to_device_dir)
|
|
|
|
|