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

Unified Diff: scripts/slave/recipe_modules/chromium_android/api.py

Issue 1560243002: [Android] Upstream resource_sizes function and use for WebView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 11 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 | scripts/slave/recipes/android_webview_shell_tests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/chromium_android/api.py
diff --git a/scripts/slave/recipe_modules/chromium_android/api.py b/scripts/slave/recipe_modules/chromium_android/api.py
index c4438855516d370d75d8c86f1643a88d6aa6a93a..4c66bb59d9c5de20061e0b23d94be1414cba047e 100644
--- a/scripts/slave/recipe_modules/chromium_android/api.py
+++ b/scripts/slave/recipe_modules/chromium_android/api.py
@@ -192,6 +192,20 @@ class AndroidApi(recipe_api.RecipeApi):
perf_dashboard_id=name,
test_type=name)
+ def resource_sizes(self, apk_path, so_path, so_with_symbols_path):
+ self.m.chromium.runtest(
+ self.m.path['checkout'].join('build', 'android', 'resource_sizes.py'),
+ args=[
+ apk_path,
+ '--so-path', so_path,
+ '--so-with-symbols-path', so_with_symbols_path,
+ '--build_type', self.m.chromium.c.BUILD_CONFIG],
+ annotate='graphing',
+ results_url='https://chromeperf.appspot.com',
+ perf_id=self.m.properties['buildername'],
+ perf_dashboard_id='resource_sizes',
+ test_type='resource_sizes')
+
def check_webview_licenses(self, name='check licenses'):
self.m.python(
name,
« no previous file with comments | « no previous file | scripts/slave/recipes/android_webview_shell_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698