Saketh Sathuvalli | b99e1bc | 2018-02-21 17:10:34 +0530 | [diff] [blame] | 1 | // Build the unit tests for effects |
| 2 | |
Bob Badour | 948e6aa | 2021-02-12 21:02:31 -0800 | [diff] [blame] | 3 | package { |
| 4 | // See: http://go/android-license-faq |
| 5 | // A large-scale-change added 'default_applicable_licenses' to import |
| 6 | // all of the 'license_kinds' from "frameworks_av_license" |
| 7 | // to get the below license kinds: |
| 8 | // SPDX-license-identifier-Apache-2.0 |
| 9 | default_applicable_licenses: ["frameworks_av_license"], |
| 10 | } |
| 11 | |
Saketh Sathuvalli | b99e1bc | 2018-02-21 17:10:34 +0530 | [diff] [blame] | 12 | cc_test { |
| 13 | name: "lvmtest", |
| 14 | host_supported: false, |
| 15 | proprietary: true, |
| 16 | |
| 17 | include_dirs: [ |
| 18 | "frameworks/av/media/libeffects/lvm/lib/Bass/lib", |
| 19 | "frameworks/av/media/libeffects/lvm/lib/Bass/src", |
| 20 | "frameworks/av/media/libeffects/lvm/lib/Bundle/src", |
| 21 | "frameworks/av/media/libeffects/lvm/lib/Common/src", |
| 22 | "frameworks/av/media/libeffects/lvm/lib/Eq/lib", |
| 23 | "frameworks/av/media/libeffects/lvm/lib/Eq/src", |
| 24 | "frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/lib", |
| 25 | "frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src", |
| 26 | "frameworks/av/media/libeffects/lvm/lib/StereoWidening/lib", |
| 27 | "frameworks/av/media/libeffects/lvm/lib/StereoWidening/src", |
| 28 | "frameworks/av/media/libeffects/lvm/wrapper/Bundle", |
| 29 | ], |
| 30 | |
| 31 | header_libs: [ |
| 32 | "libaudioeffects", |
| 33 | ], |
| 34 | |
| 35 | shared_libs: [ |
| 36 | "libaudioutils", |
| 37 | "liblog", |
| 38 | ], |
| 39 | |
| 40 | static_libs: [ |
| 41 | "libmusicbundle", |
| 42 | ], |
| 43 | |
| 44 | srcs: ["lvmtest.cpp"], |
| 45 | |
| 46 | cflags: [ |
Saketh Sathuvalli | b99e1bc | 2018-02-21 17:10:34 +0530 | [diff] [blame] | 47 | "-DSUPPORT_MC", |
| 48 | |
| 49 | "-Wall", |
| 50 | "-Werror", |
| 51 | "-Wextra", |
| 52 | ], |
| 53 | } |
Saketh Sathuvalli | b89991f | 2019-01-10 19:26:43 +0530 | [diff] [blame] | 54 | |
| 55 | cc_test { |
Saketh Sathuvalli | 927bea3 | 2020-08-16 19:18:28 +0530 | [diff] [blame] | 56 | name: "reverb_test", |
| 57 | host_supported: false, |
| 58 | proprietary: true, |
| 59 | |
| 60 | include_dirs: [ |
Harish Mahendrakar | 0bbbe07 | 2020-10-01 23:28:48 +0530 | [diff] [blame] | 61 | "frameworks/av/media/libeffects/lvm/wrapper/Reverb", |
Saketh Sathuvalli | 927bea3 | 2020-08-16 19:18:28 +0530 | [diff] [blame] | 62 | ], |
| 63 | |
| 64 | header_libs: [ |
| 65 | "libaudioeffects", |
| 66 | ], |
| 67 | |
| 68 | shared_libs: [ |
| 69 | "libaudioutils", |
| 70 | "liblog", |
Saketh Sathuvalli | 927bea3 | 2020-08-16 19:18:28 +0530 | [diff] [blame] | 71 | ], |
| 72 | |
Harish Mahendrakar | 3a3fcfe | 2020-12-30 14:54:04 -0800 | [diff] [blame] | 73 | static_libs: [ |
| 74 | "libreverb", |
| 75 | "libreverbwrapper", |
| 76 | ], |
Saketh Sathuvalli | 927bea3 | 2020-08-16 19:18:28 +0530 | [diff] [blame] | 77 | srcs: [ |
| 78 | "reverb_test.cpp", |
| 79 | ], |
| 80 | |
| 81 | cflags: [ |
| 82 | "-Wall", |
| 83 | "-Werror", |
| 84 | "-Wextra", |
| 85 | ], |
| 86 | } |
| 87 | |
| 88 | cc_test { |
Saketh Sathuvalli | b89991f | 2019-01-10 19:26:43 +0530 | [diff] [blame] | 89 | name: "snr", |
| 90 | host_supported: false, |
| 91 | |
| 92 | srcs: ["snr.cpp"], |
| 93 | |
| 94 | cflags: [ |
| 95 | "-Wall", |
| 96 | "-Werror", |
| 97 | "-Wextra", |
| 98 | ], |
| 99 | } |