blob: 639af4dc061f043333ca33cf236584dc0d277e6f [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"],
18 srcs: ["EffectBundleTest.cpp"],
19 static_libs: [
20 "libaudioutils",
21 "libbundlewrapper",
22 "libmusicbundle",
23 ],
24 shared_libs: [
25 "liblog",
26 ],
27 header_libs: [
28 "libhardware_headers",
29 ],
30}
31
32cc_test {
Saketh Sathuvallib99e1bc2018-02-21 17:10:34 +053033 name: "lvmtest",
34 host_supported: false,
35 proprietary: true,
36
37 include_dirs: [
38 "frameworks/av/media/libeffects/lvm/lib/Bass/lib",
39 "frameworks/av/media/libeffects/lvm/lib/Bass/src",
40 "frameworks/av/media/libeffects/lvm/lib/Bundle/src",
41 "frameworks/av/media/libeffects/lvm/lib/Common/src",
42 "frameworks/av/media/libeffects/lvm/lib/Eq/lib",
43 "frameworks/av/media/libeffects/lvm/lib/Eq/src",
44 "frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/lib",
45 "frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src",
46 "frameworks/av/media/libeffects/lvm/lib/StereoWidening/lib",
47 "frameworks/av/media/libeffects/lvm/lib/StereoWidening/src",
48 "frameworks/av/media/libeffects/lvm/wrapper/Bundle",
49 ],
50
51 header_libs: [
52 "libaudioeffects",
53 ],
54
55 shared_libs: [
56 "libaudioutils",
57 "liblog",
58 ],
59
60 static_libs: [
61 "libmusicbundle",
62 ],
63
64 srcs: ["lvmtest.cpp"],
65
66 cflags: [
Saketh Sathuvallib99e1bc2018-02-21 17:10:34 +053067 "-DSUPPORT_MC",
68
69 "-Wall",
70 "-Werror",
71 "-Wextra",
72 ],
73}
Saketh Sathuvallib89991f2019-01-10 19:26:43 +053074
75cc_test {
Saketh Sathuvalli927bea32020-08-16 19:18:28 +053076 name: "reverb_test",
Harish Mahendrakar6d2e79b2021-02-17 13:47:44 -080077 host_supported: true,
Saketh Sathuvalli927bea32020-08-16 19:18:28 +053078 proprietary: true,
Julien Desprez3163a9f2021-02-20 00:56:48 +000079 gtest: false,
Saketh Sathuvalli927bea32020-08-16 19:18:28 +053080
81 include_dirs: [
Harish Mahendrakar0bbbe072020-10-01 23:28:48 +053082 "frameworks/av/media/libeffects/lvm/wrapper/Reverb",
Saketh Sathuvalli927bea32020-08-16 19:18:28 +053083 ],
84
85 header_libs: [
86 "libaudioeffects",
87 ],
88
89 shared_libs: [
90 "libaudioutils",
91 "liblog",
Saketh Sathuvalli927bea32020-08-16 19:18:28 +053092 ],
93
Harish Mahendrakar3a3fcfe2020-12-30 14:54:04 -080094 static_libs: [
95 "libreverb",
96 "libreverbwrapper",
97 ],
Saketh Sathuvalli927bea32020-08-16 19:18:28 +053098 srcs: [
99 "reverb_test.cpp",
100 ],
101
102 cflags: [
103 "-Wall",
104 "-Werror",
105 "-Wextra",
106 ],
107}
108
109cc_test {
Saketh Sathuvallib89991f2019-01-10 19:26:43 +0530110 name: "snr",
111 host_supported: false,
112
113 srcs: ["snr.cpp"],
114
115 cflags: [
116 "-Wall",
117 "-Werror",
118 "-Wextra",
119 ],
120}