summaryrefslogtreecommitdiff
path: root/cc/tidy.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2025-03-10 13:41:49 -0700
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-03-10 13:41:49 -0700
commita369dc00143821fa7784d1bfa9d2986186b23742 (patch)
tree39c1e14bbff8b6c1d28f7543880240809d61220c /cc/tidy.go
parentcfbdb0cec0d89feccb3cd8231a4095f673f74b29 (diff)
parentef9e63e775493bd73cb28917ad59e6b10e5506b5 (diff)
Merge "Rename CommonModuleInfoKey to be consistent with others." into main
Diffstat (limited to 'cc/tidy.go')
-rw-r--r--cc/tidy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/tidy.go b/cc/tidy.go
index 8e7f899a2..e8e1dc29d 100644
--- a/cc/tidy.go
+++ b/cc/tidy.go
@@ -220,7 +220,7 @@ func collectTidyObjModuleTargets(ctx android.SingletonContext, module android.Mo
// (1) Collect all obj/tidy files into OS-specific groups.
ctx.VisitAllModuleVariantProxies(module, func(variant android.ModuleProxy) {
- osName := android.OtherModuleProviderOrDefault(ctx, variant, android.CommonModuleInfoKey).Target.Os.Name
+ osName := android.OtherModuleProviderOrDefault(ctx, variant, android.CommonModuleInfoProvider).Target.Os.Name
info := android.OtherModuleProviderOrDefault(ctx, variant, CcObjectInfoProvider)
addToOSGroup(osName, info.ObjFiles, allObjFileGroups, subsetObjFileGroups)
addToOSGroup(osName, info.TidyFiles, allTidyFileGroups, subsetTidyFileGroups)