修改zlib依赖

Signed-off-by: yuanye <1779331796@qq.com>
This commit is contained in:
yuanye 2024-10-17 22:07:28 +08:00
parent 8e2463cec9
commit 46171de786
2 changed files with 10 additions and 5 deletions

View File

@ -160,7 +160,6 @@ sources_platform_linux = [
common_deps = [
":support_elf",
":support_protobuf",
"//third_party/zlib:libz",
]
common_configs = [
@ -221,7 +220,10 @@ ohos_source_set("hiperf_platform_common") {
external_deps = [ "faultloggerd:unwinder_host" ]
defines += [ "CONFIG_NO_HILOG" ]
}
external_deps += [ "bounds_checking_function:libsec_shared" ]
external_deps += [
"bounds_checking_function:libsec_shared",
"zlib:libz"
]
sources = sources_platform_common
}
@ -245,7 +247,10 @@ ohos_source_set("hiperf_platform_linux") {
} else {
external_deps = [ "faultloggerd:unwinder_host" ]
}
external_deps += [ "bounds_checking_function:libsec_shared" ]
external_deps += [
"bounds_checking_function:libsec_shared",
"zlib:libz"
]
public_configs += [ ":platform_linux_config" ]
configs = [ "interfaces/innerkits/native:hiperf_client_config" ]

View File

@ -28,10 +28,10 @@
"faultloggerd",
"init",
"ability_base",
"bounds_checking_function"
"bounds_checking_function",
"zlib"
],
"third_party": [
"zlib",
"protobuf",
"libunwind"
]