Support compressed .json grit files and compress chromevox messages
This provides support for --gzip-output in grit/build.py, which: 1. Compresses individual output files. 2. Appends .gz to the compressed output files (e.g. messages.json -> messages.json.gz). This makes it fairly simple to convert an extension (e.g. chromevox) to use compressed l10n files. Other than setting gzip_output = true in the .gn file, the only other required change is updating any test dependencies. Bug: 1023568 Change-Id: I8318b1d87b828b512f890c6f2cf6d4d22462ed7d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1913610 Commit-Queue: Steven Bennetts <stevenjb@chromium.org> Reviewed-by:David Tseng <dtseng@chromium.org> Reviewed-by:
Andrew Grieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/master@{#716284}
Showing
This diff is collapsed.
Please register or sign in to comment