diff --git a/BUILD.gn b/BUILD.gn index a8390f520a384cb179c5a741173487825666da09..70eb2187f72f0e2faadb48b4a99204692e3c0db3 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 4df4850c0b30d2e3ce34480aa9e4e643ba9ed315..06afa3b26399a6af60aa981a193a55151da3cd7f 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": [] } }