aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2024-01-09 16:18:38 +0000
committerAndrew Walbran <qwandor@google.com>2024-01-09 16:18:38 +0000
commit0c9bf2fe1896ef737e63fb69c84a4f92262d89db (patch)
tree254db9cfc88690d4b98620b6aee15620fc0d1403
parent17ec61c02f65ece620c1ece4115da45f5d86fbdc (diff)
downloadoid-registry-main.tar.gz
Restrict visibility to existing users.HEADmastermain
Test: m rust Change-Id: Ie167fe69b7aa2b0b117ae8eec1a4bcb7677a7a0c
-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 58d983e..adbfd89 100644
--- a/Android.bp
+++ b/Android.bp
@@ -73,6 +73,7 @@ rust_library {
],
product_available: true,
vendor_available: true,
+ visibility: ["//external/rust/crates/x509-parser"],
}
rust_test {
diff --git a/cargo_embargo.json b/cargo_embargo.json
index 2ff35b0..2e61903 100644
--- a/cargo_embargo.json
+++ b/cargo_embargo.json
@@ -7,6 +7,11 @@
"crypto",
"x509"
],
+ "module_visibility": {
+ "liboid_registry": [
+ "//external/rust/crates/x509-parser"
+ ]
+ },
"package": {
"oid-registry": {
"copy_out": true