• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1libbluez5_util_sources = [
2  'a2dp-codec-sbc.c',
3  'a2dp-codec-util.c',
4  'bluez5-util.c',
5]
6
7libbluez5_util_headers = [
8  'a2dp-codec-api.h',
9  'a2dp-codecs.h',
10  'a2dp-codec-util.h',
11  'bluez5-util.h',
12  'rtp.h',
13]
14
15if get_option('bluez5-native-headset')
16  libbluez5_util_sources += [ 'backend-native.c' ]
17endif
18
19if get_option('bluez5-ofono-headset')
20  libbluez5_util_sources += [ 'backend-ofono.c' ]
21endif
22
23libbluez5_util = shared_library('bluez5-util',
24  libbluez5_util_sources,
25  libbluez5_util_headers,
26  c_args : [pa_c_args, server_c_args],
27  link_args : [nodelete_link_args],
28  include_directories : [configinc, topinc],
29  dependencies : [libpulse_dep, libpulsecommon_dep, libpulsecore_dep, dbus_dep, sbc_dep, libintl_dep],
30  install : true,
31  install_rpath : privlibdir,
32  install_dir : modlibexecdir,
33)
34