c1bc48fca7
* Suppress non-critical warnings. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Id0a4f4431f8420dbbe20ec541aa3be6a77567b7c
41 lines
710 B
Text
41 lines
710 B
Text
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",
|
|
],
|
|
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",
|
|
],
|
|
}
|