Merge "Use -Werror in external/tinycompress" am: e7d3077126
am: 5e02fdc8eb
Change-Id: Id2f4d72bbf40acddf774f44bc1a4f465c9dc2db6
This commit is contained in:
commit
69d5d66bd6
1 changed files with 11 additions and 2 deletions
13
Android.bp
13
Android.bp
|
@ -2,7 +2,12 @@ cc_library_shared {
|
|||
name: "libtinycompress",
|
||||
vendor: true,
|
||||
|
||||
cflags: ["-Wno-macro-redefined"],
|
||||
cflags: [
|
||||
"-Wall",
|
||||
"-Werror",
|
||||
"-Wno-macro-redefined",
|
||||
"-Wno-unused-function",
|
||||
],
|
||||
export_include_dirs: ["include"],
|
||||
srcs: [
|
||||
"compress.c",
|
||||
|
@ -21,7 +26,11 @@ cc_binary {
|
|||
name: "cplay",
|
||||
vendor: true,
|
||||
|
||||
cflags: ["-Wno-macro-redefined"],
|
||||
cflags: [
|
||||
"-Wall",
|
||||
"-Werror",
|
||||
"-Wno-macro-redefined"
|
||||
],
|
||||
local_include_dirs: ["include"],
|
||||
srcs: ["cplay.c"],
|
||||
shared_libs: [
|
||||
|
|
Loading…
Reference in a new issue