1# SPDX-License-Identifier: Apache-2.0
2
3zephyr_library()
4zephyr_library_link_libraries(subsys__bluetooth)
5
6zephyr_library_sources_ifdef(
7  CONFIG_BT_VCP_VOL_REND
8  vcp_vol_rend.c
9  )
10zephyr_library_sources_ifdef(
11  CONFIG_BT_VCP_VOL_CTLR
12  vcp_vol_ctlr.c
13  )
14zephyr_library_sources_ifdef(
15  CONFIG_BT_MICP_MIC_DEV
16  micp_mic_dev.c
17  )
18zephyr_library_sources_ifdef(
19  CONFIG_BT_MICP_MIC_CTLR
20  micp_mic_ctlr.c
21  )
22zephyr_library_sources_ifdef(
23  CONFIG_BT_CSIP_SET_MEMBER
24  csip_set_member.c
25  )
26zephyr_library_sources_ifdef(
27  CONFIG_BT_CSIP_SET_COORDINATOR
28  csip_set_coordinator.c
29  )
30zephyr_library_sources_ifdef(
31  CONFIG_BT_TBS
32  tbs.c
33  )
34zephyr_library_sources_ifdef(
35  CONFIG_BT_TBS_CLIENT
36  tbs_client.c
37  )
38zephyr_library_sources_ifdef(
39  CONFIG_BT_MPL
40  mpl.c
41  )
42zephyr_library_sources_ifdef(
43  CONFIG_BT_MCC
44  mcc.c
45  )
46zephyr_library_sources_ifdef(
47  CONFIG_BT_MCS
48  media_controller.c
49  )
50zephyr_library_sources_ifdef(
51  CONFIG_BT_HAS_PRESET_SUPPORT
52  has.c
53  )
54zephyr_library_sources_ifdef(
55  CONFIG_BT_CAP_ACCEPTOR
56  cap_acceptor.c
57  )
58zephyr_library_sources_ifdef(
59  CONFIG_BT_CAP_INITIATOR
60  cap_initiator.c
61  )
62zephyr_library_sources_ifdef(
63  CONFIG_BT_CAP_COMMANDER
64  cap_commander.c
65  )
66zephyr_library_sources_ifdef(
67  CONFIG_BT_HAS_CLIENT
68  has_client.c
69  )
70zephyr_library_sources_ifdef(
71  CONFIG_BT_TMAP
72  tmap.c
73  )
74zephyr_library_sources_ifdef(
75  CONFIG_BT_GMAP
76  gmap.c
77  )
78# We use BT_BAP_STREAM as a common ground for audio, as that is set whenever
79# any audio stream functionality is enabled.
80zephyr_library_sources_ifdef(
81  CONFIG_BT_BAP_STREAM
82  bap.c
83  )
84if (CONFIG_LIBLC3 AND CONFIG_USB_DEVICE_AUDIO)
85	zephyr_library_sources(bap_usb.c)
86endif()
87zephyr_library_sources_ifdef(
88  CONFIG_BT_BAP_SCAN_DELEGATOR
89  bap_scan_delegator.c
90  )
91zephyr_library_sources_ifdef(
92  CONFIG_BT_BAP_BROADCAST_ASSISTANT
93  bap_broadcast_assistant.c
94  )
95zephyr_library_sources_ifdef(
96  CONFIG_BT_PBP
97  pbp.c
98  )
99