niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 1 | # 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 | |
| 9 | LOCAL_PATH := $(call my-dir) |
| 10 | |
| 11 | include $(CLEAR_VARS) |
| 12 | |
kjellander@webrtc.org | bf48384 | 2011-11-07 16:05:19 +0000 | [diff] [blame] | 13 | include $(LOCAL_PATH)/../../../../android-webrtc.mk |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 14 | |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 15 | LOCAL_ARM_MODE := arm |
| 16 | LOCAL_MODULE_CLASS := STATIC_LIBRARIES |
| 17 | LOCAL_MODULE := libwebrtc_neteq |
| 18 | LOCAL_MODULE_TAGS := optional |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 19 | LOCAL_SRC_FILES := \ |
| 20 | accelerate.c \ |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 21 | 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.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 55 | LOCAL_CFLAGS := \ |
| 56 | $(MY_WEBRTC_COMMON_DEFS) \ |
| 57 | '-DNETEQ_VOICEENGINE_CODECS' |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 58 | |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 59 | LOCAL_C_INCLUDES := \ |
kjellander@webrtc.org | bf48384 | 2011-11-07 16:05:19 +0000 | [diff] [blame] | 60 | $(LOCAL_PATH)/interface \ |
kjellander@webrtc.org | 64a897a | 2011-11-17 13:33:11 +0000 | [diff] [blame] | 61 | $(LOCAL_PATH)/../codecs/cng/include \ |
kjellander@webrtc.org | bf48384 | 2011-11-07 16:05:19 +0000 | [diff] [blame] | 62 | $(LOCAL_PATH)/../../.. \ |
kjellander@webrtc.org | 0403ef4 | 2011-11-17 08:35:47 +0000 | [diff] [blame] | 63 | $(LOCAL_PATH)/../../../common_audio/signal_processing/include |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 64 | |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 65 | LOCAL_SHARED_LIBRARIES := \ |
| 66 | libcutils \ |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 67 | libdl \ |
| 68 | libstlport |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 69 | |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 70 | ifndef NDK_ROOT |
| 71 | include external/stlport/libstlport.mk |
| 72 | endif |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 73 | include $(BUILD_STATIC_LIBRARY) |