blob: 3bef55b3abc26ed3b686ebe2526672dc263a2aed [file] [log] [blame]
Bob Badour56786ac2021-02-25 15:24:36 -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 Hane3cf41a2020-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: [
Ytai Ben-Tsvi643783e2020-11-18 14:04:15 -080017 "libaudioclient_aidl_conversion_util",
jiabinad549002019-10-17 14:15:45 -070018 "libaudio_system_headers",
jiabin8d752282019-10-18 15:49:48 -070019 "libmedia_helper_headers",
jiabinad549002019-10-17 14:15:45 -070020 ],
21 export_header_lib_headers: [
Ytai Ben-Tsvi643783e2020-11-18 14:04:15 -080022 "libaudioclient_aidl_conversion_util",
jiabinad549002019-10-17 14:15:45 -070023 "libaudio_system_headers",
jiabin8d752282019-10-18 15:49:48 -070024 "libmedia_helper_headers",
jiabinad549002019-10-17 14:15:45 -070025 ],
Ytai Ben-Tsvice182942020-11-04 14:48:01 -080026 static_libs: [
Jeongik Cha7f2285b2021-01-28 00:49:46 +090027 "audioclient-types-aidl-cpp",
Ytai Ben-Tsvice182942020-11-04 14:48:01 -080028 ],
29 export_static_lib_headers: [
Jeongik Cha7f2285b2021-01-28 00:49:46 +090030 "audioclient-types-aidl-cpp",
Ytai Ben-Tsvice182942020-11-04 14:48:01 -080031 ],
S Vasudev Prasad06079fe2020-05-09 12:49:15 +053032 host_supported: true,
33 target: {
34 darwin: {
35 enabled: false,
36 },
37 },
jiabin41502b22019-07-31 09:59:09 -070038}
39
jiabina40cb142019-10-16 11:28:57 -070040cc_library {
jiabin41502b22019-07-31 09:59:09 -070041 name: "libaudiofoundation",
42 vendor_available: true,
jiabinc0106832019-10-24 14:58:31 -070043 double_loadable: true,
jiabin41502b22019-07-31 09:59:09 -070044
45 srcs: [
jiabin12dc6b02019-10-01 09:38:30 -070046 "AudioContainers.cpp",
jiabin5b781412019-11-04 14:10:42 -080047 "AudioDeviceTypeAddr.cpp",
jiabin41502b22019-07-31 09:59:09 -070048 "AudioGain.cpp",
jiabindd81cc22019-09-11 10:15:46 -070049 "AudioPort.cpp",
jiabinb6776432019-08-19 10:10:17 -070050 "AudioProfile.cpp",
jiabin6713a382019-09-12 16:29:15 -070051 "DeviceDescriptorBase.cpp",
jiabin41502b22019-07-31 09:59:09 -070052 ],
53
54 shared_libs: [
Jeongik Cha7f2285b2021-01-28 00:49:46 +090055 "audioclient-types-aidl-cpp",
Ytai Ben-Tsvice182942020-11-04 14:48:01 -080056 "libaudioclient_aidl_conversion",
jiabin6713a382019-09-12 16:29:15 -070057 "libaudioutils",
jiabin41502b22019-07-31 09:59:09 -070058 "libbase",
59 "libbinder",
60 "liblog",
jiabinb6776432019-08-19 10:10:17 -070061 "libmedia_helper",
jiabin41502b22019-07-31 09:59:09 -070062 "libutils",
63 ],
64
Ytai Ben-Tsvi643783e2020-11-18 14:04:15 -080065 export_shared_lib_headers: [
Jeongik Cha7f2285b2021-01-28 00:49:46 +090066 "audioclient-types-aidl-cpp",
Ytai Ben-Tsvi643783e2020-11-18 14:04:15 -080067 "libaudioclient_aidl_conversion",
68 ],
69
jiabin41502b22019-07-31 09:59:09 -070070 header_libs: [
jiabin41502b22019-07-31 09:59:09 -070071 "libaudiofoundation_headers",
72 ],
73
jiabinad549002019-10-17 14:15:45 -070074 export_header_lib_headers: [
75 "libaudiofoundation_headers",
76 ],
jiabin41502b22019-07-31 09:59:09 -070077
78 cflags: [
79 "-Werror",
80 "-Wall",
81 ],
82}