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

Unified Diff: scripts/slave/recipe_modules/chromium_tests/steps.py

Issue 2238243003: Merge method_counts into resource_sizes (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 4 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
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 6d669881508826bcef34948e0e5609377cc1c36b..5d4d35aeef1f729f40f182bdf8394a4690c0766a 100644
--- a/scripts/slave/recipe_modules/chromium_tests/steps.py
+++ b/scripts/slave/recipe_modules/chromium_tests/steps.py
@@ -99,6 +99,20 @@ class ArchiveBuildStep(Test):
return []
+class ResourceSizesStep(Test):
+ def run(self, api, suffix, test_filter=None):
+ apk_path = api.chromium_android.apk_path('ChromePublic.apk')
+ return api.chromium_android.resource_sizes(apk_path, chartjson_file=True)
+
+ @staticmethod
+ def compile_targets(_):
+ return ['chrome_public_apk']
+
+ @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

Powered by Google App Engine
This is Rietveld 408576698