blob: c2fc91d5cfea7a3f676e676f4bbfc47e57a1445a [file] [log] [blame]
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "frameworks_base_media_jni_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["frameworks_base_media_jni_license"],
}
cc_library_shared {
name: "libaudioeffect_jni",
srcs: [
"android_media_AudioEffect.cpp",
"android_media_SourceDefaultEffect.cpp",
"android_media_StreamDefaultEffect.cpp",
"android_media_Visualizer.cpp",
"Visualizer.cpp",
],
shared_libs: [
"liblog",
"libcutils",
"libutils",
"libandroid_runtime",
"libnativehelper",
"libaudioclient",
"libaudioutils",
"libaudiofoundation",
],
version_script: "exports.lds",
cflags: [
"-Wall",
"-Werror",
"-Wunused",
"-Wunreachable-code",
],
// Workaround Clang LTO crash.
lto: {
never: true,
},
}