Saketh Sathuvalli | b99e1bc | 2018-02-21 17:10:34 +0530 | [diff] [blame] | 1 | // Build the unit tests for effects |
| 2 | |
| 3 | cc_test { |
| 4 | name: "lvmtest", |
| 5 | host_supported: false, |
| 6 | proprietary: true, |
| 7 | |
| 8 | include_dirs: [ |
| 9 | "frameworks/av/media/libeffects/lvm/lib/Bass/lib", |
| 10 | "frameworks/av/media/libeffects/lvm/lib/Bass/src", |
| 11 | "frameworks/av/media/libeffects/lvm/lib/Bundle/src", |
| 12 | "frameworks/av/media/libeffects/lvm/lib/Common/src", |
| 13 | "frameworks/av/media/libeffects/lvm/lib/Eq/lib", |
| 14 | "frameworks/av/media/libeffects/lvm/lib/Eq/src", |
| 15 | "frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/lib", |
| 16 | "frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src", |
| 17 | "frameworks/av/media/libeffects/lvm/lib/StereoWidening/lib", |
| 18 | "frameworks/av/media/libeffects/lvm/lib/StereoWidening/src", |
| 19 | "frameworks/av/media/libeffects/lvm/wrapper/Bundle", |
| 20 | ], |
| 21 | |
| 22 | header_libs: [ |
| 23 | "libaudioeffects", |
| 24 | ], |
| 25 | |
| 26 | shared_libs: [ |
| 27 | "libaudioutils", |
| 28 | "liblog", |
| 29 | ], |
| 30 | |
| 31 | static_libs: [ |
| 32 | "libmusicbundle", |
| 33 | ], |
| 34 | |
| 35 | srcs: ["lvmtest.cpp"], |
| 36 | |
| 37 | cflags: [ |
Saketh Sathuvalli | b99e1bc | 2018-02-21 17:10:34 +0530 | [diff] [blame] | 38 | "-DSUPPORT_MC", |
| 39 | |
| 40 | "-Wall", |
| 41 | "-Werror", |
| 42 | "-Wextra", |
| 43 | ], |
| 44 | } |
Saketh Sathuvalli | b89991f | 2019-01-10 19:26:43 +0530 | [diff] [blame] | 45 | |
| 46 | cc_test { |
Saketh Sathuvalli | 927bea3 | 2020-08-16 19:18:28 +0530 | [diff] [blame] | 47 | name: "reverb_test", |
| 48 | host_supported: false, |
| 49 | proprietary: true, |
| 50 | |
| 51 | include_dirs: [ |
Harish Mahendrakar | 0bbbe07 | 2020-10-01 23:28:48 +0530 | [diff] [blame] | 52 | "frameworks/av/media/libeffects/lvm/wrapper/Reverb", |
Saketh Sathuvalli | 927bea3 | 2020-08-16 19:18:28 +0530 | [diff] [blame] | 53 | ], |
| 54 | |
| 55 | header_libs: [ |
| 56 | "libaudioeffects", |
| 57 | ], |
| 58 | |
| 59 | shared_libs: [ |
| 60 | "libaudioutils", |
| 61 | "liblog", |
| 62 | "libreverbwrapper", |
| 63 | ], |
| 64 | |
| 65 | srcs: [ |
| 66 | "reverb_test.cpp", |
| 67 | ], |
| 68 | |
| 69 | cflags: [ |
| 70 | "-Wall", |
| 71 | "-Werror", |
| 72 | "-Wextra", |
| 73 | ], |
| 74 | } |
| 75 | |
| 76 | cc_test { |
Saketh Sathuvalli | b89991f | 2019-01-10 19:26:43 +0530 | [diff] [blame] | 77 | name: "snr", |
| 78 | host_supported: false, |
| 79 | |
| 80 | srcs: ["snr.cpp"], |
| 81 | |
| 82 | cflags: [ |
| 83 | "-Wall", |
| 84 | "-Werror", |
| 85 | "-Wextra", |
| 86 | ], |
| 87 | } |