summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2025-03-17 11:43:28 -0700
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-03-17 11:43:28 -0700
commitcc7cd28a80b3ccbe37af09b8e034b1defbf9aa90 (patch)
tree914879e81a81ac23464987be438a5e38ea7de436
parent8b7a3b808776aecc5483cfe86bbed3fdb01d6a49 (diff)
parent595c7fdb4b32d9fc532ba1b0c1409475738d6adf (diff)
Merge "Remove debugging accidentally added to visibility error message" into main
-rw-r--r--android/visibility.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/visibility.go b/android/visibility.go
index 416a3f15f..915368710 100644
--- a/android/visibility.go
+++ b/android/visibility.go
@@ -551,7 +551,7 @@ func visibilityRuleEnforcer(ctx BottomUpMutatorContext) {
rule := effectiveVisibilityRules(ctx.Config(), depQualified)
if !rule.matches(qualified) {
- ctx.ModuleErrorf("depends on %s which is not visible to this module\nYou may need to add %q to its visibility, %#v", depQualified, "//"+ctx.ModuleDir(), ctx.OtherModuleDependencyTag(dep))
+ ctx.ModuleErrorf("depends on %s which is not visible to this module\nYou may need to add %q to its visibility", depQualified, "//"+ctx.ModuleDir())
}
})
}