diff options
author | 2025-03-13 18:36:35 +0000 | |
---|---|---|
committer | 2025-03-13 18:36:35 +0000 | |
commit | f22120fb1da7f75a571966124bb0da6a57fd4f07 (patch) | |
tree | 9ffabf8102382f54c89595a59e3211eccd766217 /sh/sh_binary.go | |
parent | 7c18e7f15b997e0e3199111446e0511ffd96b811 (diff) |
Change CommonModuleInfoProvider to a pointer.
Bug: 358427516
Test: Manually verified genereated ninja and mk files, unit tests.
Change-Id: I53a6dd718232735decbeb93febfd269dd9449e86
Diffstat (limited to 'sh/sh_binary.go')
-rw-r--r-- | sh/sh_binary.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/sh_binary.go b/sh/sh_binary.go index 7041642e0..b2546eb19 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.CommonModuleInfoProvider) + commonInfo := android.OtherModulePointerProviderOrDefault(ctx, dep, android.CommonModuleInfoProvider) if commonInfo.Target.Arch.ArchType.Multilib == "lib64" { relPath = filepath.Join("lib64", linkableInfo.OutputFile.Path().Base()) |