DescriptionReland: Actually use --extra-r-text-files in process_resources.py
Originally landed in crrev.com/1104703003
Reverted in crrev.com/1129103002 due to breaking GN APKs with no
resouces. This now handles the case where aapt doesn't generate an
R.txt (no resources) by creating an empty R.txt.
Generate extra packages' R.java files only containing the resources
listed in their R.txt files. This significantly reduces the number of
DEX field IDs taken up by resources.
BUG=480036
R=cjhopman,yfriedman
Committed: https://crrev.com/4b5d0300e3fa2a382ac3c1c157247a82583d7ed0
Cr-Commit-Position: refs/heads/master@{#329219}
Patch Set 1 : Original patch #Patch Set 2 : Handle APKs with no resources and add a --include-all-resources option #
Total comments: 3
Patch Set 3 : Fix nits #
Total comments: 1
Patch Set 4 : Clobber instead of touching empty R.txt output #Patch Set 5 : No bad_resources apk #
Messages
Total messages: 38 (14 generated)
|