aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2024-01-09 15:53:28 +0000
committerAndrew Walbran <qwandor@google.com>2024-01-09 16:10:02 +0000
commit41e6ac22cc8d51fc8c1a5f447225d5bbffa41c51 (patch)
tree677e9d91739aa7f624af8c6683004c9766fd9d56
parentd07aafe978c88aad2ce44dfb88619f0afdaf13c9 (diff)
downloadx509-parser-main.tar.gz
Restrict visibility to existing user.HEADmastermain
We are trying to remove this library, so nobody new should use it. Test: m rust Change-Id: Iba886de997ac1875ef65d467cb3f5146609c2a79
-rw-r--r--Android.bp1
-rw-r--r--cargo_embargo.json5
2 files changed, 6 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index d52e885..b063d70 100644
--- a/Android.bp
+++ b/Android.bp
@@ -62,4 +62,5 @@ rust_library {
],
product_available: true,
vendor_available: true,
+ visibility: ["//vendor:__subpackages__"],
}
diff --git a/cargo_embargo.json b/cargo_embargo.json
index b5493bc..2826d02 100644
--- a/cargo_embargo.json
+++ b/cargo_embargo.json
@@ -3,6 +3,11 @@
"//apex_available:platform",
"com.android.virt"
],
+ "module_visibility": {
+ "libx509_parser": [
+ "//vendor:__subpackages__"
+ ]
+ },
"package": {
"x509-parser": {
"dep_blocklist": [