diff options
author | Andreas Kling <kling@serenityos.org> | 2022-09-04 16:57:33 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-09-06 00:27:09 +0200 |
commit | ac274eee72be852afc0e357a3525f133699a3dc9 (patch) | |
tree | 22d438c6622b1dc144944f2ad8e4173c4119e0ee /Meta/CMake | |
parent | 497ead37bcc959a9325aa22b0a233e302b071229 (diff) | |
download | serenity-ac274eee72be852afc0e357a3525f133699a3dc9.zip |
LibWeb: Remove the NO_INSTANCE option now that all wrappers are gone
Diffstat (limited to 'Meta/CMake')
-rw-r--r-- | Meta/CMake/libweb_generators.cmake | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Meta/CMake/libweb_generators.cmake b/Meta/CMake/libweb_generators.cmake index 9979a1492d..8716944bd3 100644 --- a/Meta/CMake/libweb_generators.cmake +++ b/Meta/CMake/libweb_generators.cmake @@ -106,7 +106,6 @@ function (generate_js_wrappers target) function(libweb_js_wrapper class) cmake_parse_arguments(PARSE_ARGV 1 LIBWEB_WRAPPER "ITERABLE" "" "") - cmake_parse_arguments(PARSE_ARGV 1 LIBWEB_WRAPPER "NO_INSTANCE" "" "") get_filename_component(basename "${class}" NAME) set(BINDINGS_SOURCES "${LIBWEB_OUTPUT_FOLDER}Bindings/${basename}Constructor.h" @@ -120,32 +119,9 @@ function (generate_js_wrappers target) prototype-header prototype-implementation ) - if(NOT LIBWEB_WRAPPER_NO_INSTANCE) - set(BINDINGS_SOURCES - ${BINDINGS_SOURCES} - "${LIBWEB_OUTPUT_FOLDER}Bindings/${basename}Wrapper.h" - "${LIBWEB_OUTPUT_FOLDER}Bindings/${basename}Wrapper.cpp" - ) - - set(BINDINGS_TYPES - ${BINDINGS_TYPES} - header - implementation - ) - endif() # FIXME: Instead of requiring a manual declaration of iterable wrappers, we should ask WrapperGenerator if it's iterable if(LIBWEB_WRAPPER_ITERABLE) - if(NOT LIBWEB_WRAPPER_NO_INSTANCE) - list(APPEND BINDINGS_SOURCES - "${LIBWEB_OUTPUT_FOLDER}Bindings/${basename}IteratorWrapper.h" - "${LIBWEB_OUTPUT_FOLDER}Bindings/${basename}IteratorWrapper.cpp" - ) - list(APPEND BINDINGS_TYPES - iterator-header - iterator-implementation - ) - endif() list(APPEND BINDINGS_SOURCES "${LIBWEB_OUTPUT_FOLDER}Bindings/${basename}IteratorPrototype.h" "${LIBWEB_OUTPUT_FOLDER}Bindings/${basename}IteratorPrototype.cpp" |