diff --git a/BUILD.gn b/BUILD.gn index 88cd30b1d66fb8710ccda7a48ee39204dc40af78..d6d41e028a21135f22710af09b5dd8ad3134f3f7 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -211,6 +211,19 @@ ohos_static_library("websockets") { "//third_party/libwebsockets/lib/roles/raw-file", ] + if (is_arkui_x) { + deps = [ + "//third_party/openssl:libcrypto_shared", + "//third_party/openssl:libssl_shared", + ] + include_dirs += [ + "//third_party/openssl/include/openssl", + "//third_party/openssl/crypto/evp", + "//third_party/glib/glib", + "//third_party/glib", + ] + } + if (target_os == "ios") { sources += [ "//third_party/libwebsockets/lib/core-net/vhost_ios.c" ] } else {