aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-10 23:47:26 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-10 23:47:26 +0000
commit3415bf14500510bcb1b345ba13174dc749ccfe29 (patch)
treeb9acb87ffa88bc5ba49b19b7474c5052b3823a45
parent987fb80df35f4c67e8a9934ce79750cd09ad313a (diff)
parent441d2453bddac37e4189b1a9a85bab6fb4c819bf (diff)
downloadlibusb-3415bf14500510bcb1b345ba13174dc749ccfe29.tar.gz
Merge "Use -Werror in external/libusb" am: 187ab7bcfe
am: 441d2453bd Change-Id: I998fea3af25b2b00267333cbd8bf8e73d89ae101
-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: [