• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
9MY_WEBRTC_ROOT_PATH := $(call my-dir)
10
11# voice
12include $(MY_WEBRTC_ROOT_PATH)/src/common_audio/resampler/Android.mk
13include $(MY_WEBRTC_ROOT_PATH)/src/common_audio/signal_processing/Android.mk
14include $(MY_WEBRTC_ROOT_PATH)/src/common_audio/vad/Android.mk
15include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/aec/Android.mk
16include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/aecm/Android.mk
17include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/agc/Android.mk
18include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/Android.mk
19include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/ns/Android.mk
20include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/utility/Android.mk
21#include $(MY_WEBRTC_ROOT_PATH)/src/modules/utility/source/Android.mk
22include $(MY_WEBRTC_ROOT_PATH)/src/system_wrappers/source/Android.mk
23
24# build .so
25LOCAL_PATH := $(call my-dir)
26
27include $(CLEAR_VARS)
28include $(LOCAL_PATH)/../../external/webrtc/android-webrtc.mk
29
30LOCAL_ARM_MODE := arm
31LOCAL_MODULE := libwebrtc_audio_preprocessing
32LOCAL_MODULE_TAGS := optional
33
34LOCAL_WHOLE_STATIC_LIBRARIES := \
35    libwebrtc_spl \
36    libwebrtc_resampler \
37    libwebrtc_apm \
38    libwebrtc_apm_utility \
39    libwebrtc_vad \
40    libwebrtc_ns \
41    libwebrtc_agc \
42    libwebrtc_aec \
43    libwebrtc_aecm \
44    libwebrtc_system_wrappers
45
46# Add Neon libraries.
47ifeq ($(WEBRTC_BUILD_NEON_LIBS),true)
48LOCAL_WHOLE_STATIC_LIBRARIES += \
49    libwebrtc_aecm_neon \
50    libwebrtc_ns_neon
51endif
52
53LOCAL_STATIC_LIBRARIES := \
54    libprotobuf-cpp-2.3.0-lite
55
56LOCAL_SHARED_LIBRARIES := \
57    libcutils \
58    libdl \
59    libstlport
60
61LOCAL_PRELINK_MODULE := false
62
63ifndef NDK_ROOT
64include external/stlport/libstlport.mk
65endif
66include $(BUILD_SHARED_LIBRARY)
67
68