blob: b2fa0077946451b1f0461bee78cc93e85f5ce928 [file] [log] [blame]
Bob Badour948e6aa2021-02-12 21:02:31 -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 "frameworks_av_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["frameworks_av_license"],
8}
9
jiabin41502b22019-07-31 09:59:09 -070010cc_library_headers {
11 name: "libaudiofoundation_headers",
12 vendor_available: true,
Jooyung Hanbee35cb2020-04-30 04:22:22 +090013 min_sdk_version: "29",
14
jiabin41502b22019-07-31 09:59:09 -070015 export_include_dirs: ["include"],
jiabinad549002019-10-17 14:15:45 -070016 header_libs: [
17 "libaudio_system_headers",
jiabin8d752282019-10-18 15:49:48 -070018 "libmedia_helper_headers",
jiabinad549002019-10-17 14:15:45 -070019 ],
20 export_header_lib_headers: [
21 "libaudio_system_headers",
jiabin8d752282019-10-18 15:49:48 -070022 "libmedia_helper_headers",
jiabinad549002019-10-17 14:15:45 -070023 ],
S Vasudev Prasad06079fe2020-05-09 12:49:15 +053024 host_supported: true,
25 target: {
26 darwin: {
27 enabled: false,
28 },
29 },
jiabin41502b22019-07-31 09:59:09 -070030}
31
jiabina40cb142019-10-16 11:28:57 -070032cc_library {
jiabin41502b22019-07-31 09:59:09 -070033 name: "libaudiofoundation",
34 vendor_available: true,
jiabinc0106832019-10-24 14:58:31 -070035 double_loadable: true,
jiabin41502b22019-07-31 09:59:09 -070036
37 srcs: [
jiabin12dc6b02019-10-01 09:38:30 -070038 "AudioContainers.cpp",
jiabin5b781412019-11-04 14:10:42 -080039 "AudioDeviceTypeAddr.cpp",
jiabin41502b22019-07-31 09:59:09 -070040 "AudioGain.cpp",
jiabindd81cc22019-09-11 10:15:46 -070041 "AudioPort.cpp",
jiabinb6776432019-08-19 10:10:17 -070042 "AudioProfile.cpp",
jiabin6713a382019-09-12 16:29:15 -070043 "DeviceDescriptorBase.cpp",
jiabin41502b22019-07-31 09:59:09 -070044 ],
45
46 shared_libs: [
jiabin6713a382019-09-12 16:29:15 -070047 "libaudioutils",
jiabin41502b22019-07-31 09:59:09 -070048 "libbase",
49 "libbinder",
50 "liblog",
jiabinb6776432019-08-19 10:10:17 -070051 "libmedia_helper",
jiabin41502b22019-07-31 09:59:09 -070052 "libutils",
53 ],
54
55 header_libs: [
jiabin41502b22019-07-31 09:59:09 -070056 "libaudiofoundation_headers",
57 ],
58
jiabinad549002019-10-17 14:15:45 -070059 export_header_lib_headers: [
60 "libaudiofoundation_headers",
61 ],
jiabin41502b22019-07-31 09:59:09 -070062
63 cflags: [
64 "-Werror",
65 "-Wall",
66 ],
67}