CMakeLists.txt 1.7 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #
  2. # Copyright (c) 2020 Actions Semiconductor
  3. #
  4. # SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Actions
  5. #
  6. zephyr_library_sources(bt_manager.c)
  7. zephyr_library_sources(bt_manager_config.c)
  8. zephyr_library_sources(bt_manager_event.c)
  9. zephyr_library_sources(bt_manager_check_mac_name.c)
  10. if(CONFIG_BT_BR_ACTS)
  11. zephyr_library_sources(bt_manager_discover.c)
  12. zephyr_library_sources(bt_manager_connect.c)
  13. zephyr_library_sources(bt_stream_manager.c)
  14. endif()
  15. zephyr_library_sources_ifdef(CONFIG_BT_A2DP bt_manager_a2dp.c)
  16. zephyr_library_sources_ifdef(CONFIG_BT_AVRCP bt_manager_avrcp.c)
  17. zephyr_library_sources_ifdef(CONFIG_BT_HFP_HF bt_manager_hfp.c)
  18. zephyr_library_sources_ifdef(CONFIG_BT_HFP_HF bt_manager_sco.c)
  19. zephyr_library_sources_ifdef(CONFIG_BT_HFP_AG bt_manager_hfp_ag.c)
  20. zephyr_library_sources_ifdef(CONFIG_BT_SPP bt_manager_spp.c)
  21. zephyr_library_sources_ifdef(CONFIG_BT_PBAP_CLIENT bt_manager_pbap.c)
  22. zephyr_library_sources_ifdef(CONFIG_BT_MAP_CLIENT bt_manager_map.c)
  23. zephyr_library_sources_ifdef(CONFIG_BT_HID bt_manager_hid.c)
  24. zephyr_library_sources_ifdef(CONFIG_BT_BLE bt_manager_ble.c)
  25. zephyr_library_sources_ifdef(CONFIG_BT_SPP bt_manager_sppble_stream.c)
  26. zephyr_library_sources_ifdef(CONFIG_BT_BLE bt_manager_sppble_stream.c)
  27. zephyr_library_sources_ifdef(CONFIG_TWS bt_manager_tws.c)
  28. zephyr_library_sources_ifdef(CONFIG_BT_PTS_TEST bt_manager_pts_test.c)
  29. zephyr_library_sources_ifdef(CONFIG_MGR_TEST_SAMPLE bt_manager_test_sample.c)
  30. zephyr_library_sources_ifdef(CONFIG_SHELL_DBG bt_manager_shell.c)
  31. zephyr_library_sources_ifdef(CONFIG_BT_ACTIONS_SUPER_SERVICE bt_manager_super_service.c)
  32. zephyr_library_sources_ifdef(CONFIG_BT_PNP_INFO_SEARCH bt_manager_pnp.c)
  33. add_subdirectory_ifdef(CONFIG_BT_ANCS_AMS ancs_ams)
  34. add_subdirectory_ifdef(CONFIG_BLE_MASTER ble_master)