From c41eae5e45123a48fd3ec9a3723fdf7adbb6f148 Mon Sep 17 00:00:00 2001 From: Yu Liu Date: Tue, 14 Jan 2025 01:03:08 +0000 Subject: Convert collectDirectDepsProviders, collectTransitiveSrcFiles and r8Flags to use ModuleProxy. Bug: 377723687 Test: Unit tests and compare the ninja and mk files generated. Change-Id: Ib3d45c317e1f2669808d0c785454fb8d8fb9cd3b --- rust/rust.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/rust.go') diff --git a/rust/rust.go b/rust/rust.go index c7aabcd7c..64288595f 100644 --- a/rust/rust.go +++ b/rust/rust.go @@ -1690,7 +1690,7 @@ func (mod *Module) depsToPaths(ctx android.ModuleContext) PathDeps { } } - if srcDep, ok := android.OtherModuleProvider(ctx, dep, android.SourceFilesInfoKey); ok { + if srcDep, ok := android.OtherModuleProvider(ctx, dep, android.SourceFilesInfoProvider); ok { if android.IsSourceDepTagWithOutputTag(depTag, "") { // These are usually genrules which don't have per-target variants. directSrcDeps = append(directSrcDeps, srcDep) -- cgit v1.2.3-59-g8ed1b