Commit 62017a7b authored by Guido Gunther's avatar Guido Gunther

Move org.gnome.Mutter.IdleMonitor.xml to src/dbus/

Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent d3028d50
......@@ -6,3 +6,10 @@ generated_dbus_sources += gnome.gdbus_codegen('gnome-session-presence-dbus',
'org.gnome.SessionManager.Presence.xml',
interface_prefix: 'org.gnome.SessionManager',
namespace: 'PhoshSessionPresenceDbus')
# DBus server protocole
generated_dbus_sources += gnome.gdbus_codegen('phosh-idle-dbus',
'org.gnome.Mutter.IdleMonitor.xml',
interface_prefix: 'org.gnome.Mutter.IdleMonitor.',
object_manager: true,
namespace: 'PhoshIdleDbus')
generated_idle_sources = gnome.gdbus_codegen(
'phosh-idle-dbus',
'org.gnome.Mutter.IdleMonitor.xml',
interface_prefix: 'org.gnome.Mutter.IdleMonitor.',
object_manager: true,
namespace: 'PhoshIdleDbus',
)
phosh_idle_sources = [
generated_idle_sources,
]
subdir('dbus')
subdir('idle')
subdir('monitor')
subdir('osk')
subdir('wwan')
......@@ -60,7 +59,6 @@ phosh_sources = [
'wwaninfo.h',
generated_dbus_sources,
phosh_resources,
phosh_idle_sources,
phosh_wwan_sources,
phosh_monitor_sources,
phosh_osk_sources,
......
......@@ -14,7 +14,7 @@ test_cflags = [
'-fPIE',
'-I../src',
'-I@0@/../src'.format(meson.current_build_dir()),
'-I@0@/../src/idle'.format(meson.current_build_dir()),
'-I@0@/../src/dbus'.format(meson.current_build_dir()),
'-DTEST_DATA_DIR="@0@/data"'.format(meson.current_source_dir()),
]
......@@ -52,7 +52,7 @@ endif
# Integration tests
t = executable('test-idle-manager',
['test-idle-manager.c', generated_idle_sources],
['test-idle-manager.c', generated_dbus_sources],
c_args: test_cflags,
link_args: test_link_args,
dependencies: phosh_deps,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment