blob: c7bd009021b8d883733bf5d5dbfab486bdab9372 [file] [log] [blame]
niklase@google.com470e71d2011-07-07 08:21:25 +00001# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
2#
3# Use of this source code is governed by a BSD-style license
4# that can be found in the LICENSE file in the root of the source
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9LOCAL_PATH := $(call my-dir)
10
11include $(CLEAR_VARS)
12
leozwang@google.com79835d12011-08-05 21:01:02 +000013include $(LOCAL_PATH)/../../../../android-webrtc.mk
14
niklase@google.com470e71d2011-07-07 08:21:25 +000015LOCAL_ARM_MODE := arm
16LOCAL_MODULE := libwebrtc_voe_core
17LOCAL_MODULE_TAGS := optional
18LOCAL_CPP_EXTENSION := .cc
leozwang@google.com79835d12011-08-05 21:01:02 +000019LOCAL_SRC_FILES := \
20 audio_frame_operations.cc \
niklase@google.com470e71d2011-07-07 08:21:25 +000021 channel.cc \
22 channel_manager.cc \
23 channel_manager_base.cc \
24 dtmf_inband.cc \
25 dtmf_inband_queue.cc \
26 level_indicator.cc \
27 monitor_module.cc \
28 output_mixer.cc \
29 ref_count.cc \
30 shared_data.cc \
31 statistics.cc \
32 transmit_mixer.cc \
33 utility.cc \
34 voe_audio_processing_impl.cc \
35 voe_base_impl.cc \
36 voe_call_report_impl.cc \
37 voe_codec_impl.cc \
38 voe_dtmf_impl.cc \
39 voe_encryption_impl.cc \
40 voe_external_media_impl.cc \
41 voe_file_impl.cc \
42 voe_hardware_impl.cc \
43 voe_neteq_stats_impl.cc \
44 voe_network_impl.cc \
45 voe_rtp_rtcp_impl.cc \
46 voe_video_sync_impl.cc \
47 voe_volume_control_impl.cc \
48 voice_engine_impl.cc
49
50# Flags passed to both C and C++ files.
leozwang@google.com79835d12011-08-05 21:01:02 +000051LOCAL_CFLAGS := \
52 $(MY_WEBRTC_COMMON_DEFS)
niklase@google.com470e71d2011-07-07 08:21:25 +000053
leozwang@google.com79835d12011-08-05 21:01:02 +000054LOCAL_C_INCLUDES := \
niklase@google.com470e71d2011-07-07 08:21:25 +000055 $(LOCAL_PATH)/../interface \
leozwang@google.com79835d12011-08-05 21:01:02 +000056 $(LOCAL_PATH)/../../.. \
niklase@google.com470e71d2011-07-07 08:21:25 +000057 $(LOCAL_PATH)/../../../common_audio/resampler/main/interface \
58 $(LOCAL_PATH)/../../../common_audio/signal_processing_library/main/interface \
niklase@google.com470e71d2011-07-07 08:21:25 +000059 $(LOCAL_PATH)/../../../modules/interface \
leozwang@google.com79835d12011-08-05 21:01:02 +000060 $(LOCAL_PATH)/../../../modules/audio_coding/main/interface \
niklase@google.com470e71d2011-07-07 08:21:25 +000061 $(LOCAL_PATH)/../../../modules/audio_conference_mixer/interface \
62 $(LOCAL_PATH)/../../../modules/audio_device/main/interface \
63 $(LOCAL_PATH)/../../../modules/audio_processing/main/interface \
64 $(LOCAL_PATH)/../../../modules/media_file/interface \
65 $(LOCAL_PATH)/../../../modules/rtp_rtcp/interface \
66 $(LOCAL_PATH)/../../../modules/udp_transport/interface \
67 $(LOCAL_PATH)/../../../modules/utility/interface \
68 $(LOCAL_PATH)/../../../system_wrappers/interface
69
leozwang@google.com79835d12011-08-05 21:01:02 +000070LOCAL_SHARED_LIBRARIES := \
71 libcutils \
niklase@google.com470e71d2011-07-07 08:21:25 +000072 libdl \
73 libstlport
niklase@google.com470e71d2011-07-07 08:21:25 +000074
75ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
76LOCAL_LDLIBS += -ldl -lpthread
77endif
78
79ifneq ($(TARGET_SIMULATOR),true)
80LOCAL_SHARED_LIBRARIES += libdl
81endif
82
leozwang@google.com79835d12011-08-05 21:01:02 +000083ifndef NDK_ROOT
niklase@google.com470e71d2011-07-07 08:21:25 +000084include external/stlport/libstlport.mk
leozwang@google.com79835d12011-08-05 21:01:02 +000085endif
niklase@google.com470e71d2011-07-07 08:21:25 +000086include $(BUILD_STATIC_LIBRARY)