Bluetooth: Avoid strict compiler flags for libbt-vendor
- Excluded srict compiler flags for compiling the
libbt-vendor module.
CRs-Fixed: 2180253
Change-Id: I70460c5e512ccc521dba1183c4eb7cdeff5ff8e2
diff --git a/libbt-vendor/Android.mk b/libbt-vendor/Android.mk
index ad9671c..92850ca 100644
--- a/libbt-vendor/Android.mk
+++ b/libbt-vendor/Android.mk
@@ -78,6 +78,12 @@
endif
LOCAL_CFLAGS += -DBT_NV_SUPPORT
+LOCAL_CFLAGS += -Wno-unused-variable
+LOCAL_CFLAGS += -Wno-unused-label
+LOCAL_CFLAGS += -Wno-user-defined-warnings
+LOCAL_CFLAGS += -Wno-unused-parameter
+LOCAL_CFLAGS += -Wno-incompatible-pointer-types-discards-qualifiers
+LOCAL_CFLAGS += -Wno-unused-function
ifneq ($(BOARD_ANT_WIRELESS_DEVICE),)
LOCAL_CFLAGS += -DENABLE_ANT