Android.bp 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. cc_defaults {
  2. name: "audio_a2dp_hw_defaults",
  3. defaults: ["fluoride_defaults"],
  4. include_dirs: [
  5. "system/bt",
  6. "system/bt/include",
  7. "system/bt/audio_a2dp_hw/include",
  8. ]
  9. }
  10. // Audio A2DP shared library for target
  11. // ========================================================
  12. cc_library {
  13. name: "audio.a2dp.default",
  14. defaults: ["audio_a2dp_hw_defaults"],
  15. relative_install_path: "hw",
  16. srcs: [
  17. "src/audio_a2dp_hw.cc",
  18. "src/audio_a2dp_hw_utils.cc",
  19. ],
  20. shared_libs: [
  21. "liblog",
  22. "libcutils",
  23. ],
  24. static_libs: ["libosi"],
  25. }
  26. cc_library_static {
  27. name: "libaudio-a2dp-hw-utils",
  28. defaults: ["audio_a2dp_hw_defaults"],
  29. srcs: [
  30. "src/audio_a2dp_hw_utils.cc",
  31. ],
  32. }
  33. // Audio A2DP library unit tests for target and host
  34. // ========================================================
  35. cc_test {
  36. name: "net_test_audio_a2dp_hw",
  37. test_suites: ["device-tests"],
  38. defaults: ["audio_a2dp_hw_defaults"],
  39. srcs: [
  40. "test/audio_a2dp_hw_test.cc",
  41. ],
  42. shared_libs: [
  43. "liblog",
  44. ],
  45. static_libs: [
  46. "audio.a2dp.default",
  47. "libosi",
  48. ],
  49. }