diff options
author | Paul Duffin <paulduffin@google.com> | 2019-06-03 15:18:32 +0100 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2019-06-28 10:27:40 +0100 |
commit | 9a3df700941f36f68d829927fd1d66ea03130cdf (patch) | |
tree | 2e26f5adefd20419f6f1bdd5a98a31b241fa783d | |
parent | 6c3596d66b7aeefc12fd1fd8fd05c3d41b3931b3 (diff) | |
download | apache-xml-9a3df700941f36f68d829927fd1d66ea03130cdf.tar.gz |
Set default visibility to private
Added visibility to apache-xml-testdex even though it is only used in
.mk files to record the dependency as the name is constructed
dynamically by adding "-testdex" suffix to a list of other dependencies
and so cannot be found by searching.
Bug: 134379140
Test: m droid
Change-Id: I64d4cdb2fbed80a0d39f06ae2656367ce8c69fbc
-rw-r--r-- | Android.bp | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -14,11 +14,16 @@ // limitations under the License. // +package { + default_visibility: ["//visibility:private"], +} + // The set of files that contribute to APIs. // Generally, apache-xml source files are not marked with @hide so we add them // one-by-one after having done so. filegroup { name: "apache-xml_api_files", + visibility: ["//libcore"], srcs: [], } @@ -47,6 +52,9 @@ java_library { // not be stripped. See b/24535627. java_library { name: "apache-xml-testdex", + visibility: [ + "//art:__subpackages__", + ], static_libs: ["apache-xml"], installable: true, |