blob: 10f3e67b22432327a1b7704082b726eaa887f25c [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
7cc_library_shared {
8 name: "libaudiofoundation",
9 vendor_available: true,
10
11 srcs: [
jiabin9a3361e2019-10-01 09:38:30 -070012 "AudioContainers.cpp",
jiabin9ccb28b2019-07-31 09:59:09 -070013 "AudioGain.cpp",
jiabine1284852019-09-11 10:15:46 -070014 "AudioPort.cpp",
jiabin9bb3a1e2019-08-19 10:10:17 -070015 "AudioProfile.cpp",
jiabince9f20e2019-09-12 16:29:15 -070016 "DeviceDescriptorBase.cpp",
jiabin9ccb28b2019-07-31 09:59:09 -070017 ],
18
19 shared_libs: [
jiabince9f20e2019-09-12 16:29:15 -070020 "libaudioutils",
jiabin9ccb28b2019-07-31 09:59:09 -070021 "libbase",
22 "libbinder",
23 "liblog",
jiabin9bb3a1e2019-08-19 10:10:17 -070024 "libmedia_helper",
jiabin9ccb28b2019-07-31 09:59:09 -070025 "libutils",
26 ],
27
28 header_libs: [
29 "libaudio_system_headers",
jiabin9bb3a1e2019-08-19 10:10:17 -070030 "libaudioclient_headers",
jiabin9ccb28b2019-07-31 09:59:09 -070031 "libaudiofoundation_headers",
32 ],
33
34 export_header_lib_headers: ["libaudiofoundation_headers"],
35
36 cflags: [
37 "-Werror",
38 "-Wall",
39 ],
40}