Meta: Port recent build changes to gn build
This ports the following commits:848ec538c6
703c2bb06e
27dd2a40ad
daefe744ba
9812031a02
4c0816b002
8bb275f2ea
3f122b7335
This commit is contained in:
parent
4a124333c8
commit
967cb86c5b
Notes:
sideshowbarker
2024-07-16 23:44:30 +09:00
Author: https://github.com/SebastianZaha Commit: https://github.com/SerenityOS/serenity/commit/967cb86c5b Pull-request: https://github.com/SerenityOS/serenity/pull/20821 Reviewed-by: https://github.com/ADKaster ✅
8 changed files with 20 additions and 1 deletions
|
@ -56,6 +56,7 @@ source_set("CSS") {
|
|||
"StyleSheetList.cpp",
|
||||
"StyleValue.cpp",
|
||||
"Supports.cpp",
|
||||
"SystemColor.cpp",
|
||||
"Time.cpp",
|
||||
"VisualViewport.cpp",
|
||||
]
|
||||
|
|
|
@ -22,6 +22,7 @@ source_set("StyleValues") {
|
|||
"FlexStyleValue.cpp",
|
||||
"FontStyleValue.cpp",
|
||||
"GridAreaShorthandStyleValue.cpp",
|
||||
"GridAutoFlowStyleValue.cpp",
|
||||
"GridTemplateAreaStyleValue.cpp",
|
||||
"GridTrackPlacementShorthandStyleValue.cpp",
|
||||
"GridTrackPlacementStyleValue.cpp",
|
||||
|
|
|
@ -26,6 +26,7 @@ source_set("DOM") {
|
|||
"EventDispatcher.cpp",
|
||||
"EventTarget.cpp",
|
||||
"HTMLCollection.cpp",
|
||||
"HTMLFormControlsCollection.cpp",
|
||||
"IDLEventListener.cpp",
|
||||
"LiveNodeList.cpp",
|
||||
"MutationObserver.cpp",
|
||||
|
@ -41,6 +42,7 @@ source_set("DOM") {
|
|||
"Position.cpp",
|
||||
"ProcessingInstruction.cpp",
|
||||
"QualifiedName.cpp",
|
||||
"RadioNodeList.cpp",
|
||||
"Range.cpp",
|
||||
"ShadowRoot.cpp",
|
||||
"StaticNodeList.cpp",
|
||||
|
|
|
@ -131,6 +131,7 @@ source_set("HTML") {
|
|||
"NavigationTransition.cpp",
|
||||
"Navigator.cpp",
|
||||
"NavigatorID.cpp",
|
||||
"Numbers.cpp",
|
||||
"PageTransitionEvent.cpp",
|
||||
"Path2D.cpp",
|
||||
"Plugin.cpp",
|
||||
|
|
|
@ -42,6 +42,7 @@ source_set("Layout") {
|
|||
"SVGSVGBox.cpp",
|
||||
"SVGTextBox.cpp",
|
||||
"TableFormattingContext.cpp",
|
||||
"TableGrid.cpp",
|
||||
"TableWrapper.cpp",
|
||||
"TextNode.cpp",
|
||||
"TreeBuilder.cpp",
|
||||
|
|
|
@ -35,5 +35,6 @@ source_set("Painting") {
|
|||
"TableBordersPainting.cpp",
|
||||
"TextPaintable.cpp",
|
||||
"VideoPaintable.cpp",
|
||||
"ViewportPaintable.cpp",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -59,6 +59,7 @@ standard_idl_files = [
|
|||
"//Userland/Libraries/LibWeb/DOM/Event.idl",
|
||||
"//Userland/Libraries/LibWeb/DOM/EventTarget.idl",
|
||||
"//Userland/Libraries/LibWeb/DOM/HTMLCollection.idl",
|
||||
"//Userland/Libraries/LibWeb/DOM/HTMLFormControlsCollection.idl",
|
||||
"//Userland/Libraries/LibWeb/DOM/MutationRecord.idl",
|
||||
"//Userland/Libraries/LibWeb/DOM/MutationObserver.idl",
|
||||
"//Userland/Libraries/LibWeb/DOM/NamedNodeMap.idl",
|
||||
|
@ -67,6 +68,7 @@ standard_idl_files = [
|
|||
"//Userland/Libraries/LibWeb/DOM/NodeIterator.idl",
|
||||
"//Userland/Libraries/LibWeb/DOM/NodeList.idl",
|
||||
"//Userland/Libraries/LibWeb/DOM/ProcessingInstruction.idl",
|
||||
"//Userland/Libraries/LibWeb/DOM/RadioNodeList.idl",
|
||||
"//Userland/Libraries/LibWeb/DOM/Range.idl",
|
||||
"//Userland/Libraries/LibWeb/DOM/ShadowRoot.idl",
|
||||
"//Userland/Libraries/LibWeb/DOM/StaticRange.idl",
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import("//Meta/gn/build/compiled_action.gni")
|
||||
import("//Meta/gn/build/embed_as_string_view.gni")
|
||||
|
||||
compiled_action("WebContentClientEndpoint") {
|
||||
tool = "//Meta/Lagom/Tools/CodeGenerators/IPCCompiler"
|
||||
|
@ -44,6 +45,13 @@ compiled_action("WebDriverServerEndpoint") {
|
|||
]
|
||||
}
|
||||
|
||||
embed_as_string_view("generate_native_stylesheet_source") {
|
||||
input = "Native.css"
|
||||
output = "$target_gen_dir/NativeStyleSheetSource.cpp"
|
||||
variable_name = "native_stylesheet_source"
|
||||
namespace = "WebView"
|
||||
}
|
||||
|
||||
shared_library("LibWebView") {
|
||||
output_name = "webview"
|
||||
include_dirs = [
|
||||
|
@ -56,6 +64,7 @@ shared_library("LibWebView") {
|
|||
":WebContentServerEndpoint",
|
||||
":WebDriverClientEndpoint",
|
||||
":WebDriverServerEndpoint",
|
||||
":generate_native_stylesheet_source",
|
||||
"//AK",
|
||||
"//Userland/Libraries/LibCore",
|
||||
"//Userland/Libraries/LibGUI",
|
||||
|
@ -76,5 +85,6 @@ shared_library("LibWebView") {
|
|||
sources += get_target_outputs(":WebContentClientEndpoint") +
|
||||
get_target_outputs(":WebContentServerEndpoint") +
|
||||
get_target_outputs(":WebDriverClientEndpoint") +
|
||||
get_target_outputs(":WebDriverServerEndpoint")
|
||||
get_target_outputs(":WebDriverServerEndpoint") +
|
||||
get_target_outputs(":generate_native_stylesheet_source")
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue