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", |
jiabin | bf6b0ec | 2019-02-12 12:30:12 -0800 | [diff] [blame^] | 15 | "libvibrator", |
| 16 | ], |
| 17 | |
| 18 | header_libs: [ |
| 19 | "libbase_headers", |
Dan Willemsen | 9c99f15 | 2018-11-16 15:30:38 -0800 | [diff] [blame] | 20 | ], |
| 21 | |
| 22 | cflags: [ |
| 23 | "-Werror", |
| 24 | "-Wall", |
| 25 | |
| 26 | // uncomment to disable NEON on architectures that actually do support NEON, for benchmarking |
| 27 | // "-DUSE_NEON=false", |
| 28 | ], |
| 29 | } |
| 30 | |
| 31 | cc_library_shared { |
| 32 | name: "libaudioprocessing", |
| 33 | defaults: ["libaudioprocessing_defaults"], |
| 34 | |
| 35 | srcs: [ |
| 36 | "BufferProviders.cpp", |
| 37 | "RecordBufferConverter.cpp", |
| 38 | ], |
| 39 | whole_static_libs: ["libaudioprocessing_arm"], |
| 40 | } |
| 41 | |
| 42 | cc_library_static { |
| 43 | name: "libaudioprocessing_arm", |
| 44 | defaults: ["libaudioprocessing_defaults"], |
| 45 | |
| 46 | srcs: [ |
| 47 | "AudioMixer.cpp", |
| 48 | "AudioResampler.cpp", |
| 49 | "AudioResamplerCubic.cpp", |
| 50 | "AudioResamplerSinc.cpp", |
| 51 | "AudioResamplerDyn.cpp", |
| 52 | ], |
| 53 | |
| 54 | arch: { |
| 55 | arm: { |
| 56 | instruction_set: "arm", |
| 57 | }, |
| 58 | }, |
| 59 | } |