aboutsummaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorMartin Stjernholm <mast@google.com>2020-05-13 01:54:21 +0100
committerPaul Duffin <paulduffin@google.com>2020-05-16 12:06:54 +0100
commit68e9d96d61049c39698808cf3186c3d9b8cfc6c4 (patch)
tree0ff19e886fb9198ab92fc6b2154716ae6b0b0af5 /android
parent18a289560d6e5a4019ebc0bc03b5853406606a33 (diff)
downloadbuild_soong-68e9d96d61049c39698808cf3186c3d9b8cfc6c4.tar.gz
build_soong-68e9d96d61049c39698808cf3186c3d9b8cfc6c4.tar.bz2
build_soong-68e9d96d61049c39698808cf3186c3d9b8cfc6c4.zip
Don't print :__pkg__ for package rules, since that's the default.
To reduce clutter a little. // Added for rvc-dev. Used this bug as it is the bug that needs all the build changes. Bug: 155164730 Test: m nothing Merged-In: I0d2d86f00c3d38e603d6f58c4b1dd9a4170bf819 Change-Id: I0d2d86f00c3d38e603d6f58c4b1dd9a4170bf819 (cherry picked from commit 01407c525aa0c6326049a4c9179d74188ef4f86b)
Diffstat (limited to 'android')
-rw-r--r--android/visibility.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/visibility.go b/android/visibility.go
index 2cb00233..6558e462 100644
--- a/android/visibility.go
+++ b/android/visibility.go
@@ -140,7 +140,7 @@ func (r packageRule) matches(m qualifiedModuleName) bool {
}
func (r packageRule) String() string {
- return fmt.Sprintf("//%s:__pkg__", r.pkg)
+ return fmt.Sprintf("//%s", r.pkg) // :__pkg__ is the default, so skip it.
}
// A subpackagesRule is a visibility rule that matches modules in a specific package (i.e.