diff --git a/BUILD.gn b/BUILD.gn index d3309d557bac1dcb9a2faa27109ea7c4907785d5..a8390f520a384cb179c5a741173487825666da09 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -247,8 +247,8 @@ ohos_static_library("websockets") { deps = [ "//third_party/openssl:libcrypto_shared", "//third_party/openssl:libssl_shared", - "//third_party/zlib:libz", ] + external_deps = [ "zlib:libz" ] } config("websocket_config") { diff --git a/bundle.json b/bundle.json index ec52483f89d2c783c898bd7102ba297e06fbe185..4df4850c0b30d2e3ce34480aa9e4e643ba9ed315 100644 --- a/bundle.json +++ b/bundle.json @@ -19,10 +19,9 @@ "rom": "319KB", "ram": "13865KB", "deps": { - "components": [], + "components": [ "zlib" ], "third_party": [ - "openssl", - "zlib" + "openssl" ] }, "build": {