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: [ |
Dan Willemsen | 9c99f15 | 2018-11-16 15:30:38 -0800 | [diff] [blame] | 7 | "libaudioutils", |
| 8 | "libcutils", |
| 9 | "liblog", |
Dan Willemsen | 9c99f15 | 2018-11-16 15:30:38 -0800 | [diff] [blame] | 10 | "libutils", |
jiabin | bf6b0ec | 2019-02-12 12:30:12 -0800 | [diff] [blame] | 11 | "libvibrator", |
| 12 | ], |
| 13 | |
| 14 | header_libs: [ |
| 15 | "libbase_headers", |
Dan Willemsen | 9c99f15 | 2018-11-16 15:30:38 -0800 | [diff] [blame] | 16 | ], |
| 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 | |
| 27 | cc_library_shared { |
| 28 | name: "libaudioprocessing", |
| 29 | defaults: ["libaudioprocessing_defaults"], |
| 30 | |
| 31 | srcs: [ |
| 32 | "BufferProviders.cpp", |
| 33 | "RecordBufferConverter.cpp", |
| 34 | ], |
Mikhail Naganov | 9b6599e | 2019-07-29 15:23:21 -0700 | [diff] [blame^] | 35 | |
| 36 | shared_libs: [ |
| 37 | "libaudiohal", |
| 38 | "libsonic", |
| 39 | ], |
| 40 | |
Dan Willemsen | 9c99f15 | 2018-11-16 15:30:38 -0800 | [diff] [blame] | 41 | whole_static_libs: ["libaudioprocessing_arm"], |
| 42 | } |
| 43 | |
| 44 | cc_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 | } |