New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 726420 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Update resource_sizes.py to handle monochrome language pakfiles correctly

Project Member Reported by estevenson@chromium.org, May 25 2017

Issue description

After https://codereview.chromium.org/2896313002, WebView and Chrome language pakfiles are stored in different directories in assets/ in Monochrome. We should update resource_sizes.py to handle this, since it currently assumes there's 1 pakfile for each language.
 
Also need to fix install size in two ways:
- Monochrome does not have crazy. prefix for its lib, but does not extract it either. Can detect this from having extractNativeLibs=false in its manifest.
- dex is extracted when installed. Check minSdkVersion of the apk and
  if < L: extracted dex size = uncompressed dex size
  if < N: extracted dex size = 3x uncompressed dex size
  if >= N and not monochrome/webview: extracted dex size = 1x uncompressed dex size
  if >= N and monochrome/webview: extracted dex size = 3x uncompressed dex size
Status: Fixed (was: Assigned)
CL landed here: https://codereview.chromium.org/2930313002/

Sign in to add a comment