blob: f5ff597280e0f85d8c4936b8568994191a3cc41c [file] [log] [blame]
Saketh Sathuvallib99e1bc2018-02-21 17:10:34 +05301// Build the unit tests for effects
2
Bob Badour948e6aa2021-02-12 21:02:31 -08003package {
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 Sathuvallib99e1bc2018-02-21 17:10:34 +053012cc_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 Sathuvallib99e1bc2018-02-21 17:10:34 +053047 "-DSUPPORT_MC",
48
49 "-Wall",
50 "-Werror",
51 "-Wextra",
52 ],
53}
Saketh Sathuvallib89991f2019-01-10 19:26:43 +053054
55cc_test {
Saketh Sathuvalli927bea32020-08-16 19:18:28 +053056 name: "reverb_test",
Harish Mahendrakar6d2e79b2021-02-17 13:47:44 -080057 host_supported: true,
Saketh Sathuvalli927bea32020-08-16 19:18:28 +053058 proprietary: true,
Julien Desprez3163a9f2021-02-20 00:56:48 +000059 gtest: false,
Saketh Sathuvalli927bea32020-08-16 19:18:28 +053060
61 include_dirs: [
Harish Mahendrakar0bbbe072020-10-01 23:28:48 +053062 "frameworks/av/media/libeffects/lvm/wrapper/Reverb",
Saketh Sathuvalli927bea32020-08-16 19:18:28 +053063 ],
64
65 header_libs: [
66 "libaudioeffects",
67 ],
68
69 shared_libs: [
70 "libaudioutils",
71 "liblog",
Saketh Sathuvalli927bea32020-08-16 19:18:28 +053072 ],
73
Harish Mahendrakar3a3fcfe2020-12-30 14:54:04 -080074 static_libs: [
75 "libreverb",
76 "libreverbwrapper",
77 ],
Saketh Sathuvalli927bea32020-08-16 19:18:28 +053078 srcs: [
79 "reverb_test.cpp",
80 ],
81
82 cflags: [
83 "-Wall",
84 "-Werror",
85 "-Wextra",
86 ],
87}
88
89cc_test {
Saketh Sathuvallib89991f2019-01-10 19:26:43 +053090 name: "snr",
91 host_supported: false,
92
93 srcs: ["snr.cpp"],
94
95 cflags: [
96 "-Wall",
97 "-Werror",
98 "-Wextra",
99 ],
100}