fix zlib references

Signed-off-by: suyuchen <suyuchen4@huawei.com>
This commit is contained in:
suyuchen 2024-10-21 20:12:41 +08:00
parent 0bdb1d1209
commit 00057d6373
3 changed files with 5 additions and 5 deletions

View File

@ -54,7 +54,6 @@
"libuv",
"openssl",
"sqlite",
"zlib",
"googletest"
],
"kernel_special": {},
@ -77,7 +76,8 @@
"napi",
"safwk",
"samgr",
"file_api"
"file_api",
"zlib"
]
},
"build": {

View File

@ -112,13 +112,13 @@ ohos_shared_library("distributeddb") {
"hilog:libhilog",
"hisysevent:libhisysevent",
"hitrace:hitrace_meter",
"zlib:shared_libz",
]
public_external_deps = [
"jsoncpp:jsoncpp",
"openssl:libcrypto_shared",
"sqlite:sqlite",
"zlib:shared_libz",
]
subsystem_name = "distributeddatamgr"

View File

@ -189,7 +189,6 @@ ohos_source_set("src_file") {
deps = [
"//third_party/googletest:gtest_main",
"//third_party/sqlite:sqlite",
"//third_party/zlib:libz",
]
configs += [ "//third_party/jsoncpp:jsoncpp_config" ]
@ -208,6 +207,7 @@ ohos_source_set("src_file") {
"hilog:libhilog",
"hisysevent:libhisysevent",
"hitrace:hitrace_meter",
"zlib:libz",
]
part_name = "kv_store"
}
@ -228,7 +228,6 @@ template("distributeddb_unittest") {
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/sqlite:sqlite",
"//third_party/zlib:libz",
]
configs += [ "//third_party/jsoncpp:jsoncpp_config" ]
ldflags = [ "-Wl,--exclude-libs,ALL" ]
@ -242,6 +241,7 @@ template("distributeddb_unittest") {
"hilog:libhilog",
"hisysevent:libhisysevent",
"hitrace:hitrace_meter",
"zlib:libz",
]
}
}