Add resource size diff script

Desktop / Chromium - bsheedy [chromium.org] - 13 September 2017 16:31 EDT

Adds a script that runs resource_sizes.py on two given APKs, diffing the results. This is being added with the intention of using it to measure the size impact of including VR, but should be usable to measure the impact of any build flags, etc.

Bug: 759087 Change-Id: I1db06594d3c02cc6a0d90c44343e5c25281d6f4e Reviewed-on: https://chromium-review.googlesource.com/657460

20e696b Add resource size diff script
build/android/diff_resource_sizes.py | 149 +++++++++++++++++++++
.../android/pylib/utils/shared_preference_utils.py | 32 +++--
build/android/resource_sizes.py | 83 ++++++------
build/util/lib/common/perf_tests_results_helper.py | 34 +++++
4 files changed, 243 insertions(+), 55 deletions(-)

Upstream: git.chromium.org


  • Share