blob: fcb07e7a22e26cf37b725e4d1e43009c83ea661a [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"],
5}
6
jiabin54b0d312019-10-16 11:28:57 -07007cc_library {
jiabin9ccb28b2019-07-31 09:59:09 -07008 name: "libaudiofoundation",
9 vendor_available: true,
10
11 srcs: [
12 "AudioGain.cpp",
jiabine1284852019-09-11 10:15:46 -070013 "AudioPort.cpp",
jiabin9bb3a1e2019-08-19 10:10:17 -070014 "AudioProfile.cpp",
jiabince9f20e2019-09-12 16:29:15 -070015 "DeviceDescriptorBase.cpp",
jiabin9ccb28b2019-07-31 09:59:09 -070016 ],
17
18 shared_libs: [
jiabince9f20e2019-09-12 16:29:15 -070019 "libaudioutils",
jiabin9ccb28b2019-07-31 09:59:09 -070020 "libbase",
21 "libbinder",
22 "liblog",
jiabin9bb3a1e2019-08-19 10:10:17 -070023 "libmedia_helper",
jiabin9ccb28b2019-07-31 09:59:09 -070024 "libutils",
25 ],
26
27 header_libs: [
28 "libaudio_system_headers",
jiabin9bb3a1e2019-08-19 10:10:17 -070029 "libaudioclient_headers",
jiabin9ccb28b2019-07-31 09:59:09 -070030 "libaudiofoundation_headers",
31 ],
32
33 export_header_lib_headers: ["libaudiofoundation_headers"],
34
35 cflags: [
36 "-Werror",
37 "-Wall",
38 ],
39}