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.
66 lines
1.5 KiB
66 lines
1.5 KiB
cc_defaults {
|
|
name: "libnbaio_mono_defaults",
|
|
srcs: [
|
|
"MonoPipe.cpp",
|
|
"MonoPipeReader.cpp",
|
|
"NBAIO.cpp",
|
|
],
|
|
header_libs: [
|
|
"libaudioclient_headers",
|
|
"libaudio_system_headers",
|
|
],
|
|
export_header_lib_headers: [
|
|
"libaudioclient_headers",
|
|
],
|
|
|
|
shared_libs: [
|
|
"libaudioutils",
|
|
"libcutils",
|
|
"liblog",
|
|
"libutils",
|
|
],
|
|
export_shared_lib_headers: [
|
|
"libaudioutils",
|
|
],
|
|
|
|
export_include_dirs: ["include_mono"],
|
|
|
|
cflags: [
|
|
"-Werror",
|
|
"-Wall",
|
|
],
|
|
}
|
|
|
|
// libnbaio_mono is the part of libnbaio that is available for vendors to use. Vendor modules can't
|
|
// link against libnbaio and system modules can't link against libnbaio_mono. The rest of libnbaio
|
|
// pulls in too many other dependencies.
|
|
cc_library_shared {
|
|
name: "libnbaio_mono",
|
|
vendor: true,
|
|
defaults: ["libnbaio_mono_defaults"],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "libnbaio",
|
|
defaults: ["libnbaio_mono_defaults"],
|
|
srcs: [
|
|
"AudioBufferProviderSource.cpp",
|
|
"AudioStreamInSource.cpp",
|
|
"AudioStreamOutSink.cpp",
|
|
"Pipe.cpp",
|
|
"PipeReader.cpp",
|
|
"SourceAudioBufferProvider.cpp",
|
|
],
|
|
|
|
// libsndfile license is incompatible; uncomment to use for local debug only
|
|
// srcs: [
|
|
// "LibsndfileSink.cpp",
|
|
// "LibsndfileSource.cpp",
|
|
// ],
|
|
// static_libs: ["libsndfile"],
|
|
|
|
header_libs: ["libaudiohal_headers"],
|
|
|
|
export_include_dirs: ["include"],
|
|
}
|