modules/wayland: Change default value of include_core_only to true

The use of wayland-<client|server>.h is discouraged, therefore
change the default value of include_core_only to true.
pull/10790/head
Mark Bolhuis 2 years ago committed by Xavier Claessens
parent b6235a2e42
commit a289e5416b
  1. 2
      docs/markdown/Wayland-module.md
  2. 2
      mesonbuild/modules/wayland.py

@ -50,7 +50,7 @@ generated = wl_mod.scan_xml(
client : true, client : true,
server : true, server : true,
public : false, public : false,
include_core_only : false, include_core_only : true,
) )
``` ```
This function accepts one or more arguments of either string or file type. This function accepts one or more arguments of either string or file type.

@ -66,7 +66,7 @@ class WaylandModule(ExtensionModule):
KwargInfo('public', bool, default=False), KwargInfo('public', bool, default=False),
KwargInfo('client', bool, default=True), KwargInfo('client', bool, default=True),
KwargInfo('server', bool, default=False), KwargInfo('server', bool, default=False),
KwargInfo('include_core_only', bool, default=False, since='0.64.0'), KwargInfo('include_core_only', bool, default=True, since='0.64.0'),
) )
def scan_xml(self, state: ModuleState, args: T.Tuple[T.List[FileOrString]], kwargs: ScanXML) -> ModuleReturnValue: def scan_xml(self, state: ModuleState, args: T.Tuple[T.List[FileOrString]], kwargs: ScanXML) -> ModuleReturnValue:
if self.scanner_bin is None: if self.scanner_bin is None:

Loading…
Cancel
Save