aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Wang <aliceywang@google.com>2023-02-03 14:38:13 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-02-03 14:38:13 +0000
commit51ba201c08b52bd35b573541d1ff659f53a3c573 (patch)
tree4b202dde8d3f2d26beafba75c7dd55ac877bba51
parent95ae46686a301a366aec929f9f16eb7759ca6424 (diff)
parent26eaca0ed666abc7400586ade6bcf60ceb449874 (diff)
downloadopen-dice-51ba201c08b52bd35b573541d1ff659f53a3c573.tar.gz
[ANDROID] Make dice_cbor_bindgen visible to system/security/diced am: b321fa3d1f am: 26eaca0ed6
Original change: https://android-review.googlesource.com/c/platform/external/open-dice/+/2418819 Change-Id: If05b0720203ad4a9fd7f6eced20966df70f2b8b8 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--Android.bp8
1 files changed, 6 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index a0e4ff0..b692a01 100644
--- a/Android.bp
+++ b/Android.bp
@@ -202,6 +202,7 @@ rust_defaults {
// time.
bindgen_flags: [
"--size_t-is-usize",
+ "--rustified-enum DiceConfigType",
"--rustified-enum DiceMode",
"--allowlist-function=DiceDeriveCdiPrivateKeySeed",
@@ -230,7 +231,7 @@ rust_defaults {
rust_bindgen {
name: "libopen_dice_cbor_bindgen",
defaults: ["libopen_dice_cbor_bindgen.rust_defaults"],
- visibility: ["//system/security/diced/open_dice_cbor"],
+ visibility: ["//system/security/diced:__subpackages__"],
}
rust_bindgen {
@@ -239,7 +240,10 @@ rust_bindgen {
"libopen_dice_cbor_bindgen.rust_defaults",
"libopen_dice_bindgen_nostd.rust_defaults",
],
- visibility: ["//packages/modules/Virtualization:__subpackages__"],
+ visibility: [
+ "//system/security/diced:__subpackages__",
+ "//packages/modules/Virtualization:__subpackages__",
+ ],
}
rust_defaults {