libs/avb: Introduce libavb_baremetal
Introduce a no_std variant of the libavb_bindgen library that links
against the baremetal variants of libavb and libcrypto.
Move the usespace libavb_bindgen back to depending on the debug-printing
libavb as it isn't as constrained with logging.
Bug: 267447272
Test: m pvmfw_img
Change-Id: Ic713e4ac5e31b41b233a8791e77325a1a61d888b
diff --git a/pvmfw/avb/Android.bp b/pvmfw/avb/Android.bp
index 0c1e392..7ed4895 100644
--- a/pvmfw/avb/Android.bp
+++ b/pvmfw/avb/Android.bp
@@ -8,11 +8,11 @@
srcs: ["src/lib.rs"],
prefer_rlib: true,
rustlibs: [
- "libavb_bindgen",
+ "libavb_bindgen_nostd",
"libtinyvec_nostd",
],
whole_static_libs: [
- "libavb_non_debug",
+ "libavb_baremetal",
],
}