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.

52 lines
1.2 KiB

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: [
"framework-permission-aidl-cpp",
"liblog",
"libcutils",
"libutils",
"libandroid_runtime",
"libnativehelper",
"libaudioclient",
"libaudioutils",
"libaudiofoundation",
"libbinder"
],
export_shared_lib_headers: [
"framework-permission-aidl-cpp",
],
version_script: "exports.lds",
cflags: [
"-Wall",
"-Werror",
"-Wunused",
"-Wunreachable-code",
],
// Workaround Clang LTO crash.
lto: {
never: true,
},
}