2020-05-06 15:40:06 +00:00
|
|
|
set(SOURCES
|
|
|
|
Bindings/CanvasRenderingContext2DWrapper.cpp
|
|
|
|
Bindings/DocumentWrapper.cpp
|
|
|
|
Bindings/ElementWrapper.cpp
|
|
|
|
Bindings/EventListenerWrapper.cpp
|
|
|
|
Bindings/EventTargetWrapper.cpp
|
|
|
|
Bindings/EventWrapper.cpp
|
|
|
|
Bindings/HTMLCanvasElementWrapper.cpp
|
|
|
|
Bindings/HTMLImageElementWrapper.cpp
|
|
|
|
Bindings/ImageDataWrapper.cpp
|
2020-05-18 19:42:40 +00:00
|
|
|
Bindings/LocationObject.cpp
|
2020-05-06 15:40:06 +00:00
|
|
|
Bindings/MouseEventWrapper.cpp
|
|
|
|
Bindings/NavigatorObject.cpp
|
|
|
|
Bindings/NodeWrapper.cpp
|
|
|
|
Bindings/WindowObject.cpp
|
|
|
|
Bindings/Wrappable.cpp
|
|
|
|
Bindings/XMLHttpRequestConstructor.cpp
|
|
|
|
Bindings/XMLHttpRequestPrototype.cpp
|
|
|
|
Bindings/XMLHttpRequestWrapper.cpp
|
2020-06-07 15:55:46 +00:00
|
|
|
CSS/Length.cpp
|
2020-05-06 15:40:06 +00:00
|
|
|
CSS/Selector.cpp
|
|
|
|
CSS/SelectorEngine.cpp
|
|
|
|
CSS/StyleDeclaration.cpp
|
|
|
|
CSS/StyleProperties.cpp
|
|
|
|
CSS/StyleResolver.cpp
|
|
|
|
CSS/StyleRule.cpp
|
|
|
|
CSS/StyleSheet.cpp
|
2020-06-04 14:06:32 +00:00
|
|
|
CSS/StyleSheetList.cpp
|
2020-05-06 15:40:06 +00:00
|
|
|
CSS/StyleValue.cpp
|
2020-05-26 21:27:22 +00:00
|
|
|
DOM/AttributeNames.cpp
|
2020-05-06 15:40:06 +00:00
|
|
|
DOM/CanvasRenderingContext2D.cpp
|
|
|
|
DOM/CharacterData.cpp
|
|
|
|
DOM/Comment.cpp
|
|
|
|
DOM/Document.cpp
|
|
|
|
DOM/DocumentType.cpp
|
|
|
|
DOM/Element.cpp
|
|
|
|
DOM/ElementFactory.cpp
|
|
|
|
DOM/EventListener.cpp
|
|
|
|
DOM/EventTarget.cpp
|
|
|
|
DOM/HTMLAnchorElement.cpp
|
|
|
|
DOM/HTMLBlinkElement.cpp
|
|
|
|
DOM/HTMLBodyElement.cpp
|
|
|
|
DOM/HTMLBRElement.cpp
|
|
|
|
DOM/HTMLCanvasElement.cpp
|
|
|
|
DOM/HTMLElement.cpp
|
|
|
|
DOM/HTMLFontElement.cpp
|
|
|
|
DOM/HTMLFormElement.cpp
|
|
|
|
DOM/HTMLHeadElement.cpp
|
|
|
|
DOM/HTMLHeadingElement.cpp
|
|
|
|
DOM/HTMLHRElement.cpp
|
|
|
|
DOM/HTMLHtmlElement.cpp
|
2020-06-05 21:36:02 +00:00
|
|
|
DOM/HTMLIFrameElement.cpp
|
2020-05-06 15:40:06 +00:00
|
|
|
DOM/HTMLImageElement.cpp
|
|
|
|
DOM/HTMLInputElement.cpp
|
|
|
|
DOM/HTMLLinkElement.cpp
|
|
|
|
DOM/HTMLScriptElement.cpp
|
|
|
|
DOM/HTMLStyleElement.cpp
|
2020-06-07 21:10:45 +00:00
|
|
|
DOM/HTMLTableElement.cpp
|
|
|
|
DOM/HTMLTableCellElement.cpp
|
|
|
|
DOM/HTMLTableRowElement.cpp
|
2020-05-06 15:40:06 +00:00
|
|
|
DOM/HTMLTitleElement.cpp
|
|
|
|
DOM/ImageData.cpp
|
|
|
|
DOM/Node.cpp
|
|
|
|
DOM/ParentNode.cpp
|
2020-06-07 21:27:03 +00:00
|
|
|
DOM/TagNames.cpp
|
2020-05-06 15:40:06 +00:00
|
|
|
DOM/Text.cpp
|
|
|
|
DOM/Window.cpp
|
|
|
|
DOM/XMLHttpRequest.cpp
|
2020-05-28 16:21:22 +00:00
|
|
|
DOMTreeModel.cpp
|
2020-05-06 15:40:06 +00:00
|
|
|
Dump.cpp
|
|
|
|
FontCache.cpp
|
2020-06-07 08:06:22 +00:00
|
|
|
Frame/EventHandler.cpp
|
|
|
|
Frame/Frame.cpp
|
2020-05-06 15:40:06 +00:00
|
|
|
Layout/BoxModelMetrics.cpp
|
|
|
|
Layout/LayoutBlock.cpp
|
|
|
|
Layout/LayoutBox.cpp
|
|
|
|
Layout/LayoutBreak.cpp
|
|
|
|
Layout/LayoutCanvas.cpp
|
|
|
|
Layout/LayoutDocument.cpp
|
2020-06-05 21:36:02 +00:00
|
|
|
Layout/LayoutFrame.cpp
|
2020-05-06 15:40:06 +00:00
|
|
|
Layout/LayoutImage.cpp
|
|
|
|
Layout/LayoutInline.cpp
|
|
|
|
Layout/LayoutListItem.cpp
|
|
|
|
Layout/LayoutListItemMarker.cpp
|
|
|
|
Layout/LayoutNode.cpp
|
|
|
|
Layout/LayoutReplaced.cpp
|
|
|
|
Layout/LayoutTable.cpp
|
2020-05-28 16:21:22 +00:00
|
|
|
Layout/LayoutTableCell.cpp
|
2020-05-06 15:40:06 +00:00
|
|
|
Layout/LayoutTableRow.cpp
|
|
|
|
Layout/LayoutText.cpp
|
|
|
|
Layout/LayoutTreeBuilder.cpp
|
|
|
|
Layout/LayoutWidget.cpp
|
|
|
|
Layout/LineBox.cpp
|
|
|
|
Layout/LineBoxFragment.cpp
|
2020-06-06 11:02:44 +00:00
|
|
|
Loader/FrameLoader.cpp
|
2020-06-02 18:27:26 +00:00
|
|
|
Loader/ImageResource.cpp
|
2020-06-01 19:33:23 +00:00
|
|
|
Loader/Resource.cpp
|
2020-06-01 18:42:50 +00:00
|
|
|
Loader/ResourceLoader.cpp
|
2020-05-28 16:21:22 +00:00
|
|
|
PageView.cpp
|
2020-05-06 15:40:06 +00:00
|
|
|
Parser/CSSParser.cpp
|
2020-05-28 09:44:19 +00:00
|
|
|
Parser/Entities.cpp
|
2020-05-23 22:14:23 +00:00
|
|
|
Parser/HTMLDocumentParser.cpp
|
2020-05-06 15:40:06 +00:00
|
|
|
Parser/HTMLParser.cpp
|
2020-05-23 22:14:23 +00:00
|
|
|
Parser/HTMLToken.cpp
|
2020-05-22 19:46:13 +00:00
|
|
|
Parser/HTMLTokenizer.cpp
|
2020-05-27 21:22:42 +00:00
|
|
|
Parser/ListOfActiveFormattingElements.cpp
|
2020-05-24 17:24:36 +00:00
|
|
|
Parser/StackOfOpenElements.cpp
|
2020-05-06 15:40:06 +00:00
|
|
|
StylePropertiesModel.cpp
|
|
|
|
URLEncoder.cpp
|
|
|
|
|
|
|
|
CSS/PropertyID.h
|
|
|
|
CSS/PropertyID.cpp
|
|
|
|
CSS/DefaultStyleSheetSource.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
set(GENERATED_SOURCES
|
|
|
|
../../Services/ProtocolServer/ProtocolClientEndpoint.h
|
|
|
|
../../Services/ProtocolServer/ProtocolServerEndpoint.h
|
|
|
|
)
|
|
|
|
|
|
|
|
add_custom_command(
|
|
|
|
OUTPUT CSS/PropertyID.h
|
|
|
|
COMMAND /bin/mkdir -p CSS
|
|
|
|
COMMAND Generate_CSS_PropertyID_h ${CMAKE_CURRENT_SOURCE_DIR}/CSS/Properties.json > CSS/PropertyID.h
|
|
|
|
VERBATIM
|
|
|
|
DEPENDS Generate_CSS_PropertyID_h
|
|
|
|
MAIN_DEPENDENCY CSS/Properties.json
|
|
|
|
)
|
|
|
|
add_custom_target(generate_PropertyID.h DEPENDS CSS/PropertyID.h)
|
|
|
|
|
|
|
|
add_custom_command(
|
|
|
|
OUTPUT CSS/PropertyID.cpp
|
|
|
|
COMMAND /bin/mkdir -p CSS
|
|
|
|
COMMAND Generate_CSS_PropertyID_cpp ${CMAKE_CURRENT_SOURCE_DIR}/CSS/Properties.json > CSS/PropertyID.cpp
|
|
|
|
VERBATIM
|
|
|
|
DEPENDS Generate_CSS_PropertyID_cpp
|
|
|
|
MAIN_DEPENDENCY CSS/Properties.json
|
|
|
|
)
|
|
|
|
|
|
|
|
add_custom_command(
|
|
|
|
OUTPUT CSS/DefaultStyleSheetSource.cpp
|
|
|
|
COMMAND /bin/mkdir -p CSS
|
|
|
|
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/Scripts/GenerateStyleSheetSource.sh default_stylesheet_source
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/CSS/Default.css > CSS/DefaultStyleSheetSource.cpp
|
|
|
|
VERBATIM
|
|
|
|
DEPENDS Scripts/GenerateStyleSheetSource.sh
|
|
|
|
MAIN_DEPENDENCY CSS/Default.css
|
|
|
|
)
|
|
|
|
|
|
|
|
serenity_lib(LibWeb web)
|
2020-05-16 11:08:13 +00:00
|
|
|
target_link_libraries(LibWeb LibCore LibJS LibMarkdown LibGemini LibGUI LibGfx LibTextCodec LibProtocol)
|