diff --git a/bundle.json b/bundle.json index 3e8e106645db546d80cf3fd9f23cdde02432644d..715f746626eb4d193cd60ff27a803ba220657d09 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 ccc1812d38452995e46dcc1b7e361e9ea7a43ec3..5f73d07f81996806ec44d8c70dbb23b7bb331fe1 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"