!627 修改zlib依赖

Merge pull request !627 from yuanye/master
This commit is contained in:
openharmony_ci 2024-10-23 09:38:12 +00:00 committed by Gitee
commit 48f512ce6f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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"
]