| // music bundle wrapper |
| package { |
| default_applicable_licenses: [ |
| "frameworks_av_media_libeffects_lvm_wrapper_license", |
| ], |
| } |
| |
| // Added automatically by a large-scale-change |
| // See: http://go/android-license-faq |
| license { |
| name: "frameworks_av_media_libeffects_lvm_wrapper_license", |
| visibility: [":__subpackages__"], |
| license_kinds: [ |
| "SPDX-license-identifier-Apache-2.0", |
| ], |
| license_text: [ |
| "NOTICE", |
| ], |
| } |
| |
| cc_library { |
| name: "libbundlewrapper", |
| |
| arch: { |
| arm: { |
| instruction_set: "arm", |
| }, |
| }, |
| |
| vendor: true, |
| host_supported: true, |
| srcs: ["Bundle/EffectBundle.cpp"], |
| |
| cppflags: [ |
| "-fvisibility=hidden", |
| |
| "-Wall", |
| "-Werror", |
| ], |
| |
| relative_install_path: "soundfx", |
| |
| static_libs: ["libmusicbundle"], |
| |
| shared_libs: [ |
| "libaudioutils", |
| "libcutils", |
| "liblog", |
| ], |
| |
| local_include_dirs: ["Bundle"], |
| |
| header_libs: [ |
| "libhardware_headers", |
| "libaudioeffects", |
| ], |
| } |
| |
| // reverb wrapper |
| cc_library { |
| name: "libreverbwrapper", |
| |
| arch: { |
| arm: { |
| instruction_set: "arm", |
| }, |
| }, |
| |
| vendor: true, |
| host_supported: true, |
| srcs: ["Reverb/EffectReverb.cpp"], |
| |
| cppflags: [ |
| "-fvisibility=hidden", |
| |
| "-Wall", |
| "-Werror", |
| ], |
| |
| relative_install_path: "soundfx", |
| |
| static_libs: ["libreverb"], |
| |
| shared_libs: [ |
| "libaudioutils", |
| "libcutils", |
| "liblog", |
| ], |
| |
| local_include_dirs: ["Reverb"], |
| |
| export_include_dirs: ["Reverb"], |
| |
| header_libs: [ |
| "libhardware_headers", |
| "libaudioeffects", |
| ], |
| |
| sanitize: { |
| integer_overflow: true, |
| }, |
| } |
| |
| cc_library_shared { |
| name: "libbundleaidl", |
| srcs: [ |
| "Aidl/BundleContext.cpp", |
| "Aidl/EffectBundleAidl.cpp", |
| ":effectCommonFile", |
| ], |
| static_libs: ["libmusicbundle"], |
| defaults: [ |
| "aidlaudioservice_defaults", |
| "latest_android_hardware_audio_effect_ndk_shared", |
| "latest_android_media_audio_common_types_ndk_shared", |
| ], |
| local_include_dirs: ["Aidl"], |
| header_libs: [ |
| "libaudioeffects", |
| "libhardware_headers", |
| ], |
| shared_libs: [ |
| "liblog", |
| ], |
| cflags: [ |
| "-Wthread-safety", |
| ], |
| relative_install_path: "soundfx", |
| visibility: [ |
| "//hardware/interfaces/audio/aidl/default", |
| ], |
| } |
| |
| cc_library_shared { |
| name: "libreverbaidl", |
| srcs: [ |
| "Reverb/aidl/ReverbContext.cpp", |
| "Reverb/aidl/EffectReverb.cpp", |
| ":effectCommonFile", |
| ], |
| static_libs: ["libreverb"], |
| defaults: [ |
| "aidlaudioservice_defaults", |
| "latest_android_hardware_audio_effect_ndk_shared", |
| "latest_android_media_audio_common_types_ndk_shared", |
| ], |
| local_include_dirs: ["Reverb/aidl"], |
| header_libs: [ |
| "libaudioeffects", |
| "libhardware_headers", |
| ], |
| shared_libs: [ |
| "libbase", |
| "libaudioutils", |
| "libcutils", |
| "liblog", |
| ], |
| cflags: [ |
| "-Wthread-safety", |
| ], |
| relative_install_path: "soundfx", |
| visibility: [ |
| "//hardware/interfaces/audio/aidl/default", |
| ], |
| } |