Files
rk35xx-android14/external/rust/crates/bindgen-cli/patches/Android.bp.diff
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

22 lines
444 B
Diff

diff --git a/Android.bp b/Android.bp
index c7f0f52..518b91a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -27,3 +27,16 @@ rust_binary_host {
],
compile_multilib: "first",
}
+
+rust_library_host {
+ name: "libbindgen_cli",
+ crate_name: "bindgen_cli",
+ srcs: ["options.rs"],
+ edition: "2018",
+ rustlibs: [
+ "libbindgen",
+ "libclap",
+ "libenv_logger",
+ ],
+ compile_multilib: "first",
+}