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