diff options
Diffstat (limited to 'mesonbuild/modules')
-rw-r--r-- | mesonbuild/modules/wayland.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/modules/wayland.py b/mesonbuild/modules/wayland.py index 1b2b333..0cbc4b7 100644 --- a/mesonbuild/modules/wayland.py +++ b/mesonbuild/modules/wayland.py @@ -37,7 +37,7 @@ if T.TYPE_CHECKING: public: bool client: bool server: bool - core_only: bool + include_core_only: bool class FindProtocol(TypedDict): @@ -66,7 +66,7 @@ class WaylandModule(ExtensionModule): KwargInfo('public', bool, default=False), KwargInfo('client', bool, default=True), KwargInfo('server', bool, default=False), - KwargInfo('core_only', bool, default=False, since='0.64.0'), + KwargInfo('include_core_only', bool, default=False, since='0.64.0'), ) def scan_xml(self, state: ModuleState, args: T.Tuple[T.List[FileOrString]], kwargs: ScanXML) -> ModuleReturnValue: if self.scanner_bin is None: @@ -101,7 +101,7 @@ class WaylandModule(ExtensionModule): for side in sides: command = [self.scanner_bin, f'{side}-header', '@INPUT@', '@OUTPUT@'] - if kwargs['core_only']: + if kwargs['include_core_only']: command.append('--include-core-only') header = CustomTarget( |