diff options
Diffstat (limited to 'qcwcn/wifi_hal/Android.mk')
-rw-r--r-- | qcwcn/wifi_hal/Android.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qcwcn/wifi_hal/Android.mk b/qcwcn/wifi_hal/Android.mk index 53d15b6..9c7e5df 100644 --- a/qcwcn/wifi_hal/Android.mk +++ b/qcwcn/wifi_hal/Android.mk @@ -19,6 +19,9 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_CFLAGS := -Wno-unused-parameter +ifeq ($(TARGET_BUILD_VARIANT),userdebug) +LOCAL_CFLAGS += "-DLOG_NDEBUG=0" +endif # gscan.cpp: address of array 'cached_results[i].results' will always evaluate to 'true' LOCAL_CLANG_CFLAGS := -Wno-pointer-bool-conversion @@ -72,6 +75,9 @@ LOCAL_REQUIRED_MODULES := LOCAL_CFLAGS += -Wno-unused-parameter LOCAL_CPPFLAGS += -Wno-conversion-null +ifeq ($(TARGET_BUILD_VARIANT),userdebug) +LOCAL_CFLAGS += "-DLOG_NDEBUG=0" +endif # gscan.cpp: address of array 'cached_results[i].results' will always evaluate to 'true' LOCAL_CLANG_CFLAGS := -Wno-pointer-bool-conversion |