blob: 8dcc4215ece168a4afb85ebe696984fec5ac85ff [file] [log] [blame]
jiabin41502b22019-07-31 09:59:09 -07001cc_library_headers {
2 name: "libaudiofoundation_headers",
3 vendor_available: true,
4 export_include_dirs: ["include"],
jiabinad549002019-10-17 14:15:45 -07005 header_libs: [
6 "libaudio_system_headers",
jiabin8d752282019-10-18 15:49:48 -07007 "libmedia_helper_headers",
jiabinad549002019-10-17 14:15:45 -07008 ],
9 export_header_lib_headers: [
10 "libaudio_system_headers",
jiabin8d752282019-10-18 15:49:48 -070011 "libmedia_helper_headers",
jiabinad549002019-10-17 14:15:45 -070012 ],
jiabin41502b22019-07-31 09:59:09 -070013}
14
15cc_library_shared {
16 name: "libaudiofoundation",
17 vendor_available: true,
jiabinc0106832019-10-24 14:58:31 -070018 double_loadable: true,
jiabin41502b22019-07-31 09:59:09 -070019
20 srcs: [
jiabin12dc6b02019-10-01 09:38:30 -070021 "AudioContainers.cpp",
jiabin5b781412019-11-04 14:10:42 -080022 "AudioDeviceTypeAddr.cpp",
jiabin41502b22019-07-31 09:59:09 -070023 "AudioGain.cpp",
jiabindd81cc22019-09-11 10:15:46 -070024 "AudioPort.cpp",
jiabinb6776432019-08-19 10:10:17 -070025 "AudioProfile.cpp",
jiabin6713a382019-09-12 16:29:15 -070026 "DeviceDescriptorBase.cpp",
jiabin41502b22019-07-31 09:59:09 -070027 ],
28
29 shared_libs: [
jiabin6713a382019-09-12 16:29:15 -070030 "libaudioutils",
jiabin41502b22019-07-31 09:59:09 -070031 "libbase",
32 "libbinder",
33 "liblog",
jiabinb6776432019-08-19 10:10:17 -070034 "libmedia_helper",
jiabin41502b22019-07-31 09:59:09 -070035 "libutils",
36 ],
37
38 header_libs: [
jiabin41502b22019-07-31 09:59:09 -070039 "libaudiofoundation_headers",
40 ],
41
jiabinad549002019-10-17 14:15:45 -070042 export_header_lib_headers: [
43 "libaudiofoundation_headers",
44 ],
jiabin41502b22019-07-31 09:59:09 -070045
46 cflags: [
47 "-Werror",
48 "-Wall",
49 ],
50}