SuperSize: Teach it about thin archives
"supersize archive" would crash upon encountering a .a file that was linked as a "thin archive" (where the actual .o files are not embedded). This fixes the tool by transforming all foo.a(bar.o) paths into their external object paths. Also adds main() functions for ninja_parser.py for debugging. Bug: 830843 Change-Id: Iddc374565b8e94a4a89b2faa343256ea2d9f569e Reviewed-on: https://chromium-review.googlesource.com/1007317 Commit-Queue: agrieve <agrieve@chromium.org> Reviewed-by:Samuel Huang <huangs@chromium.org> Cr-Commit-Position: refs/heads/master@{#550141}
Showing
tools/binary_size/libsupersize/ninja_parser.py
100644 → 100755
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment