aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-11 01:19:56 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-11 01:19:56 +0000
commit954a92733982513be913e6d60a8d15867a5f8a9c (patch)
treeb9acb87ffa88bc5ba49b19b7474c5052b3823a45
parent37eccae9fa1294a8c64e866ce2a0968551e120d0 (diff)
parentb1073dbd91b4d3641666fb43a337df8457dcffef (diff)
downloadlibusb-954a92733982513be913e6d60a8d15867a5f8a9c.tar.gz
Merge "Use -Werror in external/libusb" am: 187ab7bcfe am: 441d2453bd am: 3415bf1450
am: b1073dbd91 Change-Id: I6289cc2e734972dedc44e2f8e34469e3fc2d5c1e
-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: [