ladybird/Userland/Applications/Browser/CMakeLists.txt
Sam Atkins 8c0f1da9f7 Browser: Add a basic WebDriver API
This adds a new option "--webdriver" that opens a local unix socket
in /tmp/browser_{pid} which the WebDriver server can use to send
commands to the Browser instance.

Co-authored-by: Florent Castelli <florent.castelli@gmail.com>
2022-10-12 23:07:42 +02:00

46 lines
1.2 KiB
CMake

serenity_component(
Browser
RECOMMENDED
TARGETS Browser
DEPENDS BrowserSettings ImageDecoder RequestServer WebContent WebSocket
)
compile_ipc(WebDriverSessionServer.ipc WebDriverSessionServerEndpoint.h)
compile_ipc(WebDriverSessionClient.ipc WebDriverSessionClientEndpoint.h)
compile_gml(BrowserWindow.gml BrowserWindowGML.h browser_window_gml)
compile_gml(EditBookmark.gml EditBookmarkGML.h edit_bookmark_gml)
compile_gml(StorageWidget.gml StorageWidgetGML.h storage_widget_gml)
compile_gml(Tab.gml TabGML.h tab_gml)
set(SOURCES
BookmarksBarWidget.cpp
BrowserWindow.cpp
ConsoleWidget.cpp
CookieJar.cpp
CookiesModel.cpp
DownloadWidget.cpp
ElementSizePreviewWidget.cpp
History.cpp
IconBag.cpp
InspectorWidget.cpp
StorageModel.cpp
StorageWidget.cpp
Tab.cpp
WebDriverConnection.cpp
WindowActions.cpp
main.cpp
)
set(GENERATED_SOURCES
BrowserWindowGML.h
EditBookmarkGML.h
StorageWidgetGML.h
TabGML.h
WebDriverSessionClientEndpoint.h
WebDriverSessionServerEndpoint.h
)
serenity_app(Browser ICON app-browser)
target_link_libraries(Browser LibWebView LibWeb LibProtocol LibGUI LibDesktop LibConfig LibMain)
link_with_locale_data(Browser)