aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2018-01-03 13:01:55 -0800
committerYi Kong <yikong@google.com>2018-01-03 13:01:55 -0800
commit0423b367f5e1e2f864b421006eb85949c29d7ed3 (patch)
tree6c3e77d92bebafb9d1aaf06550839d7608d353b3
parentdf52de7a3abafbcc7dc126e6ff6f7edc92f44a24 (diff)
downloadlibese-0423b367f5e1e2f864b421006eb85949c29d7ed3.tar.gz
Ignore -Wformat warningandroid-wear-8.0.0_r1
Clang 6.0.1 update introduced a number of new warnings, failing werror build. Ignore the -Wformat warning for external/libese. Test: m checkbuild Change-Id: Ie82a0cc86a49682c9189d0af8b86008d88a32f54
-rw-r--r--libese-hw/nxp/Android.bp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libese-hw/nxp/Android.bp b/libese-hw/nxp/Android.bp
index 506a32a..0ec4ea6 100644
--- a/libese-hw/nxp/Android.bp
+++ b/libese-hw/nxp/Android.bp
@@ -31,6 +31,7 @@ cc_library {
"-Wall",
"-Werror",
"-Wno-error=unused-variable",
+ "-Wno-format",
],
target: {
darwin: {
@@ -61,6 +62,9 @@ cc_library {
name: "libese-hw-nxp-pn80t-spidev",
defaults: ["pn80t_platform"],
srcs: ["pn80t/linux_spidev.c"],
+ cflags: [
+ "-Wno-format",
+ ],
}
cc_library {
@@ -71,5 +75,6 @@ cc_library {
"-Wall",
"-Werror",
"-Wno-error=unused-variable",
+ "-Wno-format",
],
}