Add VINTF fragment modules into required libs of modules-info
Currently modules-info.json misses modules from vintf_fragment_modules because it was not handled from Soong. This change adds vintf_fragment_modules as part of required modules of modules-info.json so it can be handled from any other logic handles build information with the json file. Bug: 322089980 Test: An artifact depends on the modules-info.json handles vintf_fragments modules properly. Change-Id: I09a61b2ed201099a9d3b05dbed061d0366bb9255
This commit is contained in:
@@ -2024,7 +2024,7 @@ func (m *ModuleBase) GenerateBuildActions(blueprintCtx blueprint.ModuleContext)
|
|||||||
TargetDependencies: targetRequired,
|
TargetDependencies: targetRequired,
|
||||||
HostDependencies: hostRequired,
|
HostDependencies: hostRequired,
|
||||||
Data: data,
|
Data: data,
|
||||||
Required: m.RequiredModuleNames(ctx),
|
Required: append(m.RequiredModuleNames(ctx), m.VintfFragmentModuleNames(ctx)...),
|
||||||
}
|
}
|
||||||
SetProvider(ctx, ModuleInfoJSONProvider, ctx.moduleInfoJSON)
|
SetProvider(ctx, ModuleInfoJSONProvider, ctx.moduleInfoJSON)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user