summaryrefslogtreecommitdiff
path: root/rust/rust.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2025-01-13 21:02:36 +0000
committer Yu Liu <yudiliu@google.com> 2025-01-15 20:44:33 +0000
commitf6f8549664d1ab0ab944713cd96f27c2ed934582 (patch)
tree80317344f54477e83b24e23454695649ef5a137d /rust/rust.go
parent213fe9a6ef9bc77d47b1bc873c7dac85d77e66c2 (diff)
Convert collectJniDeps to use ModuleProxy.
Bug: 377723687 Test: Unit tests and compare the ninja and mk files generated. Change-Id: I36f8b339f70ab47be84c598231cb971145fc4ef7
Diffstat (limited to 'rust/rust.go')
-rw-r--r--rust/rust.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/rust.go b/rust/rust.go
index 557bdc31d..c7aabcd7c 100644
--- a/rust/rust.go
+++ b/rust/rust.go
@@ -1120,7 +1120,7 @@ func (mod *Module) GenerateAndroidBuildActions(actx android.ModuleContext) {
ctx.Phony("rust", ctx.RustModule().OutputFile().Path())
}
- linkableInfo := cc.CreateCommonLinkableInfo(mod)
+ linkableInfo := cc.CreateCommonLinkableInfo(ctx, mod)
linkableInfo.Static = mod.Static()
linkableInfo.Shared = mod.Shared()
linkableInfo.CrateName = mod.CrateName()