From 5dcd624a88e65c47bf5a26376215ab6d837b222b Mon Sep 17 00:00:00 2001 From: hu-kai45 Date: Wed, 12 Jul 2023 16:39:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20ylong=5Fhttp=5Fclient=5Frl?= =?UTF-8?q?ib=20=E4=B8=BA=20ylong=5Fhttp=5Fclient=5Finner=EF=BC=8C?= =?UTF-8?q?=E5=B9=B6=E4=BF=AE=E6=94=B9=E8=BE=93=E5=87=BA=E6=96=B9=E5=BC=8F?= =?UTF-8?q?=E4=B8=BA=20so?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: hu-kai45 --- bundle.json | 9 ++------- ylong_http_client/BUILD.gn | 4 ++-- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/bundle.json b/bundle.json index 3e8e106..715f746 100644 --- a/bundle.json +++ b/bundle.json @@ -19,12 +19,7 @@ "features": [], "rom": "100KB", "ram": "~200KB", - "deps": { - "third_party": [ - "openssl", - "rust_tokio" - ] - }, + "deps": {}, "build": { "sub_component": [], "inner_kits": [ @@ -33,7 +28,7 @@ "header_base": [], "header_files": [] }, - "name": "//commonlibrary/rust/ylong_http/ylong_http_client:ylong_http_client_rlib" + "name": "//commonlibrary/rust/ylong_http/ylong_http_client:ylong_http_client_inner" }, { "header": { diff --git a/ylong_http_client/BUILD.gn b/ylong_http_client/BUILD.gn index ccc1812..5f73d07 100644 --- a/ylong_http_client/BUILD.gn +++ b/ylong_http_client/BUILD.gn @@ -14,9 +14,9 @@ import("//build/ohos.gni") import("//build/test.gni") -ohos_rust_static_library("ylong_http_client_rlib") { +ohos_rust_shared_library("ylong_http_client_inner") { crate_name = "ylong_http_client_inner" - crate_type = "rlib" + crate_type = "dylib" crate_root = "src/lib.rs" subsystem_name = "commonlibrary" -- Gitee