mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:47:45 +00:00
Meta: Port recent build changes to gn build
This ports the following commits:f76c614a84
ddbe6bd7b4
2eaa528a0e
1b40bf9783
9f6ceff7cf
52d6df5ee5
9e22f01eba
bf4e2f3e9c
da2cd73bcf
This commit is contained in:
parent
4c26b0b047
commit
b4df4d66dc
10 changed files with 39 additions and 13 deletions
|
@ -52,6 +52,14 @@ lagom_tool("GenerateCSSPropertyID") {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lagom_tool("GenerateCSSPseudoClass") {
|
||||||
|
sources = [ "GenerateCSSPseudoClass.cpp" ]
|
||||||
|
deps = [
|
||||||
|
":headers",
|
||||||
|
"//Userland/Libraries/LibMain",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
lagom_tool("GenerateCSSTransformFunctions") {
|
lagom_tool("GenerateCSSTransformFunctions") {
|
||||||
sources = [ "GenerateCSSTransformFunctions.cpp" ]
|
sources = [ "GenerateCSSTransformFunctions.cpp" ]
|
||||||
deps = [
|
deps = [
|
||||||
|
|
|
@ -30,6 +30,8 @@ source_set("sources") {
|
||||||
"EventLoopImplementation.h",
|
"EventLoopImplementation.h",
|
||||||
"EventLoopImplementationUnix.cpp",
|
"EventLoopImplementationUnix.cpp",
|
||||||
"EventLoopImplementationUnix.h",
|
"EventLoopImplementationUnix.h",
|
||||||
|
"EventReceiver.cpp",
|
||||||
|
"EventReceiver.h",
|
||||||
"File.cpp",
|
"File.cpp",
|
||||||
"File.h",
|
"File.h",
|
||||||
"Forward.h",
|
"Forward.h",
|
||||||
|
@ -44,15 +46,11 @@ source_set("sources") {
|
||||||
"NetworkResponse.h",
|
"NetworkResponse.h",
|
||||||
"Notifier.cpp",
|
"Notifier.cpp",
|
||||||
"Notifier.h",
|
"Notifier.h",
|
||||||
"Object.cpp",
|
|
||||||
"Object.h",
|
|
||||||
"Process.cpp",
|
"Process.cpp",
|
||||||
"Process.h",
|
"Process.h",
|
||||||
"ProcessStatisticsReader.cpp",
|
"ProcessStatisticsReader.cpp",
|
||||||
"ProcessStatisticsReader.h",
|
"ProcessStatisticsReader.h",
|
||||||
"Promise.h",
|
"Promise.h",
|
||||||
"Property.cpp",
|
|
||||||
"Property.h",
|
|
||||||
"Proxy.h",
|
"Proxy.h",
|
||||||
"SOCKSProxyClient.cpp",
|
"SOCKSProxyClient.cpp",
|
||||||
"SOCKSProxyClient.h",
|
"SOCKSProxyClient.h",
|
||||||
|
|
|
@ -42,7 +42,6 @@ shared_library("LibJS") {
|
||||||
"Heap/Heap.cpp",
|
"Heap/Heap.cpp",
|
||||||
"Heap/HeapBlock.cpp",
|
"Heap/HeapBlock.cpp",
|
||||||
"Heap/MarkedVector.cpp",
|
"Heap/MarkedVector.cpp",
|
||||||
"Interpreter.cpp",
|
|
||||||
"Lexer.cpp",
|
"Lexer.cpp",
|
||||||
"MarkupGenerator.cpp",
|
"MarkupGenerator.cpp",
|
||||||
"Module.cpp",
|
"Module.cpp",
|
||||||
|
|
|
@ -45,7 +45,6 @@ shared_library("LibSQL") {
|
||||||
"BTree.cpp",
|
"BTree.cpp",
|
||||||
"BTreeIterator.cpp",
|
"BTreeIterator.cpp",
|
||||||
"Database.cpp",
|
"Database.cpp",
|
||||||
"HashIndex.cpp",
|
|
||||||
"Heap.cpp",
|
"Heap.cpp",
|
||||||
"Index.cpp",
|
"Index.cpp",
|
||||||
"Key.cpp",
|
"Key.cpp",
|
||||||
|
|
|
@ -223,6 +223,13 @@ embed_as_string_view("generate_default_stylesheet_source") {
|
||||||
namespace = "Web::CSS"
|
namespace = "Web::CSS"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
embed_as_string_view("generate_mathml_stylesheet_source") {
|
||||||
|
input = "MathML/Default.css"
|
||||||
|
output = "$target_gen_dir/MathML/MathMLStyleSheetSource.cpp"
|
||||||
|
variable_name = "mathml_stylesheet_source"
|
||||||
|
namespace = "Web::CSS"
|
||||||
|
}
|
||||||
|
|
||||||
embed_as_string_view("generate_quirks_mode_stylesheet_source") {
|
embed_as_string_view("generate_quirks_mode_stylesheet_source") {
|
||||||
input = "CSS/QuirksMode.css"
|
input = "CSS/QuirksMode.css"
|
||||||
output = "$target_gen_dir/CSS/QuirksModeStyleSheetSource.cpp"
|
output = "$target_gen_dir/CSS/QuirksModeStyleSheetSource.cpp"
|
||||||
|
@ -230,13 +237,6 @@ embed_as_string_view("generate_quirks_mode_stylesheet_source") {
|
||||||
namespace = "Web::CSS"
|
namespace = "Web::CSS"
|
||||||
}
|
}
|
||||||
|
|
||||||
embed_as_string_view("generate_mathml_stylesheet_source") {
|
|
||||||
input = "MathML/Default.css"
|
|
||||||
output = "$target_gen_dir/MathML/MathMLStyleSheetSource.cpp"
|
|
||||||
variable_name = "mathml_stylesheet_source"
|
|
||||||
namespace = "Web::MathML"
|
|
||||||
}
|
|
||||||
|
|
||||||
source_set("all_generated") {
|
source_set("all_generated") {
|
||||||
generated_deps = [
|
generated_deps = [
|
||||||
":generate_aria_roles",
|
":generate_aria_roles",
|
||||||
|
@ -249,6 +249,7 @@ source_set("all_generated") {
|
||||||
":generate_css_transform_functions",
|
":generate_css_transform_functions",
|
||||||
":generate_css_value_id",
|
":generate_css_value_id",
|
||||||
":generate_default_stylesheet_source",
|
":generate_default_stylesheet_source",
|
||||||
|
":generate_mathml_stylesheet_source",
|
||||||
":generate_quirks_mode_stylesheet_source",
|
":generate_quirks_mode_stylesheet_source",
|
||||||
":generate_window_or_worker_interfaces",
|
":generate_window_or_worker_interfaces",
|
||||||
]
|
]
|
||||||
|
@ -293,9 +294,11 @@ shared_library("LibWeb") {
|
||||||
"HTML",
|
"HTML",
|
||||||
"HighResolutionTime",
|
"HighResolutionTime",
|
||||||
"Infra",
|
"Infra",
|
||||||
|
"Internals",
|
||||||
"IntersectionObserver",
|
"IntersectionObserver",
|
||||||
"Layout",
|
"Layout",
|
||||||
"Loader",
|
"Loader",
|
||||||
|
"MathML",
|
||||||
"MimeSniff",
|
"MimeSniff",
|
||||||
"NavigationTiming",
|
"NavigationTiming",
|
||||||
"Page",
|
"Page",
|
||||||
|
|
|
@ -37,6 +37,7 @@ source_set("StyleValues") {
|
||||||
"OverflowStyleValue.cpp",
|
"OverflowStyleValue.cpp",
|
||||||
"PlaceContentStyleValue.cpp",
|
"PlaceContentStyleValue.cpp",
|
||||||
"PlaceItemsStyleValue.cpp",
|
"PlaceItemsStyleValue.cpp",
|
||||||
|
"PlaceSelfStyleValue.cpp",
|
||||||
"PositionStyleValue.cpp",
|
"PositionStyleValue.cpp",
|
||||||
"RadialGradientStyleValue.cpp",
|
"RadialGradientStyleValue.cpp",
|
||||||
"RectStyleValue.cpp",
|
"RectStyleValue.cpp",
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
source_set("Internals") {
|
||||||
|
configs += [ "//Userland/Libraries/LibWeb:configs" ]
|
||||||
|
deps = [ "//Userland/Libraries/LibWeb:all_generated" ]
|
||||||
|
sources = [ "Internals.cpp" ]
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
source_set("MathML") {
|
||||||
|
configs += [ "//Userland/Libraries/LibWeb:configs" ]
|
||||||
|
deps = [ "//Userland/Libraries/LibWeb:all_generated" ]
|
||||||
|
sources = [
|
||||||
|
"MathMLElement.cpp",
|
||||||
|
"TagNames.cpp",
|
||||||
|
]
|
||||||
|
}
|
|
@ -20,6 +20,7 @@ source_set("SVG") {
|
||||||
"SVGLength.cpp",
|
"SVGLength.cpp",
|
||||||
"SVGLineElement.cpp",
|
"SVGLineElement.cpp",
|
||||||
"SVGLinearGradientElement.cpp",
|
"SVGLinearGradientElement.cpp",
|
||||||
|
"SVGMaskElement.cpp",
|
||||||
"SVGPathElement.cpp",
|
"SVGPathElement.cpp",
|
||||||
"SVGPolygonElement.cpp",
|
"SVGPolygonElement.cpp",
|
||||||
"SVGPolylineElement.cpp",
|
"SVGPolylineElement.cpp",
|
||||||
|
|
|
@ -41,6 +41,7 @@ standard_idl_files = [
|
||||||
"//Userland/Libraries/LibWeb/CSS/Screen.idl",
|
"//Userland/Libraries/LibWeb/CSS/Screen.idl",
|
||||||
"//Userland/Libraries/LibWeb/CSS/StyleSheet.idl",
|
"//Userland/Libraries/LibWeb/CSS/StyleSheet.idl",
|
||||||
"//Userland/Libraries/LibWeb/CSS/StyleSheetList.idl",
|
"//Userland/Libraries/LibWeb/CSS/StyleSheetList.idl",
|
||||||
|
"//Userland/Libraries/LibWeb/CSS/VisualViewport.idl",
|
||||||
"//Userland/Libraries/LibWeb/DOM/AbstractRange.idl",
|
"//Userland/Libraries/LibWeb/DOM/AbstractRange.idl",
|
||||||
"//Userland/Libraries/LibWeb/DOM/Attr.idl",
|
"//Userland/Libraries/LibWeb/DOM/Attr.idl",
|
||||||
"//Userland/Libraries/LibWeb/DOM/AbortController.idl",
|
"//Userland/Libraries/LibWeb/DOM/AbortController.idl",
|
||||||
|
@ -198,8 +199,10 @@ standard_idl_files = [
|
||||||
"//Userland/Libraries/LibWeb/HTML/WorkerLocation.idl",
|
"//Userland/Libraries/LibWeb/HTML/WorkerLocation.idl",
|
||||||
"//Userland/Libraries/LibWeb/HTML/WorkerNavigator.idl",
|
"//Userland/Libraries/LibWeb/HTML/WorkerNavigator.idl",
|
||||||
"//Userland/Libraries/LibWeb/HighResolutionTime/Performance.idl",
|
"//Userland/Libraries/LibWeb/HighResolutionTime/Performance.idl",
|
||||||
|
"//Userland/Libraries/LibWeb/Internals/Internals.idl",
|
||||||
"//Userland/Libraries/LibWeb/IntersectionObserver/IntersectionObserver.idl",
|
"//Userland/Libraries/LibWeb/IntersectionObserver/IntersectionObserver.idl",
|
||||||
"//Userland/Libraries/LibWeb/IntersectionObserver/IntersectionObserverEntry.idl",
|
"//Userland/Libraries/LibWeb/IntersectionObserver/IntersectionObserverEntry.idl",
|
||||||
|
"//Userland/Libraries/LibWeb/MathML/MathMLElement.idl",
|
||||||
"//Userland/Libraries/LibWeb/NavigationTiming/PerformanceTiming.idl",
|
"//Userland/Libraries/LibWeb/NavigationTiming/PerformanceTiming.idl",
|
||||||
"//Userland/Libraries/LibWeb/PerformanceTimeline/PerformanceEntry.idl",
|
"//Userland/Libraries/LibWeb/PerformanceTimeline/PerformanceEntry.idl",
|
||||||
"//Userland/Libraries/LibWeb/RequestIdleCallback/IdleDeadline.idl",
|
"//Userland/Libraries/LibWeb/RequestIdleCallback/IdleDeadline.idl",
|
||||||
|
@ -231,6 +234,7 @@ standard_idl_files = [
|
||||||
"//Userland/Libraries/LibWeb/SVG/SVGLength.idl",
|
"//Userland/Libraries/LibWeb/SVG/SVGLength.idl",
|
||||||
"//Userland/Libraries/LibWeb/SVG/SVGLineElement.idl",
|
"//Userland/Libraries/LibWeb/SVG/SVGLineElement.idl",
|
||||||
"//Userland/Libraries/LibWeb/SVG/SVGLinearGradientElement.idl",
|
"//Userland/Libraries/LibWeb/SVG/SVGLinearGradientElement.idl",
|
||||||
|
"//Userland/Libraries/LibWeb/SVG/SVGMaskElement.idl",
|
||||||
"//Userland/Libraries/LibWeb/SVG/SVGPathElement.idl",
|
"//Userland/Libraries/LibWeb/SVG/SVGPathElement.idl",
|
||||||
"//Userland/Libraries/LibWeb/SVG/SVGPolygonElement.idl",
|
"//Userland/Libraries/LibWeb/SVG/SVGPolygonElement.idl",
|
||||||
"//Userland/Libraries/LibWeb/SVG/SVGPolylineElement.idl",
|
"//Userland/Libraries/LibWeb/SVG/SVGPolylineElement.idl",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue