diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2018-06-25 13:32:51 -0700 |
---|---|---|
committer | Pirama Arumuga Nainar <pirama@google.com> | 2018-06-25 13:34:07 -0700 |
commit | 39c92d1fef4fc8288a178f791867eef82bec7692 (patch) | |
tree | bbe88f77e87cb261efc2a0e305e63434b8d4666d | |
parent | 95affad99635ac7c02606d6ff7d94034963d49ac (diff) | |
download | libusb-39c92d1fef4fc8288a178f791867eef82bec7692.tar.gz |
Disable warnings for Windows
Bug: http://b/69933068
Disable -Wunused-parameter and -Wunused-function, which is emitted when
using Clang to build Windows host modules.
Test: m native-host-cross with clang
Change-Id: I5d0921b960ed61449b62730bd9c73c51fc6b7332
-rw-r--r-- | Android.bp | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -84,7 +84,11 @@ cc_library { "windows", ], - cflags: ["-Werror"], + cflags: [ + "-Werror", + "-Wno-unused-function", + "-Wno-unused-parameter", + ], enabled: true, }, }, |