You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

151 lines
3.1 KiB

// Build the unit tests for effects
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_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["frameworks_av_license"],
}
cc_test {
name: "EffectReverbTest",
vendor: true,
gtest: true,
host_supported: true,
srcs: [
"EffectReverbTest.cpp",
"EffectTestHelper.cpp",
],
include_dirs: [
"frameworks/av/media/libeffects/lvm/lib/Common/lib",
"frameworks/av/media/libeffects/lvm/wrapper/Reverb",
],
static_libs: [
"libaudioutils",
"libreverb",
"libreverbwrapper",
],
shared_libs: [
"liblog",
],
header_libs: [
"libaudioeffects",
"libhardware_headers",
],
}
cc_test {
name: "EffectBundleTest",
vendor: true,
gtest: true,
host_supported: true,
test_suites: ["device-tests"],
srcs: [
"EffectBundleTest.cpp",
"EffectTestHelper.cpp",
],
static_libs: [
"libaudioutils",
"libbundlewrapper",
"libmusicbundle",
],
shared_libs: [
"liblog",
],
header_libs: [
"libhardware_headers",
],
}
cc_test {
name: "lvmtest",
host_supported: false,
proprietary: true,
include_dirs: [
"frameworks/av/media/libeffects/lvm/lib/Bass/lib",
"frameworks/av/media/libeffects/lvm/lib/Bass/src",
"frameworks/av/media/libeffects/lvm/lib/Bundle/src",
"frameworks/av/media/libeffects/lvm/lib/Common/src",
"frameworks/av/media/libeffects/lvm/lib/Eq/lib",
"frameworks/av/media/libeffects/lvm/lib/Eq/src",
"frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/lib",
"frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src",
"frameworks/av/media/libeffects/lvm/lib/StereoWidening/lib",
"frameworks/av/media/libeffects/lvm/lib/StereoWidening/src",
"frameworks/av/media/libeffects/lvm/wrapper/Bundle",
],
header_libs: [
"libaudioeffects",
],
shared_libs: [
"libaudioutils",
"liblog",
],
static_libs: [
"libmusicbundle",
],
srcs: ["lvmtest.cpp"],
cflags: [
"-DSUPPORT_MC",
"-Wall",
"-Werror",
"-Wextra",
],
}
cc_test {
name: "reverb_test",
host_supported: true,
proprietary: true,
gtest: false,
include_dirs: [
"frameworks/av/media/libeffects/lvm/wrapper/Reverb",
],
header_libs: [
"libaudioeffects",
],
shared_libs: [
"libaudioutils",
"liblog",
],
static_libs: [
"libreverb",
"libreverbwrapper",
],
srcs: [
"reverb_test.cpp",
],
cflags: [
"-Wall",
"-Werror",
"-Wextra",
],
}
cc_test {
name: "snr",
host_supported: false,
srcs: ["snr.cpp"],
cflags: [
"-Wall",
"-Werror",
"-Wextra",
],
}