summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2019-07-01 10:29:41 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-07-01 10:29:41 +0000
commit65f62a8cef7b976b35d738812a77ecb566f251a9 (patch)
tree2e26f5adefd20419f6f1bdd5a98a31b241fa783d
parent6c3596d66b7aeefc12fd1fd8fd05c3d41b3931b3 (diff)
parent9a3df700941f36f68d829927fd1d66ea03130cdf (diff)
downloadapache-xml-65f62a8cef7b976b35d738812a77ecb566f251a9.tar.gz
Merge "Set default visibility to private"
-rw-r--r--Android.bp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 84a8f14..80c7ec7 100644
--- a/Android.bp
+++ b/Android.bp
@@ -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,