blob: a8c44f366a1e93290b72d7a5346d87d67eb53ce2 [file] [log] [blame]
Dan Willemsen9c99f152018-11-16 15:30:38 -08001cc_defaults {
2 name: "libaudioprocessing_defaults",
3
4 export_include_dirs: ["include"],
5
6 shared_libs: [
Dan Willemsen9c99f152018-11-16 15:30:38 -08007 "libaudioutils",
8 "libcutils",
9 "liblog",
Dan Willemsen9c99f152018-11-16 15:30:38 -080010 "libutils",
jiabinbf6b0ec2019-02-12 12:30:12 -080011 "libvibrator",
12 ],
13
14 header_libs: [
15 "libbase_headers",
Dan Willemsen9c99f152018-11-16 15:30:38 -080016 ],
17
18 cflags: [
19 "-Werror",
20 "-Wall",
21
22 // uncomment to disable NEON on architectures that actually do support NEON, for benchmarking
23 // "-DUSE_NEON=false",
24 ],
25}
26
27cc_library_shared {
28 name: "libaudioprocessing",
29 defaults: ["libaudioprocessing_defaults"],
30
31 srcs: [
32 "BufferProviders.cpp",
33 "RecordBufferConverter.cpp",
34 ],
Mikhail Naganov9b6599e2019-07-29 15:23:21 -070035
36 shared_libs: [
37 "libaudiohal",
38 "libsonic",
39 ],
40
Dan Willemsen9c99f152018-11-16 15:30:38 -080041 whole_static_libs: ["libaudioprocessing_arm"],
42}
43
44cc_library_static {
45 name: "libaudioprocessing_arm",
46 defaults: ["libaudioprocessing_defaults"],
47
48 srcs: [
49 "AudioMixer.cpp",
50 "AudioResampler.cpp",
51 "AudioResamplerCubic.cpp",
52 "AudioResamplerSinc.cpp",
53 "AudioResamplerDyn.cpp",
54 ],
55
56 arch: {
57 arm: {
58 instruction_set: "arm",
59 },
60 },
61}