forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: svn://svn.chromium.org/chrome/trunk/src@261611 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
aurimas@chromium.org
committed
Apr 4, 2014
1 parent
52b9477
commit e4fdab9
Showing
5 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters