Dan Willemsen | 9c99f15 | 2018-11-16 15:30:38 -0800 | [diff] [blame^] | 1 | cc_defaults { |
| 2 | name: "libaudioprocessing_defaults", |
| 3 | |
| 4 | export_include_dirs: ["include"], |
| 5 | |
| 6 | shared_libs: [ |
| 7 | "libaudiohal", |
| 8 | "libaudioutils", |
| 9 | "libcutils", |
| 10 | "liblog", |
| 11 | "libnbaio", |
| 12 | "libnblog", |
| 13 | "libsonic", |
| 14 | "libutils", |
| 15 | ], |
| 16 | |
| 17 | cflags: [ |
| 18 | "-Werror", |
| 19 | "-Wall", |
| 20 | |
| 21 | // uncomment to disable NEON on architectures that actually do support NEON, for benchmarking |
| 22 | // "-DUSE_NEON=false", |
| 23 | ], |
| 24 | } |
| 25 | |
| 26 | cc_library_shared { |
| 27 | name: "libaudioprocessing", |
| 28 | defaults: ["libaudioprocessing_defaults"], |
| 29 | |
| 30 | srcs: [ |
| 31 | "BufferProviders.cpp", |
| 32 | "RecordBufferConverter.cpp", |
| 33 | ], |
| 34 | whole_static_libs: ["libaudioprocessing_arm"], |
| 35 | } |
| 36 | |
| 37 | cc_library_static { |
| 38 | name: "libaudioprocessing_arm", |
| 39 | defaults: ["libaudioprocessing_defaults"], |
| 40 | |
| 41 | srcs: [ |
| 42 | "AudioMixer.cpp", |
| 43 | "AudioResampler.cpp", |
| 44 | "AudioResamplerCubic.cpp", |
| 45 | "AudioResamplerSinc.cpp", |
| 46 | "AudioResamplerDyn.cpp", |
| 47 | ], |
| 48 | |
| 49 | arch: { |
| 50 | arm: { |
| 51 | instruction_set: "arm", |
| 52 | }, |
| 53 | }, |
| 54 | } |