mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 05:07:45 +00:00
Everywhere: Rename WrapperGenerator to BindingsGenerator
This code generator no longer creates JS wrappers for platform objects in the old sense, instead they're JS objects internally themselves. Most of what we generate now are prototypes - which can be seen as bindings for the internal C++ methods implementing getters, setters, and methods - as well as object constructors, i.e. bindings for the internal create_with_global_object() method. Also tweak the naming of various CMake glue code existing around this.
This commit is contained in:
parent
4270ede7c4
commit
edfef8e2f5
14 changed files with 219 additions and 219 deletions
|
@ -292,7 +292,7 @@ lagom_lib(TimeZone timezone
|
|||
target_compile_definitions(LibTimeZone PRIVATE ENABLE_TIME_ZONE_DATA=$<BOOL:${ENABLE_TIME_ZONE_DATABASE_DOWNLOAD}>)
|
||||
|
||||
# LibIDL
|
||||
# This is used by the WrapperGenerator so needs to always be built.
|
||||
# This is used by the BindingsGenerator so needs to always be built.
|
||||
file(GLOB LIBIDL_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibIDL/*.cpp")
|
||||
lagom_lib(IDL idl
|
||||
SOURCES ${LIBIDL_SOURCES}
|
||||
|
@ -557,7 +557,7 @@ if (BUILD_LAGOM)
|
|||
SOURCES ${LIBWEB_SOURCES} ${LIBWEB_SUBDIR_SOURCES} ${LIBWEB_SUBSUBDIR_SOURCES} ${LIBWEB_SUBSUBSUBDIR_SOURCES} ${LIBWEB_GENERATED_SOURCES}
|
||||
LIBS LibMarkdown LibGemini LibGfx LibGL LibIDL LibJS LibTextCodec LibWasm LibXML
|
||||
)
|
||||
generate_js_wrappers(LibWeb)
|
||||
generate_js_bindings(LibWeb)
|
||||
endif()
|
||||
|
||||
# WebSocket
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue