[Android] Fix backwards compatibility flags with perf tests running in platform mode.

BUG=615157,632922

Review-Url: https://codereview.chromium.org/2196343002
Cr-Original-Commit-Position: refs/heads/master@{#409016}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a00fe127bfd2be32a412e4c0c73b4ced7b8bf6ab
This commit is contained in:
rnephew 2016-08-01 12:16:23 -07:00 коммит произвёл Commit bot
Родитель 25c3ff77a7
Коммит 9b762e8986
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

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