aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2017-11-21 09:45:04 -0800
committerStephen Hines <srhines@google.com>2017-11-21 10:32:07 -0800
commit0c8dc90c25bf8674dbe2419522970114f865f84a (patch)
tree953230748fd7abf33c89880946114903f7306527
parent8008b1867cd3207e2c7175c876a81a1f7490e522 (diff)
downloadlibusb-0c8dc90c25bf8674dbe2419522970114f865f84a.tar.gz
Suppress unused parameter and deprecated declaration warnings on Darwin.
Bug: http://b/66996870 Test: Builds on darwin. Change-Id: I888903a5507b870523409fec45397cdb269669b4
-rw-r--r--Android.bp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index f19d333..62b575e 100644
--- a/Android.bp
+++ b/Android.bp
@@ -57,7 +57,10 @@ cc_library {
"-lobjc"
],
- // cflags: ["-Werror"], // still has warnings
+ cflags: [
+ "-Wno-unused-parameter",
+ "-Wno-deprecated-declarations"
+ ],
},
linux_glibc: {