# libosi unit tests for target
# ========================================================
include $(CLEAR_VARS)
- LOCAL_CLANG := false # osi/include/atomic.h depends on gcc atomic functions
LOCAL_C_INCLUDES := $(btosiCommonIncludes)
LOCAL_SRC_FILES := $(btosiCommonTestSrc)
-LOCAL_CFLAGS := -Wall
+LOCAL_CFLAGS := -Wall -UNDEBUG
LOCAL_MODULE := net_test_osi
LOCAL_MODULE_TAGS := tests
LOCAL_SHARED_LIBRARIES := liblog
# ========================================================
ifeq ($(HOST_OS),linux)
include $(CLEAR_VARS)
- LOCAL_CLANG := false # osi/include/atomic.h depends on gcc atomic functions
LOCAL_C_INCLUDES := $(btosiCommonIncludes)
LOCAL_SRC_FILES := $(btosiCommonTestSrc)
-LOCAL_CFLAGS := -Wall
+LOCAL_CFLAGS := -Wall -UNDEBUG
LOCAL_LDLIBS := -lrt -lpthread
LOCAL_MODULE := net_test_osi
LOCAL_MODULE_TAGS := tests