zlib迁移到external_deps

Signed-off-by: sunjie <sunjie69@huawei.com>
Change-Id: Idcb8ae3b4af0c909c63b5960253bd20eca536c50
This commit is contained in:
sunjie
2025-01-09 13:53:51 +08:00
parent c606826acd
commit dff6a6c572
2 changed files with 6 additions and 4 deletions
+2 -1
View File
@@ -65,9 +65,10 @@ ohos_executable("restool") {
"//third_party/bounds_checking_function:libsec_static",
"//third_party/cJSON:cjson_static",
"//third_party/libpng:libpng_static",
"//third_party/zlib:libz",
]
external_deps = [ "zlib:libz" ]
cflags = [ "-std=c++17" ]
if (is_mingw) {
ldflags = [
+4 -3
View File
@@ -18,12 +18,13 @@
"rom": "0KB",
"ram": "0KB",
"deps": {
"components": [],
"components": [
"zlib"
],
"third_party": [
"bounds_checking_function",
"cJSON",
"libpng",
"zlib"
"libpng"
]
},
"build": {