Add support for generating boot profiles.

Test: /system/etc/boot-image.bprof is generated
Test: /system/framework/services.bprof is generated
Bug: 119800099
Change-Id: I50f0b665ff104feca4a26dd229625f00013db251
This commit is contained in:
Nicolas Geoffray
2019-07-24 13:19:29 +01:00
parent 2b78fda705
commit e710242b5c
4 changed files with 88 additions and 0 deletions

View File

@@ -113,6 +113,7 @@ type ModuleConfig struct {
ProfileClassListing android.OptionalPath
ProfileIsTextListing bool
ProfileBootListing android.OptionalPath
EnforceUsesLibraries bool
PresentOptionalUsesLibraries []string