Merge "Stop installing a profile into an APEX if profiles are disabled." am: edd6fde587
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1913479 Change-Id: Ic8051e916e4b6679c626ff4086b8d90b611fd012
This commit is contained in:
@@ -594,9 +594,12 @@ func (b *BootclasspathFragmentModule) provideApexContentInfo(ctx android.ModuleC
|
|||||||
|
|
||||||
if imageConfig != nil {
|
if imageConfig != nil {
|
||||||
info.modules = imageConfig.modules
|
info.modules = imageConfig.modules
|
||||||
|
global := dexpreopt.GetGlobalConfig(ctx)
|
||||||
|
if !global.DisableGenerateProfile {
|
||||||
info.profilePathOnHost = imageConfig.profilePathOnHost
|
info.profilePathOnHost = imageConfig.profilePathOnHost
|
||||||
info.profileInstallPathInApex = imageConfig.profileInstallPathInApex
|
info.profileInstallPathInApex = imageConfig.profileInstallPathInApex
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
info.bootImageFilesByArch = bootImageFilesByArch
|
info.bootImageFilesByArch = bootImageFilesByArch
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user