Skip to content

Commit 57ad638

Browse files
ADKasterlinusg
authored andcommitted
Meta: Port 618c040 to gn build
1 parent 0e63d04 commit 57ad638

File tree

2 files changed

+26
-0
lines changed
  • Meta/gn/secondary

2 files changed

+26
-0
lines changed

Meta/gn/secondary/Meta/Lagom/Tools/CodeGenerators/LibWeb/BUILD.gn

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ lagom_tool("GenerateCSSEnums") {
2828
]
2929
}
3030

31+
lagom_tool("GenerateCSSMathFunctions") {
32+
sources = [ "GenerateCSSMathFunctions.cpp" ]
33+
deps = [
34+
":headers",
35+
"//Userland/Libraries/LibMain",
36+
]
37+
}
38+
3139
lagom_tool("GenerateCSSMediaFeatureID") {
3240
sources = [ "GenerateCSSMediaFeatureID.cpp" ]
3341
deps = [

Meta/gn/secondary/Userland/Libraries/LibWeb/BUILD.gn

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,23 @@ compiled_action("generate_css_enums") {
113113
]
114114
}
115115

116+
compiled_action("generate_css_math_functions") {
117+
tool = "//Meta/Lagom/Tools/CodeGenerators/LibWeb:GenerateCSSMathFunctions"
118+
inputs = [ "CSS/MathFunctions.json" ]
119+
outputs = [
120+
"$target_gen_dir/CSS/MathFunctions.h",
121+
"$target_gen_dir/CSS/MathFunctions.cpp",
122+
]
123+
args = [
124+
"-h",
125+
rebase_path(outputs[0], root_build_dir),
126+
"-c",
127+
rebase_path(outputs[1], root_build_dir),
128+
"-j",
129+
rebase_path(inputs[0], root_build_dir),
130+
]
131+
}
132+
116133
compiled_action("generate_css_media_feature_id") {
117134
tool = "//Meta/Lagom/Tools/CodeGenerators/LibWeb:GenerateCSSMediaFeatureID"
118135
inputs = [ "CSS/MediaFeatures.json" ]
@@ -201,6 +218,7 @@ source_set("all_generated") {
201218
":generate_aria_roles",
202219
":generate_css_easing_functions",
203220
":generate_css_enums",
221+
":generate_css_math_functions",
204222
":generate_css_media_feature_id",
205223
":generate_css_property_id",
206224
":generate_css_transform_functions",

0 commit comments

Comments
 (0)