Граф коммитов

2 Коммитов

Автор SHA1 Сообщение Дата
aurimas@chromium.org 2e2ecdd08b Add whitelist support for grit repack steps.
-Adds new repack_options variables
-Updates pragma to output numeric_id instead of resource_id
-Updates find_used_resources.py to filter for numeric_id

To use the existing system you need to do following steps:
1. Remove out directory (we need to do a clean build)
2. Append " enable_resource_whitelist_generation=1" to GYP_DEFINES
3. Run gyp
4. Build your target (e.g. chrome_shell_apk) saving output to a file
   (e.g. build.txt)
5. cat build.txt | tools/resources/find_used_resources.py > whitelist.txt
6. Append " repack_options='--whitelist /path/to/whitelist.txt'"
7. Run gyp
8. Build your target again.
9. ???
10. Profit!!!

BUG=338759

Review URL: https://codereview.chromium.org/216233012

git-svn-id: http://src.chromium.org/svn/trunk/src/build@261611 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-04 00:52:22 +00:00
aurimas@google.com 410179ccf4 Clean up repack.py and repack_locale.py usage.
- Creates repack_pack.gypi action
- Updates all the call-sites of repack.py
- Removes chrome_repack_pseudo_locales.gypi to instead use
  chrome_repack_locales.gypi
- Remove unused repack_locales_cmd list

BUG=338759
R=tfarina@chromium.org, thakis@chromium.org
TBR=asargent@chromium.org, benm@chromium.org, blundell@chromium.org

Review URL: https://codereview.chromium.org/216013003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260279 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-28 21:11:20 +00:00