From 6d30e50144b2f3c63279b57e576b86c43815ffdb Mon Sep 17 00:00:00 2001 From: l30065255 Date: Sat, 23 Nov 2024 11:03:30 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E4=BB=B6=E7=8B=AC=E7=AB=8B=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I9f67b70fcd1384e16025b57d1d5565999d75672c Signed-off-by: l30065255 --- BUILD.gn | 1 + bundle.json | 42 +++++++++++++++++++++++++++++++++++++++++- 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index a8390f52..70eb2187 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -249,6 +249,7 @@ ohos_static_library("websockets") { "//third_party/openssl:libssl_shared", ] external_deps = [ "zlib:libz" ] + public_configs = [ ":websockets_public_config" ] } config("websocket_config") { diff --git a/bundle.json b/bundle.json index 4df4850c..06afa3b2 100644 --- a/bundle.json +++ b/bundle.json @@ -26,7 +26,47 @@ }, "build": { "sub_component": [], - "inner_kits": [], + "inner_kits": [ + { + "name":"//third_party/libwebsockets:websockets", + "header":{ + "header_files": [], + "header_base": [ + "//third_party/libwebsockets/plugins", + "//third_party/libwebsockets/lib/core", + "//third_party/libwebsockets/lib/core-net", + "//third_party/libwebsockets/lib/event-libs", + "//third_party/libwebsockets/lib/abstract", + "//third_party/libwebsockets/lib/tls", + "//third_party/libwebsockets/lib/roles", + "//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", + "//third_party/libwebsockets/lib/jose", + "//third_party/libwebsockets/lib/misc", + "//third_party/libwebsockets/lib/roles/http", + "//third_party/libwebsockets/lib/roles/http/compression", + "//third_party/libwebsockets/lib/roles/h1", + "//third_party/libwebsockets/lib/roles/h2", + "//third_party/libwebsockets/lib/roles/ws", + "//third_party/libwebsockets/lib/roles/cgi", + "//third_party/libwebsockets/lib/roles/dbus", + "//third_party/libwebsockets/lib/roles/raw-proxy", + "//third_party/libwebsockets/lib/abstract", + "//third_party/libwebsockets/lib/system/async-dns", + "//third_party/libwebsockets/lib/roles/mqtt", + "//third_party/libwebsockets/lib/system/metrics", + "//third_party/libwebsockets/lib", + "//third_party/libwebsockets/win32port/win32helpers", + "//third_party/libwebsockets/include" + ] + } + } + ], "test": [] } } -- Gitee