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.
59 lines
1.4 KiB
59 lines
1.4 KiB
cc_library_headers {
|
|
name: "libaudioclient_headers",
|
|
vendor_available: true,
|
|
export_include_dirs: ["include"],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "libaudioclient",
|
|
srcs: [
|
|
"AudioEffect.cpp",
|
|
"AudioPolicy.cpp",
|
|
"AudioRecord.cpp",
|
|
"AudioSystem.cpp",
|
|
"AudioTrack.cpp",
|
|
"AudioTrackShared.cpp",
|
|
"IAudioFlinger.cpp",
|
|
"IAudioFlingerClient.cpp",
|
|
"IAudioPolicyService.cpp",
|
|
"IAudioPolicyServiceClient.cpp",
|
|
"IAudioRecord.cpp",
|
|
"IAudioTrack.cpp",
|
|
"IEffect.cpp",
|
|
"IEffectClient.cpp",
|
|
"ToneGenerator.cpp",
|
|
"PlayerBase.cpp",
|
|
"TrackPlayerBase.cpp",
|
|
],
|
|
shared_libs: [
|
|
"liblog",
|
|
"libcutils",
|
|
"libutils",
|
|
"libbinder",
|
|
"libdl",
|
|
"libaudioutils",
|
|
"libaudiomanager",
|
|
],
|
|
export_shared_lib_headers: ["libbinder"],
|
|
|
|
local_include_dirs: ["include/media"],
|
|
header_libs: ["libaudioclient_headers"],
|
|
export_header_lib_headers: ["libaudioclient_headers"],
|
|
|
|
// for memory heap analysis
|
|
static_libs: [
|
|
"libc_malloc_debug_backtrace",
|
|
],
|
|
cflags: [
|
|
"-Wall",
|
|
"-Werror",
|
|
"-Wno-error=deprecated-declarations",
|
|
],
|
|
sanitize: {
|
|
misc_undefined : [
|
|
"unsigned-integer-overflow",
|
|
"signed-integer-overflow",
|
|
],
|
|
},
|
|
}
|