blob: c07811224ee34a14209371effbdba099417c8713 [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 {
Harish Mahendrakar9f33dba2021-02-17 18:25:21 -080013 name: "EffectBundleTest",
14 vendor: true,
15 gtest: true,
16 host_supported: true,
17 test_suites: ["device-tests"],
Harish Mahendrakar88de9c42021-03-03 12:39:09 -080018 srcs: [
19 "EffectBundleTest.cpp",
20 "EffectTestHelper.cpp",
21 ],
Harish Mahendrakar9f33dba2021-02-17 18:25:21 -080022 static_libs: [
23 "libaudioutils",
24 "libbundlewrapper",
25 "libmusicbundle",
26 ],
27 shared_libs: [
28 "liblog",
29 ],
30 header_libs: [
31 "libhardware_headers",
32 ],
33}
34
35cc_test {
Saketh Sathuvallib99e1bc2018-02-21 17:10:34 +053036 name: "lvmtest",
37 host_supported: false,
38 proprietary: true,
39
40 include_dirs: [
41 "frameworks/av/media/libeffects/lvm/lib/Bass/lib",
42 "frameworks/av/media/libeffects/lvm/lib/Bass/src",
43 "frameworks/av/media/libeffects/lvm/lib/Bundle/src",
44 "frameworks/av/media/libeffects/lvm/lib/Common/src",
45 "frameworks/av/media/libeffects/lvm/lib/Eq/lib",
46 "frameworks/av/media/libeffects/lvm/lib/Eq/src",
47 "frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/lib",
48 "frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src",
49 "frameworks/av/media/libeffects/lvm/lib/StereoWidening/lib",
50 "frameworks/av/media/libeffects/lvm/lib/StereoWidening/src",
51 "frameworks/av/media/libeffects/lvm/wrapper/Bundle",
52 ],
53
54 header_libs: [
55 "libaudioeffects",
56 ],
57
58 shared_libs: [
59 "libaudioutils",
60 "liblog",
61 ],
62
63 static_libs: [
64 "libmusicbundle",
65 ],
66
67 srcs: ["lvmtest.cpp"],
68
69 cflags: [
Saketh Sathuvallib99e1bc2018-02-21 17:10:34 +053070 "-DSUPPORT_MC",
71
72 "-Wall",
73 "-Werror",
74 "-Wextra",
75 ],
76}
Saketh Sathuvallib89991f2019-01-10 19:26:43 +053077
78cc_test {
Saketh Sathuvalli927bea32020-08-16 19:18:28 +053079 name: "reverb_test",
Harish Mahendrakar6d2e79b2021-02-17 13:47:44 -080080 host_supported: true,
Saketh Sathuvalli927bea32020-08-16 19:18:28 +053081 proprietary: true,
Julien Desprez3163a9f2021-02-20 00:56:48 +000082 gtest: false,
Saketh Sathuvalli927bea32020-08-16 19:18:28 +053083
84 include_dirs: [
Harish Mahendrakar0bbbe072020-10-01 23:28:48 +053085 "frameworks/av/media/libeffects/lvm/wrapper/Reverb",
Saketh Sathuvalli927bea32020-08-16 19:18:28 +053086 ],
87
88 header_libs: [
89 "libaudioeffects",
90 ],
91
92 shared_libs: [
93 "libaudioutils",
94 "liblog",
Saketh Sathuvalli927bea32020-08-16 19:18:28 +053095 ],
96
Harish Mahendrakar3a3fcfe2020-12-30 14:54:04 -080097 static_libs: [
98 "libreverb",
99 "libreverbwrapper",
100 ],
Saketh Sathuvalli927bea32020-08-16 19:18:28 +0530101 srcs: [
102 "reverb_test.cpp",
103 ],
104
105 cflags: [
106 "-Wall",
107 "-Werror",
108 "-Wextra",
109 ],
110}
111
112cc_test {
Saketh Sathuvallib89991f2019-01-10 19:26:43 +0530113 name: "snr",
114 host_supported: false,
115
116 srcs: ["snr.cpp"],
117
118 cflags: [
119 "-Wall",
120 "-Werror",
121 "-Wextra",
122 ],
123}