mirror of
https://github.com/openharmony/third_party_rust_autocfg.git
synced 2026-07-01 00:47:55 -04:00
autocfg增加bundle.json部件化
Signed-off-by: ljy9810 <longjianyin@h-partners.com>
This commit is contained in:
@@ -24,4 +24,7 @@ ohos_cargo_crate("lib") {
|
||||
|
||||
sources = [ "src/lib.rs" ]
|
||||
edition = "2015"
|
||||
module_output_extension = ".rlib"
|
||||
part_name = "rust_autocfg"
|
||||
subsystem_name = "thirdparty"
|
||||
}
|
||||
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "@ohos/rust_autocfg",
|
||||
"description": "A library that generates Rust code based on compile-time configuration options",
|
||||
"version": "6.1",
|
||||
"license": "Apache License 2.0",
|
||||
"publishAs": "code-segment",
|
||||
"segment": {
|
||||
"destPath": "third_party/rust/crates/autocfg"
|
||||
},
|
||||
"dirs": {},
|
||||
"scripts": {},
|
||||
"readmePath": {
|
||||
"en": "README.md"
|
||||
},
|
||||
"component": {
|
||||
"name": "rust_autocfg",
|
||||
"subsystem": "thirdparty",
|
||||
"adapted_system_type": [
|
||||
"standard"
|
||||
],
|
||||
"deps": {
|
||||
"components": []
|
||||
},
|
||||
"build": {
|
||||
"sub_component": [],
|
||||
"inner_kits": [
|
||||
{
|
||||
"name": "//third_party/rust/crates/autocfg:lib"
|
||||
}
|
||||
],
|
||||
"test": []
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user