liblinphone_tester.mk 965 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
LOCAL_PATH := $(call my-dir)/../../tester

common_SRC_FILES := \
	call_tester.c \
	liblinphone_tester.c \
	message_tester.c \
	presence_tester.c \
	register_tester.c \
	setup_tester.c \
10
	upnp_tester.c \
11 12
	eventapi_tester.c \
	stun_tester.c \
Sylvain Berfini's avatar
Sylvain Berfini committed
13
	flexisip_tester.c \
14
	tester.c \
15
	remote_provisioning_tester.c \
16 17
	quality_reporting_tester.c \
	transport_tester.c
18

19 20 21 22 23
common_C_INCLUDES += \
        $(LOCAL_PATH) \
        $(LOCAL_PATH)/../include \
        $(LOCAL_PATH)/../coreapi \
        $(LOCAL_PATH)/../oRTP/include \
24
        $(LOCAL_PATH)/../mediastreamer2/include
25

26 27 28

include $(CLEAR_VARS)

29
LOCAL_MODULE := liblinphone_tester
30
LOCAL_MODULE_FILENAME := liblinphone_tester-$(TARGET_ARCH_ABI)
31
LOCAL_SRC_FILES += $(common_SRC_FILES)
32 33
LOCAL_C_INCLUDES = $(common_C_INCLUDES)
LOCAL_CFLAGS = -DIN_LINPHONE
34 35
LOCAL_LDLIBS := -llog

36 37 38 39
ifeq ($(BUILD_MATROSKA), 1)
LOCAL_CFLAGS += -DHAVE_MATROSKA
endif

40
LOCAL_SHARED_LIBRARIES := cunit liblinphone
41 42 43
include $(BUILD_SHARED_LIBRARY)

#end