aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Clément Tosi <ptosi@google.com>2023-02-13 23:53:37 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-02-13 23:53:37 +0000
commitf1f097f924ac1497cec68b83abfe913f05473307 (patch)
tree65a4f7b4976711e9d41ca57b6d357fd4aafb55bd
parent180bc5646f2feade2deb7de68ec2d5ddf9971c28 (diff)
parent2ecf280390a41df2f58a9af1401e2dbac2e7c4cc (diff)
downloadopen-dice-f1f097f924ac1497cec68b83abfe913f05473307.tar.gz
ANDROID: Make Rust bindgens wrap their libs am: a7f334a688 am: 2ecf280390
Original change: https://android-review.googlesource.com/c/platform/external/open-dice/+/2430697 Change-Id: I9efd8c14c3245a2a7bebc7451333fa92c45c53d1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--Android.bp9
1 files changed, 2 insertions, 7 deletions
diff --git a/Android.bp b/Android.bp
index 5f9cda2..1ec5bbe 100644
--- a/Android.bp
+++ b/Android.bp
@@ -302,10 +302,7 @@ rust_defaults {
wrapper_src: "rust/dice.h",
crate_name: "open_dice_cbor_bindgen",
source_stem: "bindings",
- header_libs: [
- "libopen_dice_boringssl_ed25519_headers",
- "libopen_dice_headers",
- ],
+ whole_static_libs: ["libopen_dice_cbor"],
// Generate bindings only for the symbols that are actually exported (see exported.map.txt).
// This makes the generated bindings much more concise and improves compilation
@@ -363,9 +360,7 @@ rust_defaults {
wrapper_src: "rust/android/bcc.h",
crate_name: "open_dice_bcc_bindgen",
source_stem: "bindings",
- header_libs: [
- "libopen_dice_headers",
- ],
+ whole_static_libs: ["libopen_dice_bcc"],
// Generate bindings only for the symbols that are actually exported (see exported.map.txt).
// This makes the generated bindings much more concise and improves compilation