3 Commits

Author SHA1 Message Date
Mathieu Chartier
9f31b97f5e Add filter for NoPreloadHolders
Avoid including these in the preloaded classes.

Test: manual
Bug: 109652611
Change-Id: I1efd1749e54e8b38ca8f7e3ff05058ddb0fe4460
2018-06-07 14:30:24 -07:00
Mathieu Chartier
f72073a84f Add CollationRoot to preloaded classes
It was determined this would save RAM.

Test: ./generate-preloaded-classes.sh base.txt preloaded-classes-blacklist preloaded-classes-extra  > preloaded-classes
Test: Look at the generated file
Bug: 63444758
Change-Id: Ib49b1218e94e4a4a2211071da189cf917559248b
2017-08-16 13:58:47 -07:00
Mathieu Chartier
678ba75bb9 Add some preloaded classes related files and tools
Added copyright-header to be used by generation scripts to
automatically add a copyright header to preloaded classes.

Add a default blacklist file to avoid needing to manually
remove classes that can't be preloaded in the zygote.

Added a script go generate a preloaded classes list from a raw class
list. This script adds the copyright headers and comments and removes
blacklisted classes.

Bug: 37966211
Test: manually run the scripts

Change-Id: I166f990c41978c80134d2f1e12c1b1079a12752a
2017-08-15 22:36:00 +00:00