mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:18:11 +00:00

These are exactly what's wanted by headless-browser too, so this saves us some duplication. LibWeb already links LibCore so it should not cause any issues for Ladybird.
23 lines
625 B
CMake
23 lines
625 B
CMake
serenity_component(
|
|
WebContent
|
|
TARGETS WebContent
|
|
DEPENDS ImageDecoder RequestServer WebSocket
|
|
)
|
|
|
|
compile_ipc(WebContentServer.ipc WebContentServerEndpoint.h)
|
|
compile_ipc(WebContentClient.ipc WebContentClientEndpoint.h)
|
|
|
|
set(SOURCES
|
|
ConnectionFromClient.cpp
|
|
ConsoleGlobalObject.cpp
|
|
ImageCodecPluginSerenity.cpp
|
|
PageHost.cpp
|
|
WebContentClientEndpoint.h
|
|
WebContentConsoleClient.cpp
|
|
WebContentServerEndpoint.h
|
|
main.cpp
|
|
)
|
|
|
|
serenity_bin(WebContent)
|
|
target_link_libraries(WebContent LibCore LibIPC LibGfx LibImageDecoderClient LibWebView LibWeb LibMain)
|
|
link_with_locale_data(WebContent)
|