At the moment, both Chrome and WebView uses resource whitelist to trim the locale paks. These generated whitelists are supposed to track what resources are actually used by Chrome & WebView. However, these whitelists do not accurately reflect what are actually packed into locale paks because WebView uses multiple resource whitelists other than compiler resource whitelist.
The plan is to modify repack_locales.py & data_pack.py and related build rules to output exact list of resource IDs, so that we can safely optimize our locale resources.
Comment 1 by zpeng@chromium.org
, Jul 13 2017