From d86e6faf4c23d5a9da62d5306b6b79cdde0f42b2 Mon Sep 17 00:00:00 2001 From: Alexander Kuznetsov Date: Wed, 5 Jun 2024 10:47:33 +0300 Subject: [PATCH 1/5] cxx include_dir rectification Signed-off-by: Alexander Kuznetsov Change-Id: I3433782b0eb6c53b5d2c4ec695cd40a4811fda99 --- bundle.json | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 bundle.json diff --git a/bundle.json b/bundle.json new file mode 100644 index 00000000..577194c0 --- /dev/null +++ b/bundle.json @@ -0,0 +1,43 @@ +{ + "name": "@ohos/rust_crates_cxx", + "description": "A Rust library that provides a safe and easy way to call C++ code from Rust.", + "version": "1.0.97", + "license": "LICENSE-APACHE, LICENSE-MIT", + "publishAs": "code-segment", + "segment": { + "destPath": "third_party/rust/crates/cxx" + }, + "dirs": {}, + "scripts": {}, + "readmePath": { + "en": "README" + }, + "component": { + "name": "rust_crates_cxx", + "subsystem": "thirdparty", + "syscap": [], + "features": [], + "adapted_system_type": [ + "standard" + ], + "rom": "", + "ram": "", + "deps": { + "components": [], + "third_party": [] + }, + "build": { + "sub_component": [], + "inner_kits": [ + { + "header": { + "header_base": "//third_party/rust/crates/cxx", + "header_files": [""] + }, + "name": "//third_party/rust/crates/cxx:cxx_cppdeps" + } + ], + "test": [] + } + } +} \ No newline at end of file -- Gitee From c28861652ac69c26a38ec370b46ca79a25f2c1f3 Mon Sep 17 00:00:00 2001 From: Alexander Kuznetsov Date: Wed, 5 Jun 2024 11:24:50 +0300 Subject: [PATCH 2/5] cxx include_dir rectification Signed-off-by: Alexander Kuznetsov Change-Id: Ib4df733d9b03dd0dc42dab183dc2f61dc7758318 --- bundle.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle.json b/bundle.json index 577194c0..db388b88 100644 --- a/bundle.json +++ b/bundle.json @@ -1,5 +1,5 @@ { - "name": "@ohos/rust_crates_cxx", + "name": "@ohos/cxx", "description": "A Rust library that provides a safe and easy way to call C++ code from Rust.", "version": "1.0.97", "license": "LICENSE-APACHE, LICENSE-MIT", -- Gitee From d24315def76bcd052f0f263f28cee2af8d23d929 Mon Sep 17 00:00:00 2001 From: Alexander Kuznetsov Date: Wed, 5 Jun 2024 14:02:23 +0300 Subject: [PATCH 3/5] cxx include_dir rectification Signed-off-by: Alexander Kuznetsov Change-Id: I18b3ccdbf7c01d48bcf9f7465cd519dd1833201f --- bundle.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle.json b/bundle.json index db388b88..46339d67 100644 --- a/bundle.json +++ b/bundle.json @@ -13,7 +13,7 @@ "en": "README" }, "component": { - "name": "rust_crates_cxx", + "name": "cxx", "subsystem": "thirdparty", "syscap": [], "features": [], -- Gitee From 3dbd4afb4ee0742ac5f0e29a75dff120d8d9eda5 Mon Sep 17 00:00:00 2001 From: Alexander Kuznetsov Date: Wed, 5 Jun 2024 16:29:56 +0300 Subject: [PATCH 4/5] cxx include_dir rectification Signed-off-by: Alexander Kuznetsov Change-Id: I785a7d846163593ec211269cd1c07112c818ea31 --- bundle.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle.json b/bundle.json index 46339d67..81ebcdd0 100644 --- a/bundle.json +++ b/bundle.json @@ -32,7 +32,7 @@ { "header": { "header_base": "//third_party/rust/crates/cxx", - "header_files": [""] + "header_files": [] }, "name": "//third_party/rust/crates/cxx:cxx_cppdeps" } -- Gitee From 3161124b8722655790309b404173aea4ee9761e3 Mon Sep 17 00:00:00 2001 From: Alexander Kuznetsov Date: Mon, 10 Jun 2024 11:15:31 +0300 Subject: [PATCH 5/5] cxx include_dir rectification Signed-off-by: Alexander Kuznetsov Change-Id: I9bce0095ed43e8f8e43dd5366077d96a682badaa --- bundle.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bundle.json b/bundle.json index 81ebcdd0..47467227 100644 --- a/bundle.json +++ b/bundle.json @@ -35,6 +35,13 @@ "header_files": [] }, "name": "//third_party/rust/crates/cxx:cxx_cppdeps" + }, + { + "header": { + "header_base": "//third_party/rust/crates/cxx", + "header_files": [""] + }, + "name": "//third_party/rust/crates/cxx:lib" } ], "test": [] -- Gitee