1 cc_defaults { 2 name: "audio_a2dp_hw_defaults", 3 defaults: ["fluoride_defaults"], 4 include_dirs: [ 5 "system/bt", 6 "system/bt/audio_a2dp_hw/include", 7 ] 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 ], 23 static_libs: ["libosi"], 24 } 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 34 // Audio A2DP library unit tests for target and host 35 // ======================================================== 36 cc_test { 37 name: "net_test_audio_a2dp_hw", 38 test_suites: ["device-tests"], 39 defaults: ["audio_a2dp_hw_defaults"], 40 srcs: [ 41 "test/audio_a2dp_hw_test.cc", 42 ], 43 shared_libs: [ 44 "liblog", 45 ], 46 static_libs: [ 47 "audio.a2dp.default", 48 "libosi", 49 ], 50 } 51