blob: 18c6c985a9e8ff8f661594eb11a09917864d34ee [file] [log] [blame]
Saketh Sathuvalli4ece3e02020-07-19 21:19:39 +05301// audio preprocessing unit test
Bob Badour948e6aa2021-02-12 21:02:31 -08002package {
3 // See: http://go/android-license-faq
4 // A large-scale-change added 'default_applicable_licenses' to import
5 // all of the 'license_kinds' from "frameworks_av_media_libeffects_preprocessing_license"
6 // to get the below license kinds:
7 // SPDX-license-identifier-Apache-2.0
8 default_applicable_licenses: [
9 "frameworks_av_media_libeffects_preprocessing_license",
10 ],
11}
12
Saketh Sathuvalli4ece3e02020-07-19 21:19:39 +053013cc_test {
Rivukanta Bhattacharyab9116da2021-03-11 04:32:54 +053014 name: "EffectPreprocessingTest",
15 vendor: true,
16 gtest: true,
17 host_supported: true,
18 test_suites: ["device-tests"],
19 srcs: [
20 "EffectPreprocessingTest.cpp",
21 "EffectTestHelper.cpp",
22 ],
23 static_libs: [
24 "libaudiopreprocessing",
25 "libaudioutils",
26 "webrtc_audio_processing",
27 ],
28 shared_libs: [
29 "liblog",
30 ],
31 header_libs: [
32 "libaudioeffects",
33 "libhardware_headers",
34 ],
35 target: {
36 darwin: {
37 enabled: false,
38 },
39 },
40}
41
42cc_test {
Saketh Sathuvalli4ece3e02020-07-19 21:19:39 +053043 name: "AudioPreProcessingTest",
Saketh Sathuvalli4ece3e02020-07-19 21:19:39 +053044 vendor: true,
Rivukanta Bhattacharya013e02e2021-03-12 05:50:55 +053045 host_supported: true,
46 gtest: false,
Saketh Sathuvalli4ece3e02020-07-19 21:19:39 +053047 srcs: ["PreProcessingTest.cpp"],
Saketh Sathuvalli4ece3e02020-07-19 21:19:39 +053048 shared_libs: [
Saketh Sathuvalli4ece3e02020-07-19 21:19:39 +053049 "libaudioutils",
50 "liblog",
51 "libutils",
Saketh Sathuvalli4ece3e02020-07-19 21:19:39 +053052 ],
Andy Hung70bb12e2021-03-02 09:17:01 -080053 static_libs: [
54 "libaudiopreprocessing",
55 "webrtc_audio_processing",
56 ],
Saketh Sathuvalli4ece3e02020-07-19 21:19:39 +053057 header_libs: [
58 "libaudioeffects",
59 "libhardware_headers",
60 ],
Harish Mahendrakar217c9682021-03-15 15:12:25 -070061 target: {
62 darwin: {
63 enabled: false,
64 },
65 },
Saketh Sathuvalli4ece3e02020-07-19 21:19:39 +053066}
Rivukanta Bhattacharya46ab24a2021-01-25 20:33:35 +053067
68cc_test {
69 name: "correlation",
70 host_supported: true,
71 srcs: ["correlation.cpp"],
72 cflags: [
73 "-Wall",
74 "-Werror",
75 "-Wextra",
76 ],
Julien Desprez732654d2021-02-09 14:28:04 -080077 gtest: false,
Rivukanta Bhattacharya46ab24a2021-01-25 20:33:35 +053078}