summaryrefslogtreecommitdiff
path: root/sh/sh_binary.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 /sh/sh_binary.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 'sh/sh_binary.go')
-rw-r--r--sh/sh_binary.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/sh_binary.go b/sh/sh_binary.go
index d00c056ee..894b17f25 100644
--- a/sh/sh_binary.go
+++ b/sh/sh_binary.go
@@ -510,7 +510,7 @@ func (s *ShTest) GenerateAndroidBuildActions(ctx android.ModuleContext) {
// so that it's compatible with the default rpath values.
var relPath string
linkableInfo := android.OtherModuleProviderOrDefault(ctx, dep, cc.LinkableInfoProvider)
- commonInfo := android.OtherModuleProviderOrDefault(ctx, dep, android.CommonModuleInfoKey)
+ commonInfo := android.OtherModuleProviderOrDefault(ctx, dep, android.CommonModuleInfoProvider)
if commonInfo.Target.Arch.ArchType.Multilib == "lib64" {
relPath = filepath.Join("lib64", linkableInfo.OutputFile.Path().Base())