Chromium Code Reviews| Index: scripts/slave/recipe_modules/chromium_tests/steps.py |
| diff --git a/scripts/slave/recipe_modules/chromium_tests/steps.py b/scripts/slave/recipe_modules/chromium_tests/steps.py |
| index a67bb356e0e7cb6c155c5e58dc5cf2366a1cf3a1..d1b65945d2e37d09982acee2ce7e9d9f7202716a 100644 |
| --- a/scripts/slave/recipe_modules/chromium_tests/steps.py |
| +++ b/scripts/slave/recipe_modules/chromium_tests/steps.py |
| @@ -99,6 +99,23 @@ class ArchiveBuildStep(Test): |
| return [] |
| +class ResourceSizesStep(Test): |
|
ghost stip (do not use)
2016/09/07 21:30:50
aw man, another step type? do we really need this?
jbudorick
2016/09/07 21:35:43
The last time a new step vs an existing one (i.e.,
|
| + def __init__(self, compile_target, apk_name): |
| + self.compile_target = compile_target |
| + self.apk_name = apk_name |
| + |
| + def run(self, api, suffix, test_filter=None): |
| + apk_path = api.chromium_android.apk_path(self.apk_name) |
| + return api.chromium_android.resource_sizes(apk_path, chartjson_file=True) |
| + |
| + def compile_targets(self, api): |
| + return [self.compile_target] |
| + |
| + @property |
| + def name(self): |
| + return 'resource_sizes' # pragma: no cover |
| + |
| + |
| class SizesStep(Test): |
| def __init__(self, results_url, perf_id): |
| self.results_url = results_url |