1// The format of the name is audio.<type>.<hardware/etc>.so 2 3package { 4 // See: http://go/android-license-faq 5 // A large-scale-change added 'default_applicable_licenses' to import 6 // all of the 'license_kinds' from "system_bt_license" 7 // to get the below license kinds: 8 // SPDX-license-identifier-Apache-2.0 9 default_applicable_licenses: ["system_bt_license"], 10} 11 12cc_library_shared { 13 name: "audio.bluetooth.default", 14 relative_install_path: "hw", 15 proprietary: true, 16 srcs: [ 17 "audio_bluetooth_hw.cc", 18 "stream_apis.cc", 19 "device_port_proxy.cc", 20 "utils.cc", 21 ], 22 header_libs: ["libhardware_headers"], 23 shared_libs: [ 24 "android.hardware.bluetooth.audio@2.0", 25 "android.hardware.bluetooth.audio@2.1", 26 "libaudioutils", 27 "libbase", 28 "libbluetooth_audio_session", 29 "libcutils", 30 "libfmq", 31 "libhidlbase", 32 "liblog", 33 "libutils", 34 ], 35 cflags: [ 36 "-Wall", 37 "-Werror", 38 "-Wno-unused-parameter", 39 ], 40} 41 42cc_test { 43 name: "audio_bluetooth_hw_test", 44 srcs: [ 45 "utils.cc", 46 "utils_unittest.cc", 47 ], 48 shared_libs: [ 49 "libbase", 50 "libcutils", 51 "liblog", 52 "libutils", 53 ], 54 cflags: [ 55 "-Wall", 56 "-Werror", 57 "-Wno-unused-parameter", 58 ], 59} 60