Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2775)

Unified Diff: build/android/pylib/perf/setup.py

Issue 326933003: Android: cleanup old perf sharding list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/android/pylib/perf/test_runner.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/perf/setup.py
diff --git a/build/android/pylib/perf/setup.py b/build/android/pylib/perf/setup.py
index 5314d36fa8a874ffd5d447c250524b6384567c48..99c3e19a643150651dcc424325172cd2024617af 100644
--- a/build/android/pylib/perf/setup.py
+++ b/build/android/pylib/perf/setup.py
@@ -42,21 +42,6 @@ def _GetStepsDictFromSingleStep(test_options):
}
return steps_dict
-# TODO(bulach): remove once it rolls downstream, crbug.com/378862.
-def _GetStepsDictFromV0(steps_v0):
- steps_dict = {
- 'version': 1,
- 'steps': {},
- }
- affinity = 0
- for step in steps_v0:
- steps_dict['steps'][step[0]] = {
- 'device_affinity': affinity,
- 'cmd': step[1],
- }
- affinity += 1
- return steps_dict
-
def _GetStepsDict(test_options):
if test_options.single_step:
@@ -64,9 +49,6 @@ def _GetStepsDict(test_options):
if test_options.steps:
with file(test_options.steps, 'r') as f:
steps = json.load(f)
- # TODO(bulach): remove once it rolls downstream, crbug.com/378862.
- if isinstance(steps, list):
- return _GetStepsDictFromV0(steps)
# Already using the new format.
assert steps['version'] == 1
« no previous file with comments | « no previous file | build/android/pylib/perf/test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698