blob: 18c6c985a9e8ff8f661594eb11a09917864d34ee [file] [log] [blame]
// audio preprocessing unit test
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "frameworks_av_media_libeffects_preprocessing_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: [
"frameworks_av_media_libeffects_preprocessing_license",
],
}
cc_test {
name: "EffectPreprocessingTest",
vendor: true,
gtest: true,
host_supported: true,
test_suites: ["device-tests"],
srcs: [
"EffectPreprocessingTest.cpp",
"EffectTestHelper.cpp",
],
static_libs: [
"libaudiopreprocessing",
"libaudioutils",
"webrtc_audio_processing",
],
shared_libs: [
"liblog",
],
header_libs: [
"libaudioeffects",
"libhardware_headers",
],
target: {
darwin: {
enabled: false,
},
},
}
cc_test {
name: "AudioPreProcessingTest",
vendor: true,
host_supported: true,
gtest: false,
srcs: ["PreProcessingTest.cpp"],
shared_libs: [
"libaudioutils",
"liblog",
"libutils",
],
static_libs: [
"libaudiopreprocessing",
"webrtc_audio_processing",
],
header_libs: [
"libaudioeffects",
"libhardware_headers",
],
target: {
darwin: {
enabled: false,
},
},
}
cc_test {
name: "correlation",
host_supported: true,
srcs: ["correlation.cpp"],
cflags: [
"-Wall",
"-Werror",
"-Wextra",
],
gtest: false,
}