summaryrefslogtreecommitdiff
path: root/rust/test.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2025-03-04 19:01:28 +0000
committer Yu Liu <yudiliu@google.com> 2025-03-07 23:16:47 +0000
commitef9e63e775493bd73cb28917ad59e6b10e5506b5 (patch)
treeed7e9c2d65f85806a3ababb6bc8a1583465370a2 /rust/test.go
parent8840812f9dfa3ba5ceecd75e582836a3c673d54b (diff)
Rename CommonModuleInfoKey to be consistent with others.
Bug: 377723687 Test: Unit tests and compare the ninja and mk files generated. Change-Id: I1ce8bc782666586633ded9cfaf1b9590e3c0efde
Diffstat (limited to 'rust/test.go')
-rw-r--r--rust/test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/test.go b/rust/test.go
index 9833ffdb6..9b755b4b3 100644
--- a/rust/test.go
+++ b/rust/test.go
@@ -165,7 +165,7 @@ func (test *testDecorator) install(ctx ModuleContext) {
if linkableDep.OutputFile.Valid() {
// Copy the output in "lib[64]" so that it's compatible with
// the default rpath values.
- commonInfo := android.OtherModuleProviderOrDefault(ctx, dep, android.CommonModuleInfoKey)
+ commonInfo := android.OtherModuleProviderOrDefault(ctx, dep, android.CommonModuleInfoProvider)
libDir := "lib"
if commonInfo.Target.Arch.ArchType.Multilib == "lib64" {
libDir = "lib64"