mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:37:44 +00:00
Meta: Port 618c0402
to gn build
This commit is contained in:
parent
0e63d04a35
commit
57ad638dcc
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") {
|
lagom_tool("GenerateCSSMediaFeatureID") {
|
||||||
sources = [ "GenerateCSSMediaFeatureID.cpp" ]
|
sources = [ "GenerateCSSMediaFeatureID.cpp" ]
|
||||||
deps = [
|
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") {
|
compiled_action("generate_css_media_feature_id") {
|
||||||
tool = "//Meta/Lagom/Tools/CodeGenerators/LibWeb:GenerateCSSMediaFeatureID"
|
tool = "//Meta/Lagom/Tools/CodeGenerators/LibWeb:GenerateCSSMediaFeatureID"
|
||||||
inputs = [ "CSS/MediaFeatures.json" ]
|
inputs = [ "CSS/MediaFeatures.json" ]
|
||||||
|
@ -201,6 +218,7 @@ source_set("all_generated") {
|
||||||
":generate_aria_roles",
|
":generate_aria_roles",
|
||||||
":generate_css_easing_functions",
|
":generate_css_easing_functions",
|
||||||
":generate_css_enums",
|
":generate_css_enums",
|
||||||
|
":generate_css_math_functions",
|
||||||
":generate_css_media_feature_id",
|
":generate_css_media_feature_id",
|
||||||
":generate_css_property_id",
|
":generate_css_property_id",
|
||||||
":generate_css_transform_functions",
|
":generate_css_transform_functions",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue