summaryrefslogtreecommitdiff
path: root/android/provider.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2024-10-07 17:07:44 +0000
committer Yu Liu <yudiliu@google.com> 2024-10-07 17:07:44 +0000
commitdd9ccb4234dfc88a004e36b2c0500769a5f50ad3 (patch)
tree8873af61c144d2f15b325cb526df9d0aba5f0c07 /android/provider.go
parent467d7c5c3ef919760db78ad2cec014582a095b6b (diff)
Add ModuleProxy that should be used when visiting deps.
Bug: 358427516 Test: local manual tests to compare the generated mk and ninja files. Change-Id: I2bbe2e679e404a46947f3895943dad749be38446
Diffstat (limited to 'android/provider.go')
-rw-r--r--android/provider.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/provider.go b/android/provider.go
index 5ded4cc14..81d17a175 100644
--- a/android/provider.go
+++ b/android/provider.go
@@ -24,7 +24,7 @@ var _ OtherModuleProviderContext = (*TestContext)(nil)
// OtherModuleProviderContext is a helper interface that accepts ModuleContext, BottomUpMutatorContext, or
// TopDownMutatorContext.
func OtherModuleProvider[K any](ctx OtherModuleProviderContext, module blueprint.Module, provider blueprint.ProviderKey[K]) (K, bool) {
- value, ok := ctx.otherModuleProvider(module, provider)
+ value, ok := ctx.otherModuleProvider(getWrappedModule(module), provider)
if !ok {
var k K
return k, false