summaryrefslogtreecommitdiff
path: root/android/paths.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2025-02-25 12:55:33 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-02-25 12:55:33 -0800
commitd272a622e908736b01bf731dc653aadc47c64971 (patch)
tree35ddbe0592ca3f0a703c2d39b8747729590e809d /android/paths.go
parent89dab88cc55d9ab0ff85d0a30780ad182cdaf214 (diff)
parent2a815b6d8ea8f29b54f780b1219c28b0c8c977aa (diff)
Merge "Convert the following singletons to use ModuleProxy:" into main
Diffstat (limited to 'android/paths.go')
-rw-r--r--android/paths.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/paths.go b/android/paths.go
index 1c0321c02..a944c48db 100644
--- a/android/paths.go
+++ b/android/paths.go
@@ -229,6 +229,8 @@ func ReportPathErrorf(ctx PathContext, format string, args ...interface{}) {
}
}
+// TODO(b/397766191): Change the signature to take ModuleProxy
+// Please only access the module's internal data through providers.
func pathContextName(ctx PathContext, module blueprint.Module) string {
if x, ok := ctx.(interface{ ModuleName(blueprint.Module) string }); ok {
return x.ModuleName(module)