blob: 8627c13da093f2b944bcdb04eec4721e9ea41cec [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",
57 host_supported: false,
58 proprietary: true,
59
60 include_dirs: [
Harish Mahendrakar0bbbe072020-10-01 23:28:48 +053061 "frameworks/av/media/libeffects/lvm/wrapper/Reverb",
Saketh Sathuvalli927bea32020-08-16 19:18:28 +053062 ],
63
64 header_libs: [
65 "libaudioeffects",
66 ],
67
68 shared_libs: [
69 "libaudioutils",
70 "liblog",
Saketh Sathuvalli927bea32020-08-16 19:18:28 +053071 ],
72
Harish Mahendrakar3a3fcfe2020-12-30 14:54:04 -080073 static_libs: [
74 "libreverb",
75 "libreverbwrapper",
76 ],
Saketh Sathuvalli927bea32020-08-16 19:18:28 +053077 srcs: [
78 "reverb_test.cpp",
79 ],
80
81 cflags: [
82 "-Wall",
83 "-Werror",
84 "-Wextra",
85 ],
86}
87
88cc_test {
Saketh Sathuvallib89991f2019-01-10 19:26:43 +053089 name: "snr",
90 host_supported: false,
91
92 srcs: ["snr.cpp"],
93
94 cflags: [
95 "-Wall",
96 "-Werror",
97 "-Wextra",
98 ],
99}