blob: c03c1b0fc992b1ce4d8d9290fc72103a8ef5e3f3 [file] [log] [blame]
andrew@webrtc.orgb9d7d932012-01-25 19:21:13 +00001# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
leozwang@google.com81520b72011-08-05 22:20:03 +00002#
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
andrew@webrtc.org4d5d5c12011-10-19 01:40:33 +000013include $(LOCAL_PATH)/../../../android-webrtc.mk
leozwang@google.com81520b72011-08-05 22:20:03 +000014
15LOCAL_ARM_MODE := arm
16LOCAL_MODULE := libwebrtc_apm
17LOCAL_MODULE_TAGS := optional
18LOCAL_CPP_EXTENSION := .cc
19LOCAL_SRC_FILES := \
andrew@webrtc.org4d5d5c12011-10-19 01:40:33 +000020 $(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.com81520b72011-08-05 22:20:03 +000032
33# Flags passed to both C and C++ files.
34LOCAL_CFLAGS := \
35 $(MY_WEBRTC_COMMON_DEFS) \
36 '-DWEBRTC_NS_FIXED'
37# floating point
38# -DWEBRTC_NS_FLOAT'
39
40LOCAL_C_INCLUDES := \
andrew@webrtc.orgb9d7d932012-01-25 19:21:13 +000041 $(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.org4d5d5c12011-10-19 01:40:33 +000046 $(LOCAL_PATH)/../interface \
47 $(LOCAL_PATH)/../.. \
kjellander@webrtc.org0403ef42011-11-17 08:35:47 +000048 $(LOCAL_PATH)/../../common_audio/signal_processing/include \
49 $(LOCAL_PATH)/../../common_audio/vad/include \
andrew@webrtc.org4d5d5c12011-10-19 01:40:33 +000050 $(LOCAL_PATH)/../../system_wrappers/interface \
leozwang@google.com81520b72011-08-05 22:20:03 +000051 external/protobuf/src
52
53LOCAL_SHARED_LIBRARIES := \
54 libcutils \
55 libdl \
56 libstlport
57
58ifndef NDK_ROOT
59include external/stlport/libstlport.mk
60endif
61include $(BUILD_STATIC_LIBRARY)