blob: 7acba1199438bed6826b8dd84b01a3a79c742b52 [file] [log] [blame]
// LoudnessEnhancer library
package {
default_applicable_licenses: [
"frameworks_av_media_libeffects_loudness_license",
],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "frameworks_av_media_libeffects_loudness_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
],
license_text: [
"NOTICE",
],
}
cc_library_shared {
name: "libldnhncr",
vendor: true,
srcs: [
"EffectLoudnessEnhancer.cpp",
"dsp/core/dynamic_range_compression.cpp",
],
cflags: [
"-O2",
"-fvisibility=hidden",
"-Wall",
"-Werror",
],
shared_libs: [
"libcutils",
"liblog",
],
relative_install_path: "soundfx",
header_libs: ["libaudioeffects"],
}
cc_library_shared {
name: "libloudnessenhanceraidl",
srcs: [
"aidl/EffectLoudnessEnhancer.cpp",
"aidl/LoudnessEnhancerContext.cpp",
"dsp/core/dynamic_range_compression.cpp",
":effectCommonFile",
],
defaults: [
"aidlaudioservice_defaults",
"latest_android_hardware_audio_effect_ndk_shared",
"latest_android_media_audio_common_types_ndk_shared",
],
header_libs: [
"libaudioeffects",
"libhardware_headers",
],
cflags: [
"-Wthread-safety",
],
shared_libs: [
"libcutils",
"liblog",
],
relative_install_path: "soundfx",
visibility: [
"//hardware/interfaces/audio/aidl/default",
],
}