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 <agrieve@chromium.org>
Reviewed-by: Peter Wen <wnwen@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#630803}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b838d837d6d6fa9610ab7c8b1176c2e67934ace1
2 files changed