diff --git a/src/meson.build b/src/meson.build index 139b747e0..4be9b2bd4 100644 --- a/src/meson.build +++ b/src/meson.build @@ -924,6 +924,11 @@ dbus_interfaces = [ 'prefix': 'org.gnome.Mutter.', 'object_manager': true, }, + { + 'name': 'meta-dbus-input-capture', + 'interface': 'org.gnome.Mutter.InputCapture.xml', + 'prefix': 'org.gnome.Mutter', + }, { 'name': 'meta-dbus-input-mapping', 'interface': 'org.gnome.Mutter.InputMapping.xml', @@ -1036,13 +1041,6 @@ foreach dbus_interface: dbus_interfaces mutter_built_sources += dbus_sources endforeach -dbus_input_capture_built_sources = gnome.gdbus_codegen('meta-dbus-input-capture', - dbus_interfaces_dir / 'org.gnome.Mutter.InputCapture.xml', - interface_prefix: 'org.gnome.Mutter', - namespace: 'MetaDBus', -) -mutter_built_sources += dbus_input_capture_built_sources - wayland_protocol_server_headers = [] wayland_protocol_client_headers = [] wayland_protocol_sources = [] diff --git a/src/tests/meson.build b/src/tests/meson.build index de9e16efa..558105842 100644 --- a/src/tests/meson.build +++ b/src/tests/meson.build @@ -322,7 +322,7 @@ if have_native_tests 'input-capture-test-client.c', '../backends/meta-fd-source.c', '../backends/meta-fd-source.h', - dbus_input_capture_built_sources, + built_dbus_sources['meta-dbus-input-capture'], ], include_directories: tests_includes, c_args: [