blob: fb9d7b793679a69185ea725bd39eb99ed9558992 [file] [log] [blame]
// Visualizer library
package {
default_applicable_licenses: [
"frameworks_av_media_libeffects_visualizer_license",
],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "frameworks_av_media_libeffects_visualizer_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
],
license_text: [
"NOTICE",
],
}
cc_defaults {
name: "visualizer_defaults",
vendor: true,
cflags: [
"-DBUILD_FLOAT", // TODO: remove BUILD_FLOAT and SUPPORT_MC in lvm libs
"-DSUPPORT_MC",
"-Wall",
"-Werror",
],
shared_libs: [
"liblog",
],
header_libs: [
"libaudioeffects",
"libaudioutils_headers",
],
}
cc_library_shared {
name: "libvisualizer",
defaults: [
"visualizer_defaults",
],
srcs: [
"EffectVisualizer.cpp",
],
relative_install_path: "soundfx",
cflags: [
"-O2",
"-fvisibility=hidden",
],
}
cc_library_shared {
name: "libvisualizeraidl",
srcs: [
"aidl/Visualizer.cpp",
"aidl/VisualizerContext.cpp",
":effectCommonFile",
],
defaults: [
"aidlaudioeffectservice_defaults",
"latest_android_hardware_audio_effect_ndk_shared",
"latest_android_media_audio_common_types_ndk_shared",
"visualizer_defaults",
],
cflags: [
"-Wthread-safety",
],
shared_libs: [
"libcutils",
],
visibility: [
"//hardware/interfaces/audio/aidl/default",
],
}