blob: 72b2f2b3fda4bbb2948e4efbd66c5c4a44b6603d [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,
18
19 srcs: [
jiabin12dc6b02019-10-01 09:38:30 -070020 "AudioContainers.cpp",
jiabin5b781412019-11-04 14:10:42 -080021 "AudioDeviceTypeAddr.cpp",
jiabin41502b22019-07-31 09:59:09 -070022 "AudioGain.cpp",
jiabindd81cc22019-09-11 10:15:46 -070023 "AudioPort.cpp",
jiabinb6776432019-08-19 10:10:17 -070024 "AudioProfile.cpp",
jiabin6713a382019-09-12 16:29:15 -070025 "DeviceDescriptorBase.cpp",
jiabin41502b22019-07-31 09:59:09 -070026 ],
27
28 shared_libs: [
jiabin6713a382019-09-12 16:29:15 -070029 "libaudioutils",
jiabin41502b22019-07-31 09:59:09 -070030 "libbase",
31 "libbinder",
32 "liblog",
jiabinb6776432019-08-19 10:10:17 -070033 "libmedia_helper",
jiabin41502b22019-07-31 09:59:09 -070034 "libutils",
35 ],
36
37 header_libs: [
jiabin41502b22019-07-31 09:59:09 -070038 "libaudiofoundation_headers",
39 ],
40
jiabinad549002019-10-17 14:15:45 -070041 export_header_lib_headers: [
42 "libaudiofoundation_headers",
43 ],
jiabin41502b22019-07-31 09:59:09 -070044
45 cflags: [
46 "-Werror",
47 "-Wall",
48 ],
49}