2012-02-15 10:47:55 +01:00
|
|
|
# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
|
2011-05-30 13:51:34 +02:00
|
|
|
#
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
|
|
MY_WEBRTC_ROOT_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
# voice
|
2012-01-19 20:53:37 +01:00
|
|
|
include $(MY_WEBRTC_ROOT_PATH)/src/common_audio/signal_processing/Android.mk
|
|
|
|
include $(MY_WEBRTC_ROOT_PATH)/src/common_audio/vad/Android.mk
|
2012-01-19 22:16:13 +01:00
|
|
|
include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/aec/Android.mk
|
|
|
|
include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/aecm/Android.mk
|
|
|
|
include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/agc/Android.mk
|
|
|
|
include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/Android.mk
|
|
|
|
include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/ns/Android.mk
|
|
|
|
include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/utility/Android.mk
|
2012-01-19 23:11:37 +01:00
|
|
|
include $(MY_WEBRTC_ROOT_PATH)/src/modules/utility/source/Android.mk
|
2012-01-19 22:16:13 +01:00
|
|
|
include $(MY_WEBRTC_ROOT_PATH)/src/system_wrappers/source/Android.mk
|
2011-05-30 13:51:34 +02:00
|
|
|
|
|
|
|
# build .so
|
2011-08-05 23:01:02 +02:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
2011-12-03 19:34:50 +01:00
|
|
|
include $(LOCAL_PATH)/../../external/webrtc/android-webrtc.mk
|
2011-08-05 23:01:02 +02:00
|
|
|
|
|
|
|
LOCAL_ARM_MODE := arm
|
|
|
|
LOCAL_MODULE := libwebrtc_audio_preprocessing
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := \
|
|
|
|
libwebrtc_spl \
|
|
|
|
libwebrtc_apm \
|
|
|
|
libwebrtc_apm_utility \
|
|
|
|
libwebrtc_vad \
|
|
|
|
libwebrtc_ns \
|
|
|
|
libwebrtc_agc \
|
|
|
|
libwebrtc_aec \
|
|
|
|
libwebrtc_aecm \
|
|
|
|
libwebrtc_system_wrappers
|
|
|
|
|
2011-12-03 19:34:50 +01:00
|
|
|
# Add Neon libraries.
|
2012-01-04 18:47:57 +01:00
|
|
|
ifeq ($(WEBRTC_BUILD_NEON_LIBS),true)
|
2011-12-03 19:34:50 +01:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES += \
|
|
|
|
libwebrtc_aecm_neon \
|
|
|
|
libwebrtc_ns_neon
|
|
|
|
endif
|
|
|
|
|
2011-08-05 23:01:02 +02:00
|
|
|
LOCAL_STATIC_LIBRARIES := \
|
|
|
|
libprotobuf-cpp-2.3.0-lite
|
|
|
|
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
|
|
libcutils \
|
|
|
|
libdl \
|
|
|
|
libstlport
|
|
|
|
|
|
|
|
LOCAL_PRELINK_MODULE := false
|
|
|
|
|
|
|
|
ifndef NDK_ROOT
|
|
|
|
include external/stlport/libstlport.mk
|
|
|
|
endif
|
2012-01-19 22:16:13 +01:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|