Install updatable-bcp-packages.txt and boot-image.bprof
Previous refactorings of the code for creating these two files caused them to be created before the boot.prof file instead of afterwards. As a result even though they were appended to the list of files to install they were discarded when the boot.prof file set the list rather than appended to it. That worked before the refactoring because the boot.prof file set the list first before the others were appended to it. This change appends the boot.prof file to the list making the order in which they are added irrelevant. Bug: 187494247 Test: m nothing - check DEXPREOPT_IMAGE_PROFILE_BUILT_INSTALLED in generated make_vars file to ensure it includes all 3 files. Change-Id: Idb94531daf61b1b047c72eb5c67a57d3fdced05c
This commit is contained in:
parent
c76155cd71
commit
be007d1800
|
@ -790,7 +790,7 @@ func bootImageProfileRule(ctx android.SingletonContext, image *bootImageConfig)
|
|||
|
||||
rule.Build("bootJarsProfile", "profile boot jars")
|
||||
|
||||
image.profileInstalls = rule.Installs()
|
||||
image.profileInstalls = append(image.profileInstalls, rule.Installs()...)
|
||||
|
||||
return profile
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue