mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
Meta: Create python version of invoke_generator
This allows for the C++ and Python generators to share the same core implementation, which will simplify the generator migration process
This commit is contained in:
parent
92b69e7885
commit
3836d0e219
Notes:
github-actions[bot]
2025-06-26 13:59:18 +00:00
Author: https://github.com/ayeteadoe
Commit: 3836d0e219
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5027
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/R-Goc
Reviewed-by: https://github.com/jdahlin
4 changed files with 45 additions and 19 deletions
|
@ -951,7 +951,7 @@ set(SOURCES
|
|||
compile_ipc(Worker/WebWorkerClient.ipc Worker/WebWorkerClientEndpoint.h)
|
||||
compile_ipc(Worker/WebWorkerServer.ipc Worker/WebWorkerServerEndpoint.h)
|
||||
|
||||
invoke_generator(
|
||||
invoke_cpp_generator(
|
||||
"AriaRoles.cpp"
|
||||
Lagom::GenerateAriaRoles
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/ARIA/AriaRoles.json"
|
||||
|
@ -964,7 +964,7 @@ generate_css_implementation()
|
|||
|
||||
generate_html_implementation()
|
||||
|
||||
invoke_generator(
|
||||
invoke_cpp_generator(
|
||||
"WebGLRenderingContextImpl.cpp"
|
||||
Lagom::GenerateWebGLRenderingContext
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/WebGL/WebGLRenderingContextBase.idl"
|
||||
|
@ -976,7 +976,7 @@ invoke_generator(
|
|||
dependencies WebGL/WebGLRenderingContextBase.idl WebGL/WebGLRenderingContextOverloads.idl CSS/GeneratedCSSStyleProperties.idl
|
||||
)
|
||||
|
||||
invoke_generator(
|
||||
invoke_cpp_generator(
|
||||
"WebGL2RenderingContextImpl.cpp"
|
||||
Lagom::GenerateWebGLRenderingContext
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/WebGL/WebGL2RenderingContextBase.idl"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue