aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2019-06-25 15:36:04 +0100
committerPaul Duffin <paulduffin@google.com>2019-06-25 15:36:04 +0100
commit11cdd74df5a55ff93211d3547ec2be25a9dda316 (patch)
tree4745a02f425f9bd871a47f2b791dda77b7325fa9
parentb5f4b0d7bd7be9d09c944493d3520b5cf685bb16 (diff)
downloadwycheproof-11cdd74df5a55ff93211d3547ec2be25a9dda316.tar.gz
Set default visibility to privateandroid-o-mr1-iot-release-1.0.14
Takes advantage of a new mechanism for specifying the default visibility of all modules in a package to restrict the visibility of wycheproof modules as much as possible: package {default_visibility: ["//visibility:private"]} Bug: 133290645 Bug: 134379140 Test: m droid Change-Id: I8fdf009e5d4f38c0ca3e051efa1ef36a2ac948ff
-rw-r--r--Android.bp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 3a4142f..765c264 100644
--- a/Android.bp
+++ b/Android.bp
@@ -14,8 +14,16 @@
// limitations under the License.
//
+package {
+ default_visibility: ["//visibility:private"],
+}
+
java_library_static {
name: "wycheproof",
+ visibility: [
+ "//cts/tests/libcore/wycheproof",
+ "//cts/tests/libcore/wycheproof-bc",
+ ],
srcs: ["java/**/*.java"],
exclude_srcs: [
"java/com/google/security/wycheproof/SpongyCastleTest.java",