blob: af6bf86ddf992f9af67c4db72b32909fe74a8f60 [file] [log] [blame]
Josh Wu6ab53e72021-12-29 23:53:33 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "hardware_interfaces_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["hardware_interfaces_license"],
8}
9
10cc_library_shared {
Josh Wua2784072022-01-25 01:41:53 -080011 name: "android.hardware.bluetooth.audio-impl",
Josh Wu6ab53e72021-12-29 23:53:33 -080012 vendor: true,
13 vintf_fragments: ["bluetooth_audio.xml"],
Shunkai Yao195d3d62023-10-10 19:26:07 +000014 defaults: [
15 "latest_android_hardware_bluetooth_audio_ndk_shared",
16 ],
Josh Wu6ab53e72021-12-29 23:53:33 -080017 srcs: [
18 "BluetoothAudioProvider.cpp",
19 "BluetoothAudioProviderFactory.cpp",
20 "A2dpOffloadAudioProvider.cpp",
Antoine SOULIER4e34d052023-09-29 19:10:07 +000021 "A2dpOffloadCodecAac.cpp",
22 "A2dpOffloadCodecFactory.cpp",
23 "A2dpOffloadCodecSbc.cpp",
Josh Wu6ab53e72021-12-29 23:53:33 -080024 "A2dpSoftwareAudioProvider.cpp",
25 "HearingAidAudioProvider.cpp",
Yuyang Huang91d7f8b2023-10-26 16:01:27 -070026 "HfpOffloadAudioProvider.cpp",
27 "HfpSoftwareAudioProvider.cpp",
Josh Wu6ab53e72021-12-29 23:53:33 -080028 "LeAudioOffloadAudioProvider.cpp",
29 "LeAudioSoftwareAudioProvider.cpp",
Josh Wu8cdc37e2022-01-18 02:08:53 -080030 "service.cpp",
Josh Wu6ab53e72021-12-29 23:53:33 -080031 ],
32 export_include_dirs: ["."],
33 header_libs: ["libhardware_headers"],
34 shared_libs: [
35 "libbase",
36 "libbinder_ndk",
37 "libcutils",
38 "libfmq",
39 "liblog",
Josh Wu6ab53e72021-12-29 23:53:33 -080040 "libbluetooth_audio_session_aidl",
41 ],
42}
Myles Watsonddf9a002024-03-05 22:06:38 +000043
44prebuilt_etc {
45 name: "android.hardware.bluetooth.audio.xml",
46 src: "bluetooth_audio.xml",
47 sub_dir: "vintf",
48 installable: false,
49}