Meta: Port dd073b2711
to gn build
This commit is contained in:
parent
a3e4535f34
commit
2f16aa45b7
Notes:
sideshowbarker
2024-07-17 22:41:14 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/2f16aa45b7 Pull-request: https://github.com/SerenityOS/serenity/pull/19911
3 changed files with 27 additions and 0 deletions
|
@ -12,6 +12,14 @@ lagom_tool("GenerateAriaRoles") {
|
|||
]
|
||||
}
|
||||
|
||||
lagom_tool("GenerateCSSEasingFunctions") {
|
||||
sources = [ "GenerateCSSEasingFunctions.cpp" ]
|
||||
deps = [
|
||||
":headers",
|
||||
"//Userland/Libraries/LibMain",
|
||||
]
|
||||
}
|
||||
|
||||
lagom_tool("GenerateCSSEnums") {
|
||||
sources = [ "GenerateCSSEnums.cpp" ]
|
||||
deps = [
|
||||
|
|
|
@ -79,6 +79,23 @@ compiled_action("generate_aria_roles") {
|
|||
]
|
||||
}
|
||||
|
||||
compiled_action("generate_css_easing_functions") {
|
||||
tool = "//Meta/Lagom/Tools/CodeGenerators/LibWeb:GenerateCSSEasingFunctions"
|
||||
inputs = [ "CSS/EasingFunctions.json" ]
|
||||
outputs = [
|
||||
"$target_gen_dir/CSS/EasingFunctions.h",
|
||||
"$target_gen_dir/CSS/EasingFunctions.cpp",
|
||||
]
|
||||
args = [
|
||||
"-h",
|
||||
rebase_path(outputs[0], root_build_dir),
|
||||
"-c",
|
||||
rebase_path(outputs[1], root_build_dir),
|
||||
"-j",
|
||||
rebase_path(inputs[0], root_build_dir),
|
||||
]
|
||||
}
|
||||
|
||||
compiled_action("generate_css_enums") {
|
||||
tool = "//Meta/Lagom/Tools/CodeGenerators/LibWeb:GenerateCSSEnums"
|
||||
inputs = [ "CSS/Enums.json" ]
|
||||
|
@ -182,6 +199,7 @@ embed_as_string_view("generate_quirks_mode_stylesheet_source") {
|
|||
source_set("all_generated") {
|
||||
generated_deps = [
|
||||
":generate_aria_roles",
|
||||
":generate_css_easing_functions",
|
||||
":generate_css_enums",
|
||||
":generate_css_media_feature_id",
|
||||
":generate_css_property_id",
|
||||
|
|
|
@ -15,6 +15,7 @@ source_set("StyleValues") {
|
|||
"ConicGradientStyleValue.cpp",
|
||||
"ContentStyleValue.cpp",
|
||||
"DisplayStyleValue.cpp",
|
||||
"EasingStyleValue.cpp",
|
||||
"EdgeStyleValue.cpp",
|
||||
"FilterValueListStyleValue.cpp",
|
||||
"FlexFlowStyleValue.cpp",
|
||||
|
|
Loading…
Add table
Reference in a new issue