2018-05-18 15:15:27 +00:00
|
|
|
gnome = import('gnome')
|
|
|
|
dbus_interfaces = ['manager', 'modem', 'call']
|
2018-05-17 13:16:51 +00:00
|
|
|
|
2018-05-18 15:15:27 +00:00
|
|
|
gdbus_src = []
|
|
|
|
foreach iface: dbus_interfaces
|
|
|
|
gdbus_src += gnome.gdbus_codegen('gdbo-' + iface,
|
|
|
|
iface + '.xml',
|
|
|
|
interface_prefix: 'org.ofono.',
|
|
|
|
namespace: 'GDBO')
|
|
|
|
endforeach
|
2018-05-17 13:16:51 +00:00
|
|
|
|
|
|
|
deps = [ dependency('gio-2.0'),
|
|
|
|
dependency('gio-unix-2.0'),
|
|
|
|
]
|
|
|
|
|
2018-05-29 09:04:17 +00:00
|
|
|
gdbofono_lib = static_library('gdbofono',
|
|
|
|
gdbus_src,
|
|
|
|
include_directories : include_directories('..'),
|
2018-06-09 23:34:27 +00:00
|
|
|
install: true,
|
2018-05-29 09:04:17 +00:00
|
|
|
dependencies : deps )
|