Index: build/android/pylib/perf/perf_test_instance.py |
diff --git a/build/android/pylib/perf/perf_test_instance.py b/build/android/pylib/perf/perf_test_instance.py |
index 17f3fd4543eec3965cece76e0b66e6f4cb6e09a1..426ffaf550385c7703e90e3b2cbddd822a52cfc3 100644 |
--- a/build/android/pylib/perf/perf_test_instance.py |
+++ b/build/android/pylib/perf/perf_test_instance.py |
@@ -64,6 +64,10 @@ class PerfTestInstance(test_instance.TestInstance): |
self._dry_run = args.dry_run |
self._flaky_steps = args.flaky_steps |
self._output_dir_archive_path = args.output_dir_archive_path |
+ # TODO(rnephew): Get rid of this when everything uses |
+ # --output-dir-archive-path |
+ if self._output_dir_archive_path is None and args.get_output_dir_archive: |
+ self._output_dir_archive_path = args.get_output_dir_archive |
self._known_devices_file = args.known_devices_file |
self._max_battery_temp = args.max_battery_temp |
self._min_battery_level = args.min_battery_level |