Rename BootImageInfo to BootclasspathFragmentApexContentInfo
Currently, it only contains ART boot image related information, i.e. .art, .oat and .vdex files. However, follow up changes will extend that to include other information from bootclasspath_fragment. Bug: 177892522 Test: m nothing Change-Id: I2b226131c0eccff0c739a18f265f90caa10a91d9
This commit is contained in:
@@ -1699,8 +1699,8 @@ func (a *apexBundle) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||
ctx.PropertyErrorf("bootclasspath_fragments", "%q is not a boot_image module", depName)
|
||||
return false
|
||||
}
|
||||
bootImageInfo := ctx.OtherModuleProvider(child, java.BootImageInfoProvider).(java.BootImageInfo)
|
||||
for arch, files := range bootImageInfo.AndroidBootImageFilesByArchType() {
|
||||
bootclasspathFragmentInfo := ctx.OtherModuleProvider(child, java.BootclasspathFragmentApexContentInfoProvider).(java.BootclasspathFragmentApexContentInfo)
|
||||
for arch, files := range bootclasspathFragmentInfo.AndroidBootImageFilesByArchType() {
|
||||
dirInApex := filepath.Join("javalib", arch.String())
|
||||
for _, f := range files {
|
||||
androidMkModuleName := "javalib_" + arch.String() + "_" + filepath.Base(f.String())
|
||||
|
Reference in New Issue
Block a user