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", "libuv",
"openssl", "openssl",
"sqlite", "sqlite",
"zlib",
"googletest" "googletest"
], ],
"kernel_special": {}, "kernel_special": {},
@ -77,7 +76,8 @@
"napi", "napi",
"safwk", "safwk",
"samgr", "samgr",
"file_api" "file_api",
"zlib"
] ]
}, },
"build": { "build": {

View File

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

View File

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