diff options
author | 2024-09-12 14:35:29 -0700 | |
---|---|---|
committer | 2024-09-27 10:32:24 -0700 | |
commit | 648daea67d55b7e0996923880f45b4923289a26e (patch) | |
tree | 2ede92d82d3871fa8cace8110154ed10c7d35472 /android/container.go | |
parent | 874273545b58747a617cf418dd93cb1902d7de89 (diff) |
Remove blueprint.Module helper functions
Now that blueprint_go_binary modules are wrapped in a module type
that implements android.Module Soong should never see a blueprint.Module.
Remove the versions of the context methods that allow working with
blueprint.Modules.
Genrules still need VisitDirectDepsAllowDisabled, as they use a hack
that adds dependencies on host tools after the prebuilts mutators have
run, which means they may have a dependency on a disabled prebuilt
and need to manually forward it to the corresponding source module.
Test: all soong tests pass
Flag: EXEMPT refactor
Change-Id: I9147b450269749326e8fe75c5af310bd2d898d8c
Diffstat (limited to 'android/container.go')
-rw-r--r-- | android/container.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/container.go b/android/container.go index c048d6c73..2a3777b30 100644 --- a/android/container.go +++ b/android/container.go @@ -479,7 +479,7 @@ func setContainerInfo(ctx ModuleContext) { func checkContainerViolations(ctx ModuleContext) { if _, ok := ctx.Module().(InstallableModule); ok { containersInfo, _ := getContainerModuleInfo(ctx, ctx.Module()) - ctx.VisitDirectDepsIgnoreBlueprint(func(dep Module) { + ctx.VisitDirectDeps(func(dep Module) { if !dep.Enabled(ctx) { return } |