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 11 // Audio A2DP shared library for target 12 // ======================================================== 13 cc_library { 14 name: "audio.a2dp.default", 15 defaults: ["audio_a2dp_hw_defaults"], 16 relative_install_path: "hw", 17 srcs: [ 18 "src/audio_a2dp_hw.cc", 19 "src/audio_a2dp_hw_utils.cc", 20 ], 21 shared_libs: [ 22 "liblog", 23 "libcutils", 24 ], 25 static_libs: ["libosi"], 26 } 27 28 cc_library_static { 29 name: "libaudio-a2dp-hw-utils", 30 defaults: ["audio_a2dp_hw_defaults"], 31 srcs: [ 32 "src/audio_a2dp_hw_utils.cc", 33 ], 34 } 35 36 // Audio A2DP library unit tests for target and host 37 // ======================================================== 38 cc_test { 39 name: "net_test_audio_a2dp_hw", 40 test_suites: ["device-tests"], 41 defaults: ["audio_a2dp_hw_defaults"], 42 srcs: [ 43 "test/audio_a2dp_hw_test.cc", 44 ], 45 shared_libs: [ 46 "liblog", 47 ], 48 static_libs: [ 49 "audio.a2dp.default", 50 "libosi", 51 ], 52 } 53