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:
Kiyoung Kim
2024-08-29 17:39:07 +09:00
parent 88a8daf8ca
commit 74408202e3

View File

@@ -2024,7 +2024,7 @@ func (m *ModuleBase) GenerateBuildActions(blueprintCtx blueprint.ModuleContext)
TargetDependencies: targetRequired,
HostDependencies: hostRequired,
Data: data,
Required: m.RequiredModuleNames(ctx),
Required: append(m.RequiredModuleNames(ctx), m.VintfFragmentModuleNames(ctx)...),
}
SetProvider(ctx, ModuleInfoJSONProvider, ctx.moduleInfoJSON)
}