diff options
author | Paul Duffin <paulduffin@google.com> | 2019-06-25 15:40:29 +0100 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2019-07-02 14:26:07 +0100 |
commit | c241d6a26776614449440f7be1851709387deaab (patch) | |
tree | 024eb49dd0eb36511ec188f1a07b9b62c6458baf /non_openjdk_java_files.bp | |
parent | ad7ae581f05bc3320db06e478c8f548220f76810 (diff) |
Set default visibility to private
Takes advantage of a new mechanism for specifying the default visibility
of all modules in a package to restrict the visibility of libcore
modules as much as possible:
package {default_visibility: ["//visibility:private"]}
Bug: 133290645
Bug: 134379140
Test: m droid
Change-Id: I2ba1a6131993d218fd65cd4a8f0ad29a7a83df14
Diffstat (limited to 'non_openjdk_java_files.bp')
-rw-r--r-- | non_openjdk_java_files.bp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/non_openjdk_java_files.bp b/non_openjdk_java_files.bp index caf3c996d8..2cbb946528 100644 --- a/non_openjdk_java_files.bp +++ b/non_openjdk_java_files.bp @@ -298,6 +298,9 @@ filegroup { filegroup { name: "non_openjdk_java_files", + visibility: [ + "//frameworks/base", + ], srcs: [ "luni/src/main/java/java/net/AddressCache.java", "luni/src/main/java/libcore/icu/CollationKeyICU.java", |