bindgen新增bundle.json部件化

Signed-off-by: ljy9810 <longjianyin@h-partners.com>
This commit is contained in:
ljy9810
2025-12-11 16:17:38 +08:00
parent f8d31f4e78
commit fa8f40ce39
2 changed files with 36 additions and 0 deletions
+2
View File
@@ -38,4 +38,6 @@ ohos_cargo_crate("bindgen") {
"static",
"which-rustfmt",
]
part_name = "rust_bindgen"
subsystem_name = "thirdparty"
}
+34
View File
@@ -0,0 +1,34 @@
{
"name": "@ohos/rust_bindgen",
"description": "A tool that automatically generates Rust bindings for C and C++ libraries.",
"version": "5.0",
"license": "BSD 3-Clause License",
"publishAs": "code-segment",
"segment": {
"destPath": "third_party/rust/crates/bindgen"
},
"dirs": {},
"scripts": {},
"readmePath": {
"en": "README.md"
},
"component": {
"name": "rust_bindgen",
"subsystem": "thirdparty",
"adapted_system_type": [
"standard"
],
"deps": {
"components": []
},
"build": {
"sub_component": [],
"inner_kits": [
{
"name": "//third_party/rust/crates/bindgen/bindgen-cli:bindgen"
}
],
"test": []
}
}
}