Android: Create size-info files for bundles
These files are needed by SuperSize to do binary size analysis.
Refactors logic for creating these apkbuilder->separated action
so that it can be used by both apks and aabs.
Tested that .info files produces by the modern .aab and .apk are
about the same size.
Bug: 873714
Change-Id: Icbe8aee1f05da29d787c92a9697f2b1b719f7f42
Reviewed-on: https://chromium-review.googlesource.com/c/1461349
Commit-Queue: Andrew Grieve <[email protected]>
Reviewed-by: Peter Wen <[email protected]>
Cr-Commit-Position: refs/heads/master@{#630803}
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index e8aa2db..fcc8432 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -664,6 +664,7 @@
'build/android/gyp/create_app_bundle.pydeps',
'build/android/gyp/create_apk_operations_script.pydeps',
'build/android/gyp/create_java_binary_script.pydeps',
+ 'build/android/gyp/create_size_info_files.pydeps',
'build/android/gyp/create_stack_script.pydeps',
'build/android/gyp/create_test_runner_script.pydeps',
'build/android/gyp/create_tool_wrapper.pydeps',
@@ -681,7 +682,6 @@
'build/android/gyp/jinja_template.pydeps',
'build/android/gyp/lint.pydeps',
'build/android/gyp/main_dex_list.pydeps',
- 'build/android/gyp/merge_jar_info_files.pydeps',
'build/android/gyp/merge_manifest.pydeps',
'build/android/gyp/prepare_resources.pydeps',
'build/android/gyp/proguard.pydeps',