mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 20:45:14 +00:00
Meta: Port 618c0402
to gn build
This commit is contained in:
parent
0e63d04a35
commit
57ad638dcc
Notes:
sideshowbarker
2024-07-17 01:53:23 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/57ad638dcc Pull-request: https://github.com/SerenityOS/serenity/pull/20054 Reviewed-by: https://github.com/linusg
2 changed files with 26 additions and 0 deletions
|
@ -28,6 +28,14 @@ lagom_tool("GenerateCSSEnums") {
|
|||
]
|
||||
}
|
||||
|
||||
lagom_tool("GenerateCSSMathFunctions") {
|
||||
sources = [ "GenerateCSSMathFunctions.cpp" ]
|
||||
deps = [
|
||||
":headers",
|
||||
"//Userland/Libraries/LibMain",
|
||||
]
|
||||
}
|
||||
|
||||
lagom_tool("GenerateCSSMediaFeatureID") {
|
||||
sources = [ "GenerateCSSMediaFeatureID.cpp" ]
|
||||
deps = [
|
||||
|
|
|
@ -113,6 +113,23 @@ compiled_action("generate_css_enums") {
|
|||
]
|
||||
}
|
||||
|
||||
compiled_action("generate_css_math_functions") {
|
||||
tool = "//Meta/Lagom/Tools/CodeGenerators/LibWeb:GenerateCSSMathFunctions"
|
||||
inputs = [ "CSS/MathFunctions.json" ]
|
||||
outputs = [
|
||||
"$target_gen_dir/CSS/MathFunctions.h",
|
||||
"$target_gen_dir/CSS/MathFunctions.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_media_feature_id") {
|
||||
tool = "//Meta/Lagom/Tools/CodeGenerators/LibWeb:GenerateCSSMediaFeatureID"
|
||||
inputs = [ "CSS/MediaFeatures.json" ]
|
||||
|
@ -201,6 +218,7 @@ source_set("all_generated") {
|
|||
":generate_aria_roles",
|
||||
":generate_css_easing_functions",
|
||||
":generate_css_enums",
|
||||
":generate_css_math_functions",
|
||||
":generate_css_media_feature_id",
|
||||
":generate_css_property_id",
|
||||
":generate_css_transform_functions",
|
||||
|
|
Loading…
Add table
Reference in a new issue