mirror of
https://gitee.com/openharmony/communication_netstack
synced 2025-02-10 21:03:23 +00:00
update interfaces/innerkits/rust/ylong_http_client/BUILD.gn.
Signed-off-by: Yangys <yangyousheng@huawei.com>
This commit is contained in:
parent
6ec246160a
commit
9534def4e1
@ -13,6 +13,13 @@
|
||||
|
||||
import("//build/ohos.gni")
|
||||
|
||||
if (!defined(global_parts_info) ||
|
||||
defined(global_parts_info.commonlibrary_ylong_http)) {
|
||||
has_commonlibrary_ylong_http = true
|
||||
} else {
|
||||
has_commonlibrary_ylong_http = false
|
||||
}
|
||||
|
||||
ohos_rust_shared_library("ylong_http_client") {
|
||||
crate_name = "ylong_http_client"
|
||||
crate_type = "dylib"
|
||||
@ -25,7 +32,9 @@ ohos_rust_shared_library("ylong_http_client") {
|
||||
sources = [ "src/lib.rs" ]
|
||||
edition = "2021"
|
||||
clippy_lints = "none"
|
||||
external_deps = [ "ylong_http:ylong_http_client_inner" ]
|
||||
if (has_commonlibrary_ylong_http) {
|
||||
external_deps = [ "ylong_http:ylong_http_client_inner" ]
|
||||
}
|
||||
features = [
|
||||
"default",
|
||||
"ylong_impl",
|
||||
|
Loading…
x
Reference in New Issue
Block a user