aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-10-10 23:31:08 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-10-10 23:31:08 +0000
commit187ab7bcfef114a50df1e6a3b583bbd70a2ffbb8 (patch)
treeb9acb87ffa88bc5ba49b19b7474c5052b3823a45 /Android.bp
parenta439e228525c22a7a38ad26abb3e6d841612f7ac (diff)
parentcac7beef27f73d7860d909aa4337a84c741032ba (diff)
downloadlibusb-187ab7bcfef114a50df1e6a3b583bbd70a2ffbb8.tar.gz
Merge "Use -Werror in external/libusb"
Diffstat (limited to 'Android.bp')
-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: [