summaryrefslogtreecommitdiff
path: root/android/paths.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2025-03-04 19:01:28 +0000
committer Yu Liu <yudiliu@google.com> 2025-03-07 23:16:47 +0000
commitef9e63e775493bd73cb28917ad59e6b10e5506b5 (patch)
treeed7e9c2d65f85806a3ababb6bc8a1583465370a2 /android/paths.go
parent8840812f9dfa3ba5ceecd75e582836a3c673d54b (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 'android/paths.go')
-rw-r--r--android/paths.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/paths.go b/android/paths.go
index 9c0c9a273..f7fcd35ff 100644
--- a/android/paths.go
+++ b/android/paths.go
@@ -683,7 +683,7 @@ func getPathsFromModuleDep(ctx ModuleWithDepsPathContext, path, moduleName, tag
if module == nil {
return nil, missingDependencyError{[]string{moduleName}}
}
- if !OtherModuleProviderOrDefault(ctx, *module, CommonModuleInfoKey).Enabled {
+ if !OtherModuleProviderOrDefault(ctx, *module, CommonModuleInfoProvider).Enabled {
return nil, missingDependencyError{[]string{moduleName}}
}