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