soong: generator: Update for BP1A

Change-Id: Icd8b04d2297a12a1dbbee1713e495949b7b2379a
This commit is contained in:
LuK1337
2025-03-06 10:06:43 +01:00
committed by Michael Bestas
parent 0f92eeeb57
commit 309a7abb5e

View File

@@ -144,7 +144,8 @@ func (g *Module) GenerateAndroidBuildActions(ctx android.ModuleContext) {
tools := map[string]android.Path{}
if len(g.properties.Tools) > 0 {
ctx.VisitDirectDepsBlueprint(func(module blueprint.Module) {
ctx.VisitDirectDepsProxyAllowDisabled(func(proxy android.ModuleProxy) {
module := android.PrebuiltGetPreferred(ctx, proxy)
switch ctx.OtherModuleDependencyTag(module) {
case hostToolDepTag:
tool := ctx.OtherModuleName(module)