From 1d57b519901391744219b30a530a715a2dee2581 Mon Sep 17 00:00:00 2001 From: fanqibing Date: Wed, 23 Apr 2025 17:38:15 +0800 Subject: [PATCH] remove glib dependency Signed-off-by: fanqibing --- BUILD.gn | 5 ----- bundle.json | 2 -- 2 files changed, 7 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index a30b1cfa..cc6fa076 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -137,7 +137,6 @@ ohos_static_library("websockets") { "//third_party/libwebsockets/lib/event-libs/libev", "//third_party/libwebsockets/lib/event-libs/sdevent", "//third_party/libwebsockets/lib/event-libs/poll", - "//third_party/libwebsockets/lib/event-libs/glib", "//third_party/libwebsockets/lib/cose", "//third_party/libwebsockets/lib/core-net", "//third_party/libwebsockets/lib/core-net/client", @@ -228,8 +227,6 @@ ohos_static_library("websockets") { include_dirs += [ "//third_party/openssl/include/openssl", "//third_party/openssl/crypto/evp", - "//third_party/glib/glib", - "//third_party/glib", ] } @@ -261,7 +258,6 @@ ohos_static_library("websockets") { ] external_deps = [ - "glib:glib", "openssl:libcrypto_shared", "openssl:libssl_shared", "zlib:libz", @@ -298,7 +294,6 @@ config("websockets_public_config") { "//third_party/libwebsockets/lib/event-libs/libuv", "//third_party/libwebsockets/lib/event-libs/poll", "//third_party/libwebsockets/lib/event-libs/libevent", - "//third_party/libwebsockets/lib/event-libs/glib", "//third_party/libwebsockets/lib/event-libs/libev", "//third_party/libwebsockets/lib/jose/jwe", "//third_party/libwebsockets/lib/jose/jws", diff --git a/bundle.json b/bundle.json index d9d57ac3..8214c77b 100644 --- a/bundle.json +++ b/bundle.json @@ -20,7 +20,6 @@ "ram": "13865KB", "deps": { "components": [ - "glib", "openssl", "zlib" ], @@ -44,7 +43,6 @@ "//third_party/libwebsockets/lib/event-libs/libuv", "//third_party/libwebsockets/lib/event-libs/poll", "//third_party/libwebsockets/lib/event-libs/libevent", - "//third_party/libwebsockets/lib/event-libs/glib", "//third_party/libwebsockets/lib/event-libs/libev", "//third_party/libwebsockets/lib/jose/jwe", "//third_party/libwebsockets/lib/jose/jws", -- Gitee