andrew@webrtc.org | b9d7d93 | 2012-01-25 19:21:13 +0000 | [diff] [blame] | 1 | # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
leozwang@google.com | 81520b7 | 2011-08-05 22:20:03 +0000 | [diff] [blame] | 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 | |
andrew@webrtc.org | 4d5d5c1 | 2011-10-19 01:40:33 +0000 | [diff] [blame] | 13 | include $(LOCAL_PATH)/../../../android-webrtc.mk |
leozwang@google.com | 81520b7 | 2011-08-05 22:20:03 +0000 | [diff] [blame] | 14 | |
| 15 | LOCAL_ARM_MODE := arm |
| 16 | LOCAL_MODULE := libwebrtc_apm |
| 17 | LOCAL_MODULE_TAGS := optional |
| 18 | LOCAL_CPP_EXTENSION := .cc |
| 19 | LOCAL_SRC_FILES := \ |
andrew@webrtc.org | 4d5d5c1 | 2011-10-19 01:40:33 +0000 | [diff] [blame] | 20 | $(call all-proto-files-under, .) \ |
| 21 | audio_buffer.cc \ |
| 22 | audio_processing_impl.cc \ |
| 23 | echo_cancellation_impl.cc \ |
| 24 | echo_control_mobile_impl.cc \ |
| 25 | gain_control_impl.cc \ |
| 26 | high_pass_filter_impl.cc \ |
| 27 | level_estimator_impl.cc \ |
| 28 | noise_suppression_impl.cc \ |
| 29 | splitting_filter.cc \ |
| 30 | processing_component.cc \ |
| 31 | voice_detection_impl.cc |
leozwang@google.com | 81520b7 | 2011-08-05 22:20:03 +0000 | [diff] [blame] | 32 | |
| 33 | # Flags passed to both C and C++ files. |
| 34 | LOCAL_CFLAGS := \ |
| 35 | $(MY_WEBRTC_COMMON_DEFS) \ |
| 36 | '-DWEBRTC_NS_FIXED' |
| 37 | # floating point |
| 38 | # -DWEBRTC_NS_FLOAT' |
| 39 | |
| 40 | LOCAL_C_INCLUDES := \ |
andrew@webrtc.org | b9d7d93 | 2012-01-25 19:21:13 +0000 | [diff] [blame] | 41 | $(LOCAL_PATH)/include \ |
| 42 | $(LOCAL_PATH)/aec/include \ |
| 43 | $(LOCAL_PATH)/aecm/include \ |
| 44 | $(LOCAL_PATH)/agc/include \ |
| 45 | $(LOCAL_PATH)/ns/include \ |
andrew@webrtc.org | 4d5d5c1 | 2011-10-19 01:40:33 +0000 | [diff] [blame] | 46 | $(LOCAL_PATH)/../interface \ |
| 47 | $(LOCAL_PATH)/../.. \ |
kjellander@webrtc.org | 0403ef4 | 2011-11-17 08:35:47 +0000 | [diff] [blame] | 48 | $(LOCAL_PATH)/../../common_audio/signal_processing/include \ |
| 49 | $(LOCAL_PATH)/../../common_audio/vad/include \ |
andrew@webrtc.org | 4d5d5c1 | 2011-10-19 01:40:33 +0000 | [diff] [blame] | 50 | $(LOCAL_PATH)/../../system_wrappers/interface \ |
leozwang@google.com | 81520b7 | 2011-08-05 22:20:03 +0000 | [diff] [blame] | 51 | external/protobuf/src |
| 52 | |
| 53 | LOCAL_SHARED_LIBRARIES := \ |
| 54 | libcutils \ |
| 55 | libdl \ |
| 56 | libstlport |
| 57 | |
| 58 | ifndef NDK_ROOT |
| 59 | include external/stlport/libstlport.mk |
| 60 | endif |
| 61 | include $(BUILD_STATIC_LIBRARY) |