aboutsummaryrefslogtreecommitdiff
path: root/aconfig/codegen/rust_aconfig_library.go
diff options
context:
space:
mode:
Diffstat (limited to 'aconfig/codegen/rust_aconfig_library.go')
-rw-r--r--aconfig/codegen/rust_aconfig_library.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/aconfig/codegen/rust_aconfig_library.go b/aconfig/codegen/rust_aconfig_library.go
index 53818c250..fba7a42f1 100644
--- a/aconfig/codegen/rust_aconfig_library.go
+++ b/aconfig/codegen/rust_aconfig_library.go
@@ -60,7 +60,7 @@ func (a *aconfigDecorator) GenerateSource(ctx rust.ModuleContext, deps rust.Path
generatedDir := android.PathForModuleGen(ctx)
generatedSource := android.PathForModuleGen(ctx, "src", "lib.rs")
- declarationsModules := ctx.GetDirectDepsWithTag(rustDeclarationsTag)
+ declarationsModules := ctx.GetDirectDepsProxyWithTag(rustDeclarationsTag)
if len(declarationsModules) != 1 {
panic(fmt.Errorf("Exactly one aconfig_declarations property required"))