summaryrefslogtreecommitdiff
path: root/android/visibility_test.go
diff options
context:
space:
mode:
author Liz Kammer <eakammer@google.com> 2020-10-19 15:01:09 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-10-19 15:01:09 +0000
commitb51d6d13a83413c2641caf28b8777df828cd3619 (patch)
tree6a4fa66a0b2a790dd15c1354c06dd77ecb116bd8 /android/visibility_test.go
parent509a9d35ac77b474088016327c21083239a4deb8 (diff)
parente501bb4d48414b9bf45f31712d75bdf5e3faa789 (diff)
Merge "Expand visiblity error"
Diffstat (limited to 'android/visibility_test.go')
-rw-r--r--android/visibility_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/visibility_test.go b/android/visibility_test.go
index 9d9e57438..cb5ef35b3 100644
--- a/android/visibility_test.go
+++ b/android/visibility_test.go
@@ -731,7 +731,7 @@ var visibilityTests = []struct {
}`),
},
expectedErrors: []string{
- `module "libnamespace" variant "android_common": depends on //top:libexample which is not visible to this module`,
+ `module "libnamespace" variant "android_common": depends on //top:libexample which is not visible to this module\nYou may need to add "//namespace" to its visibility`,
},
},
{
@@ -760,7 +760,7 @@ var visibilityTests = []struct {
}`),
},
expectedErrors: []string{
- `module "libnamespace" variant "android_common": depends on //top:libexample which is not visible to this module`,
+ `module "libnamespace" variant "android_common": depends on //top:libexample which is not visible to this module\nYou may need to add "//namespace" to its visibility`,
},
},
{