blob: 84267becf2c803a015d5a2f1152defb2bbfd8743 [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
kjellander@webrtc.orgbf483842011-11-07 16:05:19 +000013include $(LOCAL_PATH)/../../../../android-webrtc.mk
leozwang@google.com79835d12011-08-05 21:01:02 +000014
niklase@google.com470e71d2011-07-07 08:21:25 +000015LOCAL_ARM_MODE := arm
16LOCAL_MODULE_CLASS := STATIC_LIBRARIES
17LOCAL_MODULE := libwebrtc_neteq
18LOCAL_MODULE_TAGS := optional
leozwang@google.com79835d12011-08-05 21:01:02 +000019LOCAL_SRC_FILES := \
20 accelerate.c \
niklase@google.com470e71d2011-07-07 08:21:25 +000021 automode.c \
22 bgn_update.c \
23 bufstats_decision.c \
24 cng_internal.c \
25 codec_db.c \
26 correlator.c \
27 dsp.c \
28 dsp_helpfunctions.c \
29 dtmf_buffer.c \
30 dtmf_tonegen.c \
31 expand.c \
32 mcu_address_init.c \
33 mcu_dsp_common.c \
34 mcu_reset.c \
35 merge.c \
36 min_distortion.c \
37 mix_voice_unvoice.c \
38 mute_signal.c \
39 normal.c \
40 packet_buffer.c \
41 peak_detection.c \
42 preemptive_expand.c \
43 random_vector.c \
44 recin.c \
45 recout.c \
46 rtcp.c \
47 rtp.c \
48 set_fs.c \
49 signal_mcu.c \
50 split_and_insert.c \
51 unmute_signal.c \
52 webrtc_neteq.c
53
54# Flags passed to both C and C++ files.
leozwang@google.com79835d12011-08-05 21:01:02 +000055LOCAL_CFLAGS := \
56 $(MY_WEBRTC_COMMON_DEFS) \
57 '-DNETEQ_VOICEENGINE_CODECS'
niklase@google.com470e71d2011-07-07 08:21:25 +000058
leozwang@google.com79835d12011-08-05 21:01:02 +000059LOCAL_C_INCLUDES := \
kjellander@webrtc.orgbf483842011-11-07 16:05:19 +000060 $(LOCAL_PATH)/interface \
kjellander@webrtc.org64a897a2011-11-17 13:33:11 +000061 $(LOCAL_PATH)/../codecs/cng/include \
kjellander@webrtc.orgbf483842011-11-07 16:05:19 +000062 $(LOCAL_PATH)/../../.. \
kjellander@webrtc.org0403ef42011-11-17 08:35:47 +000063 $(LOCAL_PATH)/../../../common_audio/signal_processing/include
niklase@google.com470e71d2011-07-07 08:21:25 +000064
leozwang@google.com79835d12011-08-05 21:01:02 +000065LOCAL_SHARED_LIBRARIES := \
66 libcutils \
niklase@google.com470e71d2011-07-07 08:21:25 +000067 libdl \
68 libstlport
niklase@google.com470e71d2011-07-07 08:21:25 +000069
leozwang@google.com79835d12011-08-05 21:01:02 +000070ifndef NDK_ROOT
71include external/stlport/libstlport.mk
72endif
niklase@google.com470e71d2011-07-07 08:21:25 +000073include $(BUILD_STATIC_LIBRARY)