Android.bp 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. // Bluetooth Audio library for target
  2. // ========================================================
  3. cc_library_static {
  4. name: "libbt-audio-hal-interface",
  5. defaults: ["fluoride_defaults"],
  6. include_dirs: [
  7. "system/bt",
  8. "system/bt/bta/include",
  9. "system/bt/bta/sys",
  10. "system/bt/btif/include",
  11. "system/bt/stack/include",
  12. ],
  13. srcs: [
  14. "a2dp_encoding.cc",
  15. "client_interface.cc",
  16. "hearing_aid_software_encoding.cc",
  17. ],
  18. shared_libs: [
  19. "[email protected]",
  20. "libfmq",
  21. "libhidlbase",
  22. "libhidltransport",
  23. ],
  24. static_libs: [
  25. "libosi",
  26. "libbt-common",
  27. ],
  28. cflags: [
  29. "-DBUILDCFG",
  30. ],
  31. }
  32. // Bluetooth Audio client interface library unit tests for target and host
  33. // ========================================================
  34. cc_test {
  35. name: "bluetooth-test-audio-hal-interface",
  36. defaults: ["fluoride_defaults"],
  37. include_dirs: [
  38. "system/bt",
  39. ],
  40. srcs: [
  41. "client_interface_unittest.cc",
  42. ],
  43. shared_libs: [
  44. "[email protected]",
  45. "libcutils",
  46. "libfmq",
  47. "libhidlbase",
  48. "libhidltransport",
  49. "liblog",
  50. "libutils",
  51. ],
  52. static_libs: [
  53. "libbt-audio-hal-interface",
  54. "libbt-common",
  55. ],
  56. cflags: [
  57. "-DBUILDCFG",
  58. ],
  59. }