Remove unused setting of BootImageInfo for platform_bootclasspath
The BootImageInfo is used to populate an apex. A platform_bootclasspath module cannot be part of an apex so does not need to provide one. Bug: 177892522 Test: m nothing Change-Id: I1e1c4962d9d8106a12af80107c4c35828f54ff81
This commit is contained in:
parent
cd06467124
commit
f13e07eee2
|
@ -171,17 +171,6 @@ func (b *platformBootclasspathModule) GenerateAndroidBuildActions(ctx android.Mo
|
||||||
// Force the GlobalSoongConfig to be created and cached for use by the dex_bootjars
|
// Force the GlobalSoongConfig to be created and cached for use by the dex_bootjars
|
||||||
// GenerateSingletonBuildActions method as it cannot create it for itself.
|
// GenerateSingletonBuildActions method as it cannot create it for itself.
|
||||||
dexpreopt.GetGlobalSoongConfig(ctx)
|
dexpreopt.GetGlobalSoongConfig(ctx)
|
||||||
|
|
||||||
imageConfig := b.getImageConfig(ctx)
|
|
||||||
if imageConfig == nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// Construct the boot image info from the config.
|
|
||||||
info := BootImageInfo{imageConfig: imageConfig}
|
|
||||||
|
|
||||||
// Make it available for other modules.
|
|
||||||
ctx.SetProvider(BootImageInfoProvider, info)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (b *platformBootclasspathModule) getImageConfig(ctx android.EarlyModuleContext) *bootImageConfig {
|
func (b *platformBootclasspathModule) getImageConfig(ctx android.EarlyModuleContext) *bootImageConfig {
|
||||||
|
|
Loading…
Reference in New Issue