aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2019-07-24 13:45:05 +0100
committerPaul Duffin <paulduffin@google.com>2019-07-25 11:48:21 +0100
commit95d53b584f0457ff831387d47582bf5193de51cd (patch)
tree1846cd711b552bbb3724f41337550d5345615977 /README.md
parent63c6e183d508927611264944a7de1982cfdec8e1 (diff)
downloadbuild_soong-95d53b584f0457ff831387d47582bf5193de51cd.tar.gz
build_soong-95d53b584f0457ff831387d47582bf5193de51cd.tar.bz2
build_soong-95d53b584f0457ff831387d47582bf5193de51cd.zip
Add defaults_visibility support
Bug: 130796911 Test: m nothing Change-Id: I7b9462d3360be2bbeaf6ff38c5328f45ff5b5ebb
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index 531ef4c6..60d7d5a8 100644
--- a/README.md
+++ b/README.md
@@ -236,6 +236,11 @@ a `default_visibility` property is specified.
If no `default_visibility` property can be found then the module uses the
global default of `//visibility:legacy_public`.
+The `visibility` property has no effect on a defaults module although it does
+apply to any non-defaults module that uses it. To set the visibility of a
+defaults module, use the `defaults_visibility` property on the defaults module;
+not to be confused with the `default_visibility` property on the package module.
+
Once the build has been completely switched over to soong it is possible that a
global refactoring will be done to change this to `//visibility:private` at
which point all packages that do not currently specify a `default_visibility`