blob: c11a9749569b2e4f4ccfa250da05558b540b032c [file] [log] [blame]
cc_library_shared {
name: "libtinycompress",
vendor: true,
cflags: [
"-Wall",
"-Werror",
"-Wno-macro-redefined",
"-Wno-unused-function",
],
export_include_dirs: ["include"],
srcs: [
"compress.c",
"utils.c",
"compress_hw.c",
"compress_plugin.c",
"snd_utils.c",
],
shared_libs: [
"libcutils",
"libutils",
],
header_libs: [
"device_kernel_headers",
],
}
cc_binary {
name: "cplay",
vendor: true,
cflags: [
"-Wall",
"-Werror",
"-Wno-macro-redefined"
],
local_include_dirs: ["include"],
srcs: ["cplay.c"],
shared_libs: [
"libcutils",
"libutils",
"libtinycompress",
],
}