File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
Meta/Lagom/Tools/CodeGenerators/LibWeb
Userland/Libraries/LibWeb Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,14 @@ lagom_tool("GenerateCSSEnums") {
28
28
]
29
29
}
30
30
31
+ lagom_tool (" GenerateCSSMathFunctions" ) {
32
+ sources = [ " GenerateCSSMathFunctions.cpp" ]
33
+ deps = [
34
+ " :headers" ,
35
+ " //Userland/Libraries/LibMain" ,
36
+ ]
37
+ }
38
+
31
39
lagom_tool (" GenerateCSSMediaFeatureID" ) {
32
40
sources = [ " GenerateCSSMediaFeatureID.cpp" ]
33
41
deps = [
Original file line number Diff line number Diff line change @@ -113,6 +113,23 @@ compiled_action("generate_css_enums") {
113
113
]
114
114
}
115
115
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
+
116
133
compiled_action (" generate_css_media_feature_id" ) {
117
134
tool = " //Meta/Lagom/Tools/CodeGenerators/LibWeb:GenerateCSSMediaFeatureID"
118
135
inputs = [ " CSS/MediaFeatures.json" ]
@@ -201,6 +218,7 @@ source_set("all_generated") {
201
218
" :generate_aria_roles" ,
202
219
" :generate_css_easing_functions" ,
203
220
" :generate_css_enums" ,
221
+ " :generate_css_math_functions" ,
204
222
" :generate_css_media_feature_id" ,
205
223
" :generate_css_property_id" ,
206
224
" :generate_css_transform_functions" ,
You can’t perform that action at this time.
0 commit comments