blob: 7835c3a3ca99941877bbcd5ec9af47f1f0981a5a [file] [log] [blame]
###########
# PJMEDIA #
###########
include $(CLEAR_VARS)
PJMEDIA_DIR = sflphone/daemon/libs/pjproject-2.2.1/pjmedia
LOCAL_MODULE := pjmedia
LOCAL_C_INCLUDES := $(PJMEDIA_DIR)/../pjlib/include \
$(PJMEDIA_DIR)/../pjlib-util/include \
$(PJMEDIA_DIR)/../pjnath/include \
$(PJMEDIA_DIR)/include \
$(PJMEDIA_DIR)/.. \
$(PJMEDIA_DIR)/../third_party/srtp/include \
$(PJMEDIA_DIR)/../third_party/srtp/crypto/include \
$(PJMEDIA_DIR)/../third_party/build/srtp
LOCAL_CFLAGS := $(MY_PJSIP_FLAGS)
PJLIB_SRC_DIR := $(PJMEDIA_DIR)/src/pjmedia
PJMEDIADEV_SRC_DIR := $(PJMEDIA_DIR)/src/pjmedia-audiodev
PJMEDIADEV_VIDEO_SRC_DIR := src/pjmedia-videodev
PJMEDIACODEC_SRC_DIR := src/pjmedia-codec
LOCAL_SRC_FILES := $(PJLIB_SRC_DIR)/bidirectional.c $(PJLIB_SRC_DIR)/format.c \
$(PJLIB_SRC_DIR)/clock_thread.c $(PJLIB_SRC_DIR)/codec.c \
$(PJLIB_SRC_DIR)/conference.c $(PJLIB_SRC_DIR)/conf_switch.c $(PJLIB_SRC_DIR)/delaybuf.c $(PJLIB_SRC_DIR)/echo_common.c \
$(PJLIB_SRC_DIR)/echo_port.c $(PJLIB_SRC_DIR)/echo_suppress.c $(PJLIB_SRC_DIR)/endpoint.c $(PJLIB_SRC_DIR)/errno.c \
$(PJLIB_SRC_DIR)/g711.c $(PJLIB_SRC_DIR)/jbuf.c $(PJLIB_SRC_DIR)/master_port.c \
$(PJLIB_SRC_DIR)/mem_capture.c $(PJLIB_SRC_DIR)/mem_player.c \
$(PJLIB_SRC_DIR)/null_port.c $(PJLIB_SRC_DIR)/plc_common.c $(PJLIB_SRC_DIR)/port.c $(PJLIB_SRC_DIR)/splitcomb.c \
$(PJLIB_SRC_DIR)/resample_resample.c $(PJLIB_SRC_DIR)/resample_libsamplerate.c \
$(PJLIB_SRC_DIR)/resample_port.c $(PJLIB_SRC_DIR)/rtcp.c $(PJLIB_SRC_DIR)/rtcp_xr.c $(PJLIB_SRC_DIR)/rtp.c \
$(PJLIB_SRC_DIR)/sdp.c \
$(PJLIB_SRC_DIR)/sdp_cmp.c \
$(PJLIB_SRC_DIR)/sdp_neg.c \
$(PJLIB_SRC_DIR)/session.c $(PJLIB_SRC_DIR)/silencedet.c \
$(PJLIB_SRC_DIR)/sound_port.c $(PJLIB_SRC_DIR)/stereo_port.c \
$(PJLIB_SRC_DIR)/stream_common.c $(PJLIB_SRC_DIR)/stream_info.c \
$(PJLIB_SRC_DIR)/stream.c $(PJLIB_SRC_DIR)/tonegen.c $(PJLIB_SRC_DIR)/transport_adapter_sample.c \
$(PJLIB_SRC_DIR)/transport_ice.c $(PJLIB_SRC_DIR)/transport_loop.c \
$(PJLIB_SRC_DIR)/transport_srtp.c $(PJLIB_SRC_DIR)/transport_udp.c \
$(PJLIB_SRC_DIR)/wav_player.c $(PJLIB_SRC_DIR)/wav_playlist.c $(PJLIB_SRC_DIR)/wav_writer.c $(PJLIB_SRC_DIR)/wave.c \
$(PJLIB_SRC_DIR)/wsola.c \
$(PJLIB_SRC_DIR)/vid_port.c $(PJLIB_SRC_DIR)/vid_codec.c \
$(PJLIB_SRC_DIR)/vid_stream.c $(PJLIB_SRC_DIR)/vid_stream_info.c $(PJLIB_SRC_DIR)/vid_tee.c \
$(PJLIB_SRC_DIR)/converter.c $(PJLIB_SRC_DIR)/event.c \
#$(PJMEDIADEV_SRC_DIR)/audiodev.c $(PJMEDIADEV_SRC_DIR)/audiotest.c $(PJMEDIADEV_SRC_DIR)/errno.c \
#$(PJMEDIADEV_VIDEO_SRC_DIR)/videodev.c $(PJMEDIADEV_VIDEO_SRC_DIR)/colorbar_dev.c $(PJMEDIADEV_VIDEO_SRC_DIR)/errno.c \
#$(PJMEDIACODEC_SRC_DIR)/amr_sdp_match.c
include $(BUILD_STATIC_LIBRARY)
#include $(TOOLCHAIN_PATH)/Video.mk
#$(call import-module,cpufeatures)