Lagom: Add Build WebContentClient as part of Lagom's LibWebView

This will allow us to use it in Ladybird. :^)
This commit is contained in:
Andreas Kling 2022-10-05 14:37:25 +02:00
parent ceccc2c163
commit 4d762fd3a6
Notes: sideshowbarker 2024-07-17 06:20:50 +09:00

View File

@ -586,9 +586,10 @@ if (BUILD_LAGOM)
# WebView
list(APPEND LIBWEBVIEW_SOURCES "../../Userland/Libraries/LibWebView/DOMTreeModel.cpp")
list(APPEND LIBWEBVIEW_SOURCES "../../Userland/Libraries/LibWebView/WebContentClient.cpp")
lagom_lib(WebView webview
SOURCES ${LIBWEBVIEW_SOURCES}
LIBS LibGUI)
LIBS LibGUI LibWeb)
# x86
# FIXME: Excluding arm64 is a temporary hack to circumvent a build problem