aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-10 23:57:21 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-10 23:57:21 +0000
commitb1073dbd91b4d3641666fb43a337df8457dcffef (patch)
treeb9acb87ffa88bc5ba49b19b7474c5052b3823a45
parentc821f144fe31cc8a02ef03d3e11419dd84acee78 (diff)
parent3415bf14500510bcb1b345ba13174dc749ccfe29 (diff)
downloadlibusb-b1073dbd91b4d3641666fb43a337df8457dcffef.tar.gz
Merge "Use -Werror in external/libusb" am: 187ab7bcfe am: 441d2453bd
am: 3415bf1450 Change-Id: Ifeee508a029b9968419de058ce765952bc5fa3be
-rw-r--r--Android.bp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 2ca1b99..e85bdf3 100644
--- a/Android.bp
+++ b/Android.bp
@@ -16,6 +16,13 @@ cc_library {
"libusb/os",
],
+ cflags: [
+ "-Wall",
+ "-Werror",
+ "-Wno-error=sign-compare",
+ "-Wno-error=switch",
+ ],
+
target: {
android: {
srcs: [