2020-05-06 18:40:06 +03:00
|
|
|
set(SOURCES
|
2021-03-14 19:05:02 +03:00
|
|
|
Bindings/CSSStyleDeclarationWrapperCustom.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
Bindings/EventListenerWrapper.cpp
|
2020-06-21 17:10:48 +03:00
|
|
|
Bindings/EventWrapperFactory.cpp
|
2020-09-06 15:28:41 +03:00
|
|
|
Bindings/EventTargetWrapperFactory.cpp
|
2021-03-20 08:22:27 +03:00
|
|
|
Bindings/ImageConstructor.cpp
|
2020-05-18 22:42:40 +03:00
|
|
|
Bindings/LocationObject.cpp
|
2021-02-03 12:41:07 +03:00
|
|
|
Bindings/MainThreadVM.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
Bindings/NavigatorObject.cpp
|
2020-06-20 23:09:38 +03:00
|
|
|
Bindings/NodeWrapperFactory.cpp
|
2020-09-20 20:22:44 +03:00
|
|
|
Bindings/ScriptExecutionContext.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
Bindings/WindowObject.cpp
|
|
|
|
Bindings/Wrappable.cpp
|
2021-02-21 19:36:34 +03:00
|
|
|
CSS/CSSImportRule.cpp
|
2021-02-21 14:45:26 +03:00
|
|
|
CSS/CSSRule.cpp
|
2021-03-13 22:11:33 +03:00
|
|
|
CSS/CSSStyleDeclaration.cpp
|
2021-03-07 17:00:02 +03:00
|
|
|
CSS/CSSStyleRule.cpp
|
2021-03-07 18:14:04 +03:00
|
|
|
CSS/CSSStyleSheet.cpp
|
2020-07-28 20:18:23 +03:00
|
|
|
CSS/DefaultStyleSheetSource.cpp
|
2020-06-07 18:55:46 +03:00
|
|
|
CSS/Length.cpp
|
2021-03-09 19:22:35 +03:00
|
|
|
CSS/Parser/DeprecatedCSSParser.cpp
|
2021-03-22 19:41:47 +03:00
|
|
|
CSS/Parser/Parser.cpp
|
2021-03-09 19:36:21 +03:00
|
|
|
CSS/Parser/StyleRules.cpp
|
2021-03-09 19:18:08 +03:00
|
|
|
CSS/Parser/Token.cpp
|
|
|
|
CSS/Parser/Tokenizer.cpp
|
2020-07-28 20:18:23 +03:00
|
|
|
CSS/PropertyID.cpp
|
|
|
|
CSS/PropertyID.h
|
2020-09-24 11:33:33 +03:00
|
|
|
CSS/QuirksModeStyleSheetSource.cpp
|
2021-04-04 01:14:39 +03:00
|
|
|
CSS/Screen.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
CSS/Selector.cpp
|
|
|
|
CSS/SelectorEngine.cpp
|
2020-12-15 00:31:10 +03:00
|
|
|
CSS/StyleInvalidator.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
CSS/StyleProperties.cpp
|
|
|
|
CSS/StyleResolver.cpp
|
|
|
|
CSS/StyleSheet.cpp
|
2020-06-04 17:06:32 +03:00
|
|
|
CSS/StyleSheetList.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
CSS/StyleValue.cpp
|
2020-12-15 22:39:09 +03:00
|
|
|
CSS/ValueID.cpp
|
|
|
|
CSS/ValueID.h
|
2020-05-06 18:40:06 +03:00
|
|
|
DOM/CharacterData.cpp
|
2020-08-03 21:50:45 +03:00
|
|
|
DOM/CharacterData.idl
|
2020-05-06 18:40:06 +03:00
|
|
|
DOM/Comment.cpp
|
|
|
|
DOM/Document.cpp
|
2020-08-17 21:14:30 +03:00
|
|
|
DOM/DocumentFragment.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
DOM/DocumentType.cpp
|
2020-11-13 09:08:06 +03:00
|
|
|
DOM/DOMImplementation.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
DOM/Element.cpp
|
|
|
|
DOM/ElementFactory.cpp
|
2020-11-21 21:32:39 +03:00
|
|
|
DOM/Event.cpp
|
2020-12-06 21:51:55 +03:00
|
|
|
DOM/Range.cpp
|
2020-09-06 15:28:41 +03:00
|
|
|
DOM/EventDispatcher.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
DOM/EventListener.cpp
|
|
|
|
DOM/EventTarget.cpp
|
|
|
|
DOM/Node.cpp
|
2020-08-17 23:04:46 +03:00
|
|
|
DOM/ParentNode.cpp
|
2020-08-02 12:47:27 +03:00
|
|
|
DOM/Position.cpp
|
2021-04-06 19:06:23 +03:00
|
|
|
DOM/ProcessingInstruction.cpp
|
2020-11-21 21:32:39 +03:00
|
|
|
DOM/ShadowRoot.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
DOM/Text.cpp
|
2020-08-03 21:50:45 +03:00
|
|
|
DOM/Text.idl
|
2020-06-27 19:30:29 +03:00
|
|
|
DOM/Timer.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
DOM/Window.cpp
|
2020-05-28 19:21:22 +03:00
|
|
|
DOMTreeModel.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
Dump.cpp
|
|
|
|
FontCache.cpp
|
2020-08-12 14:22:59 +03:00
|
|
|
HTML/AttributeNames.cpp
|
2020-07-26 16:08:16 +03:00
|
|
|
HTML/CanvasRenderingContext2D.cpp
|
2020-11-21 22:15:57 +03:00
|
|
|
HTML/EventNames.cpp
|
2021-04-03 12:43:08 +03:00
|
|
|
HTML/FrameHostElement.cpp
|
2021-02-04 00:47:50 +03:00
|
|
|
HTML/GlobalEventHandlers.cpp
|
2020-07-26 16:08:16 +03:00
|
|
|
HTML/HTMLAnchorElement.cpp
|
2020-08-09 19:10:41 +03:00
|
|
|
HTML/HTMLAreaElement.cpp
|
|
|
|
HTML/HTMLAudioElement.cpp
|
2020-08-12 14:22:59 +03:00
|
|
|
HTML/HTMLBRElement.cpp
|
2020-08-09 19:10:41 +03:00
|
|
|
HTML/HTMLBaseElement.cpp
|
2020-07-26 16:08:16 +03:00
|
|
|
HTML/HTMLBlinkElement.cpp
|
|
|
|
HTML/HTMLBodyElement.cpp
|
2020-08-09 19:10:41 +03:00
|
|
|
HTML/HTMLButtonElement.cpp
|
2020-07-26 16:08:16 +03:00
|
|
|
HTML/HTMLCanvasElement.cpp
|
2020-08-12 14:22:59 +03:00
|
|
|
HTML/HTMLDListElement.cpp
|
2020-08-09 19:10:41 +03:00
|
|
|
HTML/HTMLDataElement.cpp
|
|
|
|
HTML/HTMLDataListElement.cpp
|
|
|
|
HTML/HTMLDetailsElement.cpp
|
|
|
|
HTML/HTMLDialogElement.cpp
|
2020-11-12 07:16:41 +03:00
|
|
|
HTML/HTMLDirectoryElement.cpp
|
2020-08-09 19:10:41 +03:00
|
|
|
HTML/HTMLDivElement.cpp
|
2020-07-26 16:08:16 +03:00
|
|
|
HTML/HTMLElement.cpp
|
2020-08-09 19:10:41 +03:00
|
|
|
HTML/HTMLEmbedElement.cpp
|
|
|
|
HTML/HTMLFieldSetElement.cpp
|
2020-07-26 16:08:16 +03:00
|
|
|
HTML/HTMLFontElement.cpp
|
|
|
|
HTML/HTMLFormElement.cpp
|
2020-08-09 19:10:41 +03:00
|
|
|
HTML/HTMLFrameElement.cpp
|
|
|
|
HTML/HTMLFrameSetElement.cpp
|
2020-07-26 16:08:16 +03:00
|
|
|
HTML/HTMLHRElement.cpp
|
|
|
|
HTML/HTMLHeadElement.cpp
|
|
|
|
HTML/HTMLHeadingElement.cpp
|
|
|
|
HTML/HTMLHtmlElement.cpp
|
|
|
|
HTML/HTMLIFrameElement.cpp
|
|
|
|
HTML/HTMLImageElement.cpp
|
|
|
|
HTML/HTMLInputElement.cpp
|
2020-08-12 14:22:59 +03:00
|
|
|
HTML/HTMLLIElement.cpp
|
2020-08-09 19:10:41 +03:00
|
|
|
HTML/HTMLLabelElement.cpp
|
|
|
|
HTML/HTMLLegendElement.cpp
|
2020-07-26 16:08:16 +03:00
|
|
|
HTML/HTMLLinkElement.cpp
|
2020-08-09 19:10:41 +03:00
|
|
|
HTML/HTMLMapElement.cpp
|
|
|
|
HTML/HTMLMarqueeElement.cpp
|
|
|
|
HTML/HTMLMediaElement.cpp
|
|
|
|
HTML/HTMLMenuElement.cpp
|
|
|
|
HTML/HTMLMetaElement.cpp
|
|
|
|
HTML/HTMLMeterElement.cpp
|
|
|
|
HTML/HTMLModElement.cpp
|
|
|
|
HTML/HTMLOListElement.cpp
|
2020-08-12 14:22:59 +03:00
|
|
|
HTML/HTMLObjectElement.cpp
|
2020-08-09 19:10:41 +03:00
|
|
|
HTML/HTMLOptGroupElement.cpp
|
|
|
|
HTML/HTMLOptionElement.cpp
|
|
|
|
HTML/HTMLOutputElement.cpp
|
|
|
|
HTML/HTMLParagraphElement.cpp
|
|
|
|
HTML/HTMLParamElement.cpp
|
|
|
|
HTML/HTMLPictureElement.cpp
|
|
|
|
HTML/HTMLPreElement.cpp
|
|
|
|
HTML/HTMLProgressElement.cpp
|
|
|
|
HTML/HTMLQuoteElement.cpp
|
2020-07-26 16:08:16 +03:00
|
|
|
HTML/HTMLScriptElement.cpp
|
2020-08-09 19:10:41 +03:00
|
|
|
HTML/HTMLSelectElement.cpp
|
|
|
|
HTML/HTMLSlotElement.cpp
|
|
|
|
HTML/HTMLSourceElement.cpp
|
|
|
|
HTML/HTMLSpanElement.cpp
|
2020-07-26 16:08:16 +03:00
|
|
|
HTML/HTMLStyleElement.cpp
|
2020-08-09 19:10:41 +03:00
|
|
|
HTML/HTMLTableCaptionElement.cpp
|
2020-07-26 16:08:16 +03:00
|
|
|
HTML/HTMLTableCellElement.cpp
|
2020-08-09 19:10:41 +03:00
|
|
|
HTML/HTMLTableColElement.cpp
|
2020-07-26 16:08:16 +03:00
|
|
|
HTML/HTMLTableElement.cpp
|
|
|
|
HTML/HTMLTableRowElement.cpp
|
2020-08-09 19:10:41 +03:00
|
|
|
HTML/HTMLTableSectionElement.cpp
|
|
|
|
HTML/HTMLTemplateElement.cpp
|
|
|
|
HTML/HTMLTextAreaElement.cpp
|
|
|
|
HTML/HTMLTimeElement.cpp
|
2020-07-26 16:08:16 +03:00
|
|
|
HTML/HTMLTitleElement.cpp
|
2020-08-09 19:10:41 +03:00
|
|
|
HTML/HTMLTrackElement.cpp
|
|
|
|
HTML/HTMLUListElement.cpp
|
|
|
|
HTML/HTMLUnknownElement.cpp
|
|
|
|
HTML/HTMLVideoElement.cpp
|
2020-07-26 16:08:16 +03:00
|
|
|
HTML/ImageData.cpp
|
2020-07-28 20:18:23 +03:00
|
|
|
HTML/Parser/Entities.cpp
|
|
|
|
HTML/Parser/HTMLDocumentParser.cpp
|
|
|
|
HTML/Parser/HTMLToken.cpp
|
|
|
|
HTML/Parser/HTMLTokenizer.cpp
|
|
|
|
HTML/Parser/ListOfActiveFormattingElements.cpp
|
|
|
|
HTML/Parser/StackOfOpenElements.cpp
|
2021-01-18 10:32:57 +03:00
|
|
|
HTML/SubmitEvent.cpp
|
2020-12-13 17:57:09 +03:00
|
|
|
HTML/TagNames.cpp
|
2020-09-29 19:19:18 +03:00
|
|
|
HighResolutionTime/Performance.cpp
|
2020-08-17 16:58:29 +03:00
|
|
|
InProcessWebView.cpp
|
2020-11-22 17:53:01 +03:00
|
|
|
Layout/BlockBox.cpp
|
2020-11-22 15:38:18 +03:00
|
|
|
Layout/BlockFormattingContext.cpp
|
2020-11-22 17:53:01 +03:00
|
|
|
Layout/Box.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
Layout/BoxModelMetrics.cpp
|
2020-11-22 17:53:01 +03:00
|
|
|
Layout/BreakNode.cpp
|
|
|
|
Layout/ButtonBox.cpp
|
|
|
|
Layout/CanvasBox.cpp
|
|
|
|
Layout/CheckBox.cpp
|
2021-01-18 19:33:46 +03:00
|
|
|
Layout/FlexFormattingContext.cpp
|
2020-11-22 15:38:18 +03:00
|
|
|
Layout/FormattingContext.cpp
|
2020-11-22 17:53:01 +03:00
|
|
|
Layout/FrameBox.cpp
|
|
|
|
Layout/ImageBox.cpp
|
|
|
|
Layout/InitialContainingBlockBox.cpp
|
2020-11-22 15:38:18 +03:00
|
|
|
Layout/InlineFormattingContext.cpp
|
2020-11-22 17:53:01 +03:00
|
|
|
Layout/InlineNode.cpp
|
2021-04-04 04:32:16 +03:00
|
|
|
Layout/Label.cpp
|
2020-06-29 01:24:35 +03:00
|
|
|
Layout/LayoutPosition.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
Layout/LineBox.cpp
|
|
|
|
Layout/LineBoxFragment.cpp
|
2020-11-22 17:53:01 +03:00
|
|
|
Layout/ListItemBox.cpp
|
|
|
|
Layout/ListItemMarkerBox.cpp
|
|
|
|
Layout/Node.cpp
|
2021-04-03 16:07:45 +03:00
|
|
|
Layout/RadioButton.cpp
|
2020-11-22 17:53:01 +03:00
|
|
|
Layout/ReplacedBox.cpp
|
|
|
|
Layout/SVGBox.cpp
|
|
|
|
Layout/SVGGraphicsBox.cpp
|
|
|
|
Layout/SVGPathBox.cpp
|
|
|
|
Layout/SVGSVGBox.cpp
|
|
|
|
Layout/TableBox.cpp
|
|
|
|
Layout/TableCellBox.cpp
|
2020-11-22 15:38:18 +03:00
|
|
|
Layout/TableFormattingContext.cpp
|
2020-11-22 17:53:01 +03:00
|
|
|
Layout/TableRowBox.cpp
|
|
|
|
Layout/TableRowGroupBox.cpp
|
|
|
|
Layout/TextNode.cpp
|
2020-11-25 22:29:03 +03:00
|
|
|
Layout/TreeBuilder.cpp
|
2020-06-12 23:30:11 +03:00
|
|
|
LayoutTreeModel.cpp
|
2021-01-05 20:12:29 +03:00
|
|
|
Loader/ContentFilter.cpp
|
2021-02-21 19:44:17 +03:00
|
|
|
Loader/CSSLoader.cpp
|
2020-06-06 14:02:44 +03:00
|
|
|
Loader/FrameLoader.cpp
|
2020-06-13 23:24:49 +03:00
|
|
|
Loader/ImageLoader.cpp
|
2020-06-02 21:27:26 +03:00
|
|
|
Loader/ImageResource.cpp
|
2020-06-01 22:33:23 +03:00
|
|
|
Loader/Resource.cpp
|
2020-06-01 21:42:50 +03:00
|
|
|
Loader/ResourceLoader.cpp
|
2020-10-10 04:48:05 +03:00
|
|
|
Namespace.cpp
|
2021-01-18 17:06:13 +03:00
|
|
|
NavigationTiming/PerformanceTiming.cpp
|
2020-08-17 17:20:47 +03:00
|
|
|
OutOfProcessWebView.cpp
|
2020-07-28 20:27:41 +03:00
|
|
|
Page/EventHandler.cpp
|
2020-12-02 01:35:47 +03:00
|
|
|
Page/EditEventHandler.cpp
|
2020-07-28 20:27:41 +03:00
|
|
|
Page/Frame.cpp
|
|
|
|
Page/Page.cpp
|
2020-12-04 20:02:21 +03:00
|
|
|
Painting/BorderPainting.cpp
|
2020-06-18 22:39:27 +03:00
|
|
|
Painting/StackingContext.cpp
|
2020-07-23 19:44:42 +03:00
|
|
|
SVG/SVGElement.cpp
|
|
|
|
SVG/SVGGeometryElement.cpp
|
|
|
|
SVG/SVGGraphicsElement.cpp
|
|
|
|
SVG/SVGPathElement.cpp
|
|
|
|
SVG/SVGSVGElement.cpp
|
|
|
|
SVG/TagNames.cpp
|
2020-07-28 20:18:23 +03:00
|
|
|
StylePropertiesModel.cpp
|
2020-11-21 22:15:57 +03:00
|
|
|
UIEvents/EventNames.cpp
|
2020-11-21 21:32:39 +03:00
|
|
|
UIEvents/MouseEvent.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
URLEncoder.cpp
|
2021-01-23 20:50:22 +03:00
|
|
|
XHR/EventNames.cpp
|
2021-01-23 13:51:36 +03:00
|
|
|
XHR/XMLHttpRequest.cpp
|
2020-07-06 21:36:34 +03:00
|
|
|
WebContentClient.cpp
|
2020-05-06 18:40:06 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
set(GENERATED_SOURCES
|
|
|
|
../../Services/ProtocolServer/ProtocolClientEndpoint.h
|
|
|
|
../../Services/ProtocolServer/ProtocolServerEndpoint.h
|
2020-07-06 21:36:34 +03:00
|
|
|
../../Services/WebContent/WebContentClientEndpoint.h
|
|
|
|
../../Services/WebContent/WebContentServerEndpoint.h
|
2020-05-06 18:40:06 +03:00
|
|
|
)
|
|
|
|
|
2020-06-21 15:35:00 +03:00
|
|
|
set_property(GLOBAL PROPERTY wrapper_sources)
|
|
|
|
function(add_wrapper_sources)
|
|
|
|
get_property(tmp GLOBAL PROPERTY wrapper_sources)
|
|
|
|
foreach(arg ${ARGV})
|
|
|
|
set(tmp ${tmp}
|
|
|
|
${arg}
|
|
|
|
)
|
|
|
|
endforeach()
|
|
|
|
set_property(GLOBAL PROPERTY wrapper_sources "${tmp}")
|
|
|
|
endfunction(add_wrapper_sources)
|
|
|
|
|
2020-06-21 12:39:32 +03:00
|
|
|
function(libweb_js_wrapper class)
|
2020-07-26 16:08:16 +03:00
|
|
|
get_filename_component(basename ${class} NAME)
|
|
|
|
add_wrapper_sources(Bindings/${basename}Wrapper.cpp Bindings/${basename}Wrapper.h)
|
2021-01-18 10:35:46 +03:00
|
|
|
add_wrapper_sources(Bindings/${basename}Constructor.cpp Bindings/${basename}Constructor.h)
|
|
|
|
add_wrapper_sources(Bindings/${basename}Prototype.cpp Bindings/${basename}Prototype.h)
|
2020-06-21 12:39:32 +03:00
|
|
|
add_custom_command(
|
2020-07-26 16:08:16 +03:00
|
|
|
OUTPUT Bindings/${basename}Wrapper.h
|
2020-08-02 16:54:06 +03:00
|
|
|
COMMAND ${write_if_different} Bindings/${basename}Wrapper.h CodeGenerators/WrapperGenerator --header ${CMAKE_CURRENT_SOURCE_DIR}/${class}.idl
|
2020-06-21 12:39:32 +03:00
|
|
|
VERBATIM
|
|
|
|
DEPENDS WrapperGenerator
|
2020-07-26 16:08:16 +03:00
|
|
|
MAIN_DEPENDENCY ${class}.idl
|
2020-06-21 12:39:32 +03:00
|
|
|
)
|
|
|
|
add_custom_command(
|
2020-07-26 16:08:16 +03:00
|
|
|
OUTPUT Bindings/${basename}Wrapper.cpp
|
2020-08-02 16:54:06 +03:00
|
|
|
COMMAND ${write_if_different} Bindings/${basename}Wrapper.cpp CodeGenerators/WrapperGenerator --implementation ${CMAKE_CURRENT_SOURCE_DIR}/${class}.idl
|
2020-06-21 12:39:32 +03:00
|
|
|
VERBATIM
|
|
|
|
DEPENDS WrapperGenerator
|
2020-07-26 16:08:16 +03:00
|
|
|
MAIN_DEPENDENCY ${class}.idl
|
2020-06-21 12:39:32 +03:00
|
|
|
)
|
2021-01-18 10:35:46 +03:00
|
|
|
add_custom_command(
|
|
|
|
OUTPUT Bindings/${basename}Constructor.h
|
|
|
|
COMMAND ${write_if_different} Bindings/${basename}Constructor.h CodeGenerators/WrapperGenerator --constructor-header ${CMAKE_CURRENT_SOURCE_DIR}/${class}.idl
|
|
|
|
VERBATIM
|
|
|
|
DEPENDS WrapperGenerator
|
|
|
|
MAIN_DEPENDENCY ${class}.idl
|
|
|
|
)
|
|
|
|
add_custom_command(
|
|
|
|
OUTPUT Bindings/${basename}Constructor.cpp
|
|
|
|
COMMAND ${write_if_different} Bindings/${basename}Constructor.cpp CodeGenerators/WrapperGenerator --constructor-implementation ${CMAKE_CURRENT_SOURCE_DIR}/${class}.idl
|
|
|
|
VERBATIM
|
|
|
|
DEPENDS WrapperGenerator
|
|
|
|
MAIN_DEPENDENCY ${class}.idl
|
|
|
|
)
|
|
|
|
add_custom_command(
|
|
|
|
OUTPUT Bindings/${basename}Prototype.h
|
|
|
|
COMMAND ${write_if_different} Bindings/${basename}Prototype.h CodeGenerators/WrapperGenerator --prototype-header ${CMAKE_CURRENT_SOURCE_DIR}/${class}.idl
|
|
|
|
VERBATIM
|
|
|
|
DEPENDS WrapperGenerator
|
|
|
|
MAIN_DEPENDENCY ${class}.idl
|
|
|
|
)
|
|
|
|
add_custom_command(
|
|
|
|
OUTPUT Bindings/${basename}Prototype.cpp
|
|
|
|
COMMAND ${write_if_different} Bindings/${basename}Prototype.cpp CodeGenerators/WrapperGenerator --prototype-implementation ${CMAKE_CURRENT_SOURCE_DIR}/${class}.idl
|
|
|
|
VERBATIM
|
|
|
|
DEPENDS WrapperGenerator
|
|
|
|
MAIN_DEPENDENCY ${class}.idl
|
|
|
|
)
|
2020-07-26 16:08:16 +03:00
|
|
|
add_custom_target(generate_${basename}Wrapper.h DEPENDS Bindings/${class}Wrapper.h)
|
|
|
|
add_custom_target(generate_${basename}Wrapper.cpp DEPENDS Bindings/${class}Wrapper.cpp)
|
2021-01-18 10:35:46 +03:00
|
|
|
add_custom_target(generate_${basename}Constructor.h DEPENDS Bindings/${class}Constructor.h)
|
|
|
|
add_custom_target(generate_${basename}Constructor.cpp DEPENDS Bindings/${class}Constructor.cpp)
|
|
|
|
add_custom_target(generate_${basename}Prototype.h DEPENDS Bindings/${class}Prototype.h)
|
|
|
|
add_custom_target(generate_${basename}Prototype.cpp DEPENDS Bindings/${class}Prototype.cpp)
|
2020-06-21 12:39:32 +03:00
|
|
|
endfunction()
|
2020-06-20 23:09:38 +03:00
|
|
|
|
2021-03-14 00:39:55 +03:00
|
|
|
libweb_js_wrapper(CSS/CSSStyleDeclaration)
|
2021-03-08 13:22:18 +03:00
|
|
|
libweb_js_wrapper(CSS/CSSStyleSheet)
|
2021-04-04 01:14:39 +03:00
|
|
|
libweb_js_wrapper(CSS/Screen)
|
2021-03-08 13:22:18 +03:00
|
|
|
libweb_js_wrapper(CSS/StyleSheet)
|
|
|
|
libweb_js_wrapper(CSS/StyleSheetList)
|
2020-08-03 21:50:45 +03:00
|
|
|
libweb_js_wrapper(DOM/CharacterData)
|
2020-08-17 21:14:30 +03:00
|
|
|
libweb_js_wrapper(DOM/Comment)
|
2020-07-26 16:08:16 +03:00
|
|
|
libweb_js_wrapper(DOM/Document)
|
2020-08-17 21:14:30 +03:00
|
|
|
libweb_js_wrapper(DOM/DocumentFragment)
|
2020-07-26 16:08:16 +03:00
|
|
|
libweb_js_wrapper(DOM/DocumentType)
|
2021-02-19 21:04:41 +03:00
|
|
|
libweb_js_wrapper(DOM/DOMException)
|
2020-11-13 09:08:06 +03:00
|
|
|
libweb_js_wrapper(DOM/DOMImplementation)
|
2020-07-26 16:08:16 +03:00
|
|
|
libweb_js_wrapper(DOM/Element)
|
|
|
|
libweb_js_wrapper(DOM/Event)
|
|
|
|
libweb_js_wrapper(DOM/EventTarget)
|
2021-04-06 19:06:23 +03:00
|
|
|
libweb_js_wrapper(DOM/ProcessingInstruction)
|
2020-11-21 21:32:39 +03:00
|
|
|
libweb_js_wrapper(DOM/ShadowRoot)
|
2020-07-26 16:08:16 +03:00
|
|
|
libweb_js_wrapper(DOM/Node)
|
2021-01-23 19:58:14 +03:00
|
|
|
libweb_js_wrapper(DOM/Range)
|
2020-08-03 21:50:45 +03:00
|
|
|
libweb_js_wrapper(DOM/Text)
|
2020-07-26 16:08:16 +03:00
|
|
|
libweb_js_wrapper(HTML/CanvasRenderingContext2D)
|
2020-07-27 07:04:26 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLAnchorElement)
|
2020-08-09 19:10:41 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLAreaElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLAudioElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLBaseElement)
|
2020-07-27 07:04:26 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLBodyElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLBRElement)
|
2020-08-09 19:10:41 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLButtonElement)
|
2020-07-26 16:08:16 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLCanvasElement)
|
2020-08-09 19:10:41 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLDataElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLDataListElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLDetailsElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLDialogElement)
|
2020-11-12 07:16:41 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLDirectoryElement)
|
2020-08-09 19:10:41 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLDivElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLDListElement)
|
2020-07-26 16:08:16 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLElement)
|
2020-08-09 19:10:41 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLEmbedElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLFieldSetElement)
|
2020-11-12 07:16:41 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLFontElement)
|
2020-07-27 07:04:26 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLFormElement)
|
2020-08-09 19:10:41 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLFrameElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLFrameSetElement)
|
2020-07-27 07:04:26 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLHeadElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLHeadingElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLHRElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLHtmlElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLIFrameElement)
|
2020-07-26 16:08:16 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLImageElement)
|
2020-07-27 07:04:26 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLInputElement)
|
2020-08-09 19:10:41 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLLabelElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLLegendElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLLIElement)
|
2020-07-27 07:04:26 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLLinkElement)
|
2020-08-09 19:10:41 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLMapElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLMarqueeElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLMediaElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLMenuElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLMetaElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLMeterElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLModElement)
|
2020-07-27 07:04:26 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLObjectElement)
|
2020-08-09 19:10:41 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLOListElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLOptGroupElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLOptionElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLOutputElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLParagraphElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLParamElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLPictureElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLPreElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLProgressElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLQuoteElement)
|
2020-07-27 07:04:26 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLScriptElement)
|
2020-08-09 19:10:41 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLSelectElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLSlotElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLSourceElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLSpanElement)
|
2020-07-27 07:04:26 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLStyleElement)
|
2020-08-09 19:10:41 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLTableCaptionElement)
|
2020-07-27 07:04:26 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLTableCellElement)
|
2020-08-09 19:10:41 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLTableColElement)
|
2020-07-27 07:04:26 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLTableElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLTableRowElement)
|
2020-08-09 19:10:41 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLTableSectionElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLTemplateElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLTextAreaElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLTimeElement)
|
2020-07-27 07:04:26 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLTitleElement)
|
2020-08-09 19:10:41 +03:00
|
|
|
libweb_js_wrapper(HTML/HTMLTrackElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLUListElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLUnknownElement)
|
|
|
|
libweb_js_wrapper(HTML/HTMLVideoElement)
|
2020-07-26 16:08:16 +03:00
|
|
|
libweb_js_wrapper(HTML/ImageData)
|
2020-11-22 00:53:18 +03:00
|
|
|
libweb_js_wrapper(HTML/SubmitEvent)
|
2020-09-29 19:19:18 +03:00
|
|
|
libweb_js_wrapper(HighResolutionTime/Performance)
|
2021-01-18 17:06:13 +03:00
|
|
|
libweb_js_wrapper(NavigationTiming/PerformanceTiming)
|
2020-10-02 22:57:28 +03:00
|
|
|
libweb_js_wrapper(SVG/SVGElement)
|
|
|
|
libweb_js_wrapper(SVG/SVGGeometryElement)
|
|
|
|
libweb_js_wrapper(SVG/SVGGraphicsElement)
|
|
|
|
libweb_js_wrapper(SVG/SVGPathElement)
|
|
|
|
libweb_js_wrapper(SVG/SVGSVGElement)
|
2020-07-28 18:21:23 +03:00
|
|
|
libweb_js_wrapper(UIEvents/MouseEvent)
|
2020-07-28 20:38:25 +03:00
|
|
|
libweb_js_wrapper(UIEvents/UIEvent)
|
2021-01-23 20:50:22 +03:00
|
|
|
libweb_js_wrapper(XHR/ProgressEvent)
|
2021-01-23 15:23:17 +03:00
|
|
|
libweb_js_wrapper(XHR/XMLHttpRequest)
|
2021-01-23 20:52:16 +03:00
|
|
|
libweb_js_wrapper(XHR/XMLHttpRequestEventTarget)
|
2020-06-21 15:35:00 +03:00
|
|
|
|
|
|
|
get_property(WRAPPER_SOURCES GLOBAL PROPERTY wrapper_sources)
|
|
|
|
set(SOURCES ${SOURCES} ${WRAPPER_SOURCES})
|
2020-06-20 23:09:38 +03:00
|
|
|
|
2020-05-06 18:40:06 +03:00
|
|
|
add_custom_command(
|
|
|
|
OUTPUT CSS/PropertyID.h
|
2020-08-02 16:54:06 +03:00
|
|
|
COMMAND ${write_if_different} CSS/PropertyID.h CodeGenerators/Generate_CSS_PropertyID_h ${CMAKE_CURRENT_SOURCE_DIR}/CSS/Properties.json
|
2020-05-06 18:40:06 +03:00
|
|
|
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
|
2021-01-22 22:00:21 +03:00
|
|
|
COMMAND ${CMAKE_COMMAND} -E make_directory CSS
|
2020-08-02 16:54:06 +03:00
|
|
|
COMMAND ${write_if_different} CSS/PropertyID.cpp CodeGenerators/Generate_CSS_PropertyID_cpp ${CMAKE_CURRENT_SOURCE_DIR}/CSS/Properties.json
|
2020-05-06 18:40:06 +03:00
|
|
|
VERBATIM
|
|
|
|
DEPENDS Generate_CSS_PropertyID_cpp
|
|
|
|
MAIN_DEPENDENCY CSS/Properties.json
|
|
|
|
)
|
|
|
|
|
2020-12-15 22:39:09 +03:00
|
|
|
add_custom_command(
|
|
|
|
OUTPUT CSS/ValueID.h
|
|
|
|
COMMAND ${write_if_different} CSS/ValueID.h CodeGenerators/Generate_CSS_ValueID_h ${CMAKE_CURRENT_SOURCE_DIR}/CSS/Identifiers.json
|
|
|
|
VERBATIM
|
|
|
|
DEPENDS Generate_CSS_ValueID_h
|
|
|
|
MAIN_DEPENDENCY CSS/Identifiers.json
|
|
|
|
)
|
|
|
|
add_custom_target(generate_ValueID.h DEPENDS CSS/ValueID.h)
|
|
|
|
|
|
|
|
add_custom_command(
|
|
|
|
OUTPUT CSS/ValueID.cpp
|
2021-01-22 22:00:21 +03:00
|
|
|
COMMAND ${CMAKE_COMMAND} -E make_directory CSS
|
2020-12-15 22:39:09 +03:00
|
|
|
COMMAND ${write_if_different} CSS/ValueID.cpp CodeGenerators/Generate_CSS_ValueID_cpp ${CMAKE_CURRENT_SOURCE_DIR}/CSS/Identifiers.json
|
|
|
|
VERBATIM
|
|
|
|
DEPENDS Generate_CSS_ValueID_cpp
|
|
|
|
MAIN_DEPENDENCY CSS/Identifiers.json
|
|
|
|
)
|
|
|
|
|
2020-05-06 18:40:06 +03:00
|
|
|
add_custom_command(
|
|
|
|
OUTPUT CSS/DefaultStyleSheetSource.cpp
|
2020-08-02 16:54:06 +03:00
|
|
|
COMMAND ${write_if_different} CSS/DefaultStyleSheetSource.cpp ${CMAKE_CURRENT_SOURCE_DIR}/Scripts/GenerateStyleSheetSource.sh default_stylesheet_source ${CMAKE_CURRENT_SOURCE_DIR}/CSS/Default.css
|
2020-05-06 18:40:06 +03:00
|
|
|
VERBATIM
|
|
|
|
DEPENDS Scripts/GenerateStyleSheetSource.sh
|
|
|
|
MAIN_DEPENDENCY CSS/Default.css
|
|
|
|
)
|
|
|
|
|
2020-09-24 11:33:33 +03:00
|
|
|
add_custom_command(
|
|
|
|
OUTPUT CSS/QuirksModeStyleSheetSource.cpp
|
|
|
|
COMMAND ${write_if_different} CSS/QuirksModeStyleSheetSource.cpp ${CMAKE_CURRENT_SOURCE_DIR}/Scripts/GenerateStyleSheetSource.sh quirks_mode_stylesheet_source ${CMAKE_CURRENT_SOURCE_DIR}/CSS/QuirksMode.css
|
|
|
|
VERBATIM
|
|
|
|
DEPENDS Scripts/GenerateStyleSheetSource.sh
|
|
|
|
MAIN_DEPENDENCY CSS/Default.css
|
|
|
|
)
|
|
|
|
|
2020-05-06 18:40:06 +03:00
|
|
|
serenity_lib(LibWeb web)
|
2020-06-22 22:41:10 +03:00
|
|
|
target_link_libraries(LibWeb LibCore LibJS LibMarkdown LibGemini LibGUI LibGfx LibTextCodec LibProtocol LibImageDecoderClient)
|
2020-12-09 01:41:56 +03:00
|
|
|
|
|
|
|
add_subdirectory(DumpLayoutTree)
|