google / google/bundletool

Feature Request: Get size for specific module only

Open
#123 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
4k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
I'd like to track the module size over time. However using something like `--modules=module1` with the `get-size` will give me size of `base` + `module1`. Is it possible to add a flag to grab size of exactly one module.

**Describe the solution you'd like**
Possibly add a flag like `--exact` that would only include the APKs for the specified modules. For example:
`--modules=base,module1 --exact` return size for `base.apk` + `module1.apk` (equivalent to `--modules=base,module1` or `--modules=module1`)
`--modules=module1 --exact` would return `module1.apk`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.