commit | 59c90558b3ce3cb025324dd1f30ffe00ce4fb9cb | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@google.com> | Fri Jan 18 16:53:07 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jan 18 16:53:07 2019 |
tree | 38425736c03d4fdf65bdcff3402644da0c3e74fc | |
parent | ad1066ce0df586d19daf9e43942db479a71a687c [diff] |
android: Prevent AR and VR modules from using too many strings. As discovered recently, when building the Monochrome bundle, the AR and VR feature modules embed all localized strings from their source packages, which is much more than needed. This CL fixes the issue by setting aapt_locale_whitelist on each module definition. This is a quick fix, though we may consider in the future supporting setting this variable on the top-level bundle target instead. + Small change to compile_resources.py to fix a runtime crash due to a variable not properly assigned before being referenced (this happens when using a locale whitelist without a resource blacklist regex). BUG=923017 R=agrieve@chromium.org,tiborg@chromium.org,benmason@chromium.org Change-Id: I59e0c305a94521d8c873ffa682613504710c427b Reviewed-on: https://chromium-review.googlesource.com/c/1420798 Reviewed-by: agrieve <agrieve@chromium.org> Reviewed-by: Tibor Goldschwendt <tiborg@chromium.org> Commit-Queue: David Turner <digit@chromium.org> Cr-Commit-Position: refs/heads/master@{#624165}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .