Separate WebView's locale paks from Chrome's locale paks
In order to reduce APK size, this CL separates WebView's locale paks
from Chrome's locale paks, and compresses locale paks for all flavors
of Chrome.
Previously, Chrome and Chrome modern have their locale paks compressed,
while their contemporary WebView is shipped as a standalone APK and has
its own locale paks stored uncompressed. For Monochrome, WebView and
Chrome share uncompressed locale paks. As a result, Monochrome locale
paks take up lots of disk space unnecessarily.
This CL changes WebView locale pak location for all WebViews, and
compresses Chrome's locale paks in Monochrome. As a result, Monochrome
now contains uncompressed WebView locale paks and compressed Chrome
locale paks. Other resources are not affected. This greatly reduces
locale paks' footprints on disk. Monochrome.apk shrinks by 2.6MB.
A side effect for this CL is that Monochrome no longer supports several
locales that have been unsupported by Chrome and Chrome modern but
supported by WebViews.
See crbug.com/687797 for more details.
BUG=687797
Review-Url: https://codereview.chromium.org/2890813002
Cr-Commit-Position: refs/heads/master@{#472801}
5 files changed