aboutsummaryrefslogtreecommitdiff
path: root/tools/find_static_candidates.py
Commit message (Collapse)AuthorAgeFilesLines
* find_static_candidates.py: protect against missing keys in moduleDevin Moore2024-01-241-21/+26
| | | | | | | | | | Looks like modules can now be missing "shared_libs" and "static_libs". Use default values of empty sets where applicable, or check for the existence of the keys before looking for them. Test: python find_static_candidates.py --module audioserver Bug: 322190716 Change-Id: I8be9bd2c1562975db57ffbf89d57ff2767f0b1f1
* Add new script to analyze static/shared library usageDevin Moore2023-06-051-0/+232
Parses module-info.json, gathers stats on how many times each library is included shared or statically. Can print a list of libraries that would be a candidate for changing from static to shared or visa versa. Test: m Bug: 280829178 Change-Id: I4bbffbd673ab2e08c69d0ab6e68402be77c9ffbc