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 9LOCAL_PATH := $(call my-dir) 10 11include $(CLEAR_VARS) 12include $(LOCAL_PATH)/android-webrtc.mk 13 14LOCAL_ARM_MODE := arm 15LOCAL_MODULE := libwebrtc_audio_preprocessing 16LOCAL_MODULE_TAGS := optional 17 18LOCAL_WHOLE_STATIC_LIBRARIES := \ 19 libwebrtc_spl \ 20 libwebrtc_resampler \ 21 libwebrtc_apm \ 22 libwebrtc_apm_utility \ 23 libwebrtc_vad \ 24 libwebrtc_ns \ 25 libwebrtc_agc \ 26 libwebrtc_aec \ 27 libwebrtc_aecm \ 28 libwebrtc_system_wrappers 29 30# Add Neon libraries. 31ifeq ($(WEBRTC_BUILD_NEON_LIBS),true) 32LOCAL_WHOLE_STATIC_LIBRARIES_arm += \ 33 libwebrtc_aecm_neon \ 34 libwebrtc_ns_neon 35endif 36 37LOCAL_SHARED_LIBRARIES := \ 38 libcutils \ 39 libdl \ 40 libprotobuf-cpp-lite \ 41 42 43include $(BUILD_SHARED_LIBRARY) 44 45 46include $(CLEAR_VARS) 47include $(LOCAL_PATH)/android-webrtc.mk 48 49LOCAL_ARM_MODE := arm 50LOCAL_MODULE := libwebrtc_audio_coding 51LOCAL_MODULE_TAGS := optional 52 53LOCAL_WHOLE_STATIC_LIBRARIES := \ 54 libwebrtc_isac \ 55 libwebrtc_isacfix \ 56 libwebrtc_spl \ 57 libwebrtc_system_wrappers 58ifeq ($(WEBRTC_BUILD_NEON_LIBS),true) 59LOCAL_WHOLE_STATIC_LIBRARIES_arm += \ 60 libwebrtc_isacfix_neon 61endif 62 63LOCAL_STATIC_LIBRARIES := \ 64 libprotobuf-cpp-lite 65LOCAL_SHARED_LIBRARIES := \ 66 libcutils \ 67 libdl \ 68 69 70include $(BUILD_SHARED_LIBRARY) 71 72 73include $(CLEAR_VARS) 74include $(LOCAL_PATH)/android-webrtc.mk 75 76LOCAL_ARM_MODE := arm 77LOCAL_MODULE := libwebrtc_audio_coding_gnustl_static 78LOCAL_MODULE_TAGS := optional 79 80LOCAL_WHOLE_STATIC_LIBRARIES := \ 81 libwebrtc_isac_gnustl_static \ 82 libwebrtc_isacfix_gnustl_static \ 83 libwebrtc_spl_gnustl_static \ 84 libwebrtc_system_wrappers_gnustl_static 85ifeq ($(WEBRTC_BUILD_NEON_LIBS),true) 86LOCAL_WHOLE_STATIC_LIBRARIES_arm += \ 87 libwebrtc_isacfix_neon_gnustl_static 88endif 89 90LOCAL_STATIC_LIBRARIES := \ 91 libprotobuf-cpp-lite 92LOCAL_SHARED_LIBRARIES := \ 93 libcutils \ 94 libdl 95 96 97LOCAL_NDK_STL_VARIANT := gnustl_static 98LOCAL_SDK_VERSION := 14 99 100include $(BUILD_STATIC_LIBRARY) 101 102webrtc_path := $(LOCAL_PATH) 103# voice 104include $(webrtc_path)/src/common_audio/resampler/Android.mk 105include $(webrtc_path)/src/common_audio/signal_processing/Android.mk 106include $(webrtc_path)/src/common_audio/vad/Android.mk 107include $(webrtc_path)/src/modules/audio_coding/codecs/isac/fix/Android.mk 108include $(webrtc_path)/src/modules/audio_coding/codecs/isac/main/source/Android.mk 109include $(webrtc_path)/src/modules/audio_processing/aec/Android.mk 110include $(webrtc_path)/src/modules/audio_processing/aecm/Android.mk 111include $(webrtc_path)/src/modules/audio_processing/agc/Android.mk 112include $(webrtc_path)/src/modules/audio_processing/Android.mk 113include $(webrtc_path)/src/modules/audio_processing/ns/Android.mk 114include $(webrtc_path)/src/modules/audio_processing/utility/Android.mk 115#include $(webrtc_path)/src/modules/utility/source/Android.mk 116include $(webrtc_path)/src/system_wrappers/source/Android.mk 117 118# libwebrtc_audio_coding_gnustl_static dependencies 119WEBRTC_STL := gnustl_static 120include $(webrtc_path)/src/system_wrappers/source/Android.mk 121include $(webrtc_path)/src/modules/audio_coding/codecs/isac/main/source/Android.mk 122include $(webrtc_path)/src/modules/audio_coding/codecs/isac/fix/Android.mk 123include $(webrtc_path)/src/common_audio/signal_processing/Android.mk 124