blob: 1df0d16da69e8e282b56c7eec0ed5c8a281a2908 [file] [log] [blame]
jiabin9ccb28b2019-07-31 09:59:09 -07001cc_library_headers {
2 name: "libaudiofoundation_headers",
3 vendor_available: true,
4 export_include_dirs: ["include"],
jiabin0ff1d642019-10-17 14:15:45 -07005 header_libs: [
6 "libaudio_system_headers",
Jiabin Huangbbb38232019-10-23 21:02:41 +00007 "libmedia_helper_headers",
jiabin0ff1d642019-10-17 14:15:45 -07008 ],
9 export_header_lib_headers: [
10 "libaudio_system_headers",
Jiabin Huangbbb38232019-10-23 21:02:41 +000011 "libmedia_helper_headers",
jiabin0ff1d642019-10-17 14:15:45 -070012 ],
jiabin9ccb28b2019-07-31 09:59:09 -070013}
14
jiabin54b0d312019-10-16 11:28:57 -070015cc_library {
jiabin9ccb28b2019-07-31 09:59:09 -070016 name: "libaudiofoundation",
17 vendor_available: true,
18
19 srcs: [
jiabin9a3361e2019-10-01 09:38:30 -070020 "AudioContainers.cpp",
jiabin9ccb28b2019-07-31 09:59:09 -070021 "AudioGain.cpp",
jiabine1284852019-09-11 10:15:46 -070022 "AudioPort.cpp",
jiabin9bb3a1e2019-08-19 10:10:17 -070023 "AudioProfile.cpp",
jiabince9f20e2019-09-12 16:29:15 -070024 "DeviceDescriptorBase.cpp",
jiabin9ccb28b2019-07-31 09:59:09 -070025 ],
26
27 shared_libs: [
jiabince9f20e2019-09-12 16:29:15 -070028 "libaudioutils",
jiabin9ccb28b2019-07-31 09:59:09 -070029 "libbase",
30 "libbinder",
31 "liblog",
jiabin9bb3a1e2019-08-19 10:10:17 -070032 "libmedia_helper",
jiabin9ccb28b2019-07-31 09:59:09 -070033 "libutils",
34 ],
35
36 header_libs: [
jiabin9ccb28b2019-07-31 09:59:09 -070037 "libaudiofoundation_headers",
38 ],
39
jiabin0ff1d642019-10-17 14:15:45 -070040 export_header_lib_headers: [
41 "libaudiofoundation_headers",
42 ],
jiabin9ccb28b2019-07-31 09:59:09 -070043
44 cflags: [
45 "-Werror",
46 "-Wall",
47 ],
48}