mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-07-01 06:48:29 -04:00
bindgen新增bundle.json部件化
Signed-off-by: ljy9810 <longjianyin@h-partners.com>
This commit is contained in:
@@ -38,4 +38,6 @@ ohos_cargo_crate("bindgen") {
|
||||
"static",
|
||||
"which-rustfmt",
|
||||
]
|
||||
part_name = "rust_bindgen"
|
||||
subsystem_name = "thirdparty"
|
||||
}
|
||||
|
||||
+34
@@ -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": []
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user