| cc_library_headers { |
| name: "libaudiofoundation_headers", |
| vendor_available: true, |
| export_include_dirs: ["include"], |
| header_libs: [ |
| "libaudio_system_headers", |
| "libmedia_helper_headers", |
| ], |
| export_header_lib_headers: [ |
| "libaudio_system_headers", |
| "libmedia_helper_headers", |
| ], |
| } |
| |
| cc_library_shared { |
| name: "libaudiofoundation", |
| vendor_available: true, |
| double_loadable: true, |
| |
| srcs: [ |
| "AudioContainers.cpp", |
| "AudioDeviceTypeAddr.cpp", |
| "AudioGain.cpp", |
| "AudioPort.cpp", |
| "AudioProfile.cpp", |
| "DeviceDescriptorBase.cpp", |
| ], |
| |
| shared_libs: [ |
| "libaudioutils", |
| "libbase", |
| "libbinder", |
| "liblog", |
| "libmedia_helper", |
| "libutils", |
| ], |
| |
| header_libs: [ |
| "libaudiofoundation_headers", |
| ], |
| |
| export_header_lib_headers: [ |
| "libaudiofoundation_headers", |
| ], |
| |
| cflags: [ |
| "-Werror", |
| "-Wall", |
| ], |
| } |