blob: 9b5d58cef0afe2f6f3f5460c0cfa1079aba91ad8 [file] [log] [blame]
cc_defaults {
name: "libaudioprocessing_defaults",
export_include_dirs: ["include"],
header_libs: ["libaudioclient_headers"],
shared_libs: [
"libaudioutils",
"libcutils",
"liblog",
"libutils",
],
cflags: [
"-Werror",
"-Wall",
// uncomment to disable NEON on architectures that actually do support NEON, for benchmarking
// "-DUSE_NEON=false",
],
}
cc_library_shared {
name: "libaudioprocessing",
defaults: ["libaudioprocessing_defaults"],
srcs: [
"AudioMixer.cpp",
"BufferProviders.cpp",
"RecordBufferConverter.cpp",
],
header_libs: [
"libbase_headers",
"libmedia_headers"
],
shared_libs: [
"libaudiohal",
"libsonic",
"libvibrator",
],
whole_static_libs: ["libaudioprocessing_base"],
}
cc_library_static {
name: "libaudioprocessing_base",
defaults: ["libaudioprocessing_defaults"],
vendor_available: true,
srcs: [
"AudioMixerBase.cpp",
"AudioResampler.cpp",
"AudioResamplerCubic.cpp",
"AudioResamplerSinc.cpp",
"AudioResamplerDyn.cpp",
],
arch: {
arm: {
instruction_set: "arm",
},
},
}