diff options
author | 2025-03-04 19:01:28 +0000 | |
---|---|---|
committer | 2025-03-07 23:16:47 +0000 | |
commit | ef9e63e775493bd73cb28917ad59e6b10e5506b5 (patch) | |
tree | ed7e9c2d65f85806a3ababb6bc8a1583465370a2 /cc/tidy.go | |
parent | 8840812f9dfa3ba5ceecd75e582836a3c673d54b (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 'cc/tidy.go')
-rw-r--r-- | cc/tidy.go | 2 |
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) |