Commit 12d57c59 authored by agrieve's avatar agrieve Committed by Commit Bot

resource_sizes.py: Update comment on dex normalized apk size.

Change-Id: Id8f0973b8a9abac411053401cc47b3db136618b5
Reviewed-on: https://chromium-review.googlesource.com/1226386Reviewed-by: default avatarSamuel Huang <huangs@chromium.org>
Commit-Queue: agrieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#591441}
parent 8ec2dcab
...@@ -496,8 +496,8 @@ def PrintApkAnalysis(apk_filename, tool_prefix, out_dir, chartjson=None): ...@@ -496,8 +496,8 @@ def PrintApkAnalysis(apk_filename, tool_prefix, out_dir, chartjson=None):
# Always look at uncompressed .so. # Always look at uncompressed .so.
normalized_apk_size -= native_code.ComputeZippedSize() normalized_apk_size -= native_code.ComputeZippedSize()
normalized_apk_size += native_code.ComputeUncompressedSize() normalized_apk_size += native_code.ComputeUncompressedSize()
# TODO(agrieve): Once we have better tooling (which can tell you where dex # Normalized dex size: size within the zip + size on disk for Android Go
# size came from), change this to "ComputeExtractedSize()". # devices (which ~= uncompressed dex size).
normalized_apk_size += java_code.ComputeUncompressedSize() normalized_apk_size += java_code.ComputeUncompressedSize()
# Avoid noise caused when strings change and translations haven't yet been # Avoid noise caused when strings change and translations haven't yet been
# updated. # updated.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment