Index: build/android/pylib/instrumentation/setup.py |
diff --git a/build/android/pylib/instrumentation/setup.py b/build/android/pylib/instrumentation/setup.py |
index bdde80d54bafdc26d266d133aa77ead23823cb80..7a0501e5b5c302075c0a4f67e6cc65969d8de9fb 100644 |
--- a/build/android/pylib/instrumentation/setup.py |
+++ b/build/android/pylib/instrumentation/setup.py |
@@ -91,7 +91,7 @@ def Setup(test_options, devices): |
_PushDataDeps, test_options) |
if test_options.isolate_file_path: |
- base_setup.GenerateDepsDirUsingIsolate(test_options.test_apk, |
+ i = base_setup.GenerateDepsDirUsingIsolate(test_options.test_apk, |
test_options.isolate_file_path, |
ISOLATE_FILE_PATHS, |
DEPS_EXCLUSION_LIST) |
@@ -100,6 +100,8 @@ def Setup(test_options, devices): |
test_options) |
device_utils.DeviceUtils.parallel(devices).pMap( |
push_data_deps_to_device_dir) |
+ if i: |
+ i.Clear() |
device_utils.DeviceUtils.parallel(devices).pMap( |
_PushExtraSuiteDataDeps, test_options.test_apk) |