platform_external_tinycompress/Android.bp
Chih-Hung Hsieh c1bc48fca7 Use -Werror in external/tinycompress
* Suppress non-critical warnings.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Id0a4f4431f8420dbbe20ec541aa3be6a77567b7c
2017-09-29 11:59:15 -07:00

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",
],
}