From f22120fb1da7f75a571966124bb0da6a57fd4f07 Mon Sep 17 00:00:00 2001 From: Yu Liu Date: Thu, 13 Mar 2025 18:36:35 +0000 Subject: Change CommonModuleInfoProvider to a pointer. Bug: 358427516 Test: Manually verified genereated ninja and mk files, unit tests. Change-Id: I53a6dd718232735decbeb93febfd269dd9449e86 --- rust/test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/test.go') diff --git a/rust/test.go b/rust/test.go index 2fed0d62e..cedced260 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.CommonModuleInfoProvider) + commonInfo := android.OtherModulePointerProviderOrDefault(ctx, dep, android.CommonModuleInfoProvider) libDir := "lib" if commonInfo.Target.Arch.ArchType.Multilib == "lib64" { libDir = "lib64" -- cgit v1.2.3-59-g8ed1b