mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
Teach BindingsGenerator to parse and generate bindings for the full LibWeb IDL set in one invocation, and collapse the CMake bindings rules from one custom command per IDL file to a single batched codegen step. This has the downsides of: * Any single IDL change now reruns the whole bindings generator * Per-IDL parallelism at the custom-command level is lost However, I still feel that this is a worthy trade off as: * Generated files are written with write_if_changed(), so rebuilds of generated files should not be significantly impacted. * It is not a common task to be modifying IDL files * Most importantly, giving the IDL generator full knowledge of _all_ IDL will allow for some simplifications of the bindings generator as it has knowledge of all types.