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) 12 13include $(LOCAL_PATH)/../../../../../../../android-webrtc.mk 14 15LOCAL_ARM_MODE := arm 16LOCAL_MODULE_CLASS := STATIC_LIBRARIES 17LOCAL_MODULE := libwebrtc_isac 18LOCAL_VENDOR_MODULE := true 19LOCAL_MODULE_TAGS := optional 20LOCAL_SRC_FILES := \ 21 arith_routines.c \ 22 arith_routines_hist.c \ 23 arith_routines_logist.c \ 24 bandwidth_estimator.c \ 25 crc.c \ 26 decode.c \ 27 decode_bwe.c \ 28 encode.c \ 29 encode_lpc_swb.c \ 30 entropy_coding.c \ 31 fft.c \ 32 filter_functions.c \ 33 filterbank_tables.c \ 34 filterbanks.c \ 35 intialize.c \ 36 isac.c \ 37 pitch_lag_tables.c \ 38 lattice.c \ 39 lpc_gain_swb_tables.c \ 40 lpc_analysis.c \ 41 lpc_shape_swb12_tables.c \ 42 lpc_shape_swb16_tables.c \ 43 lpc_tables.c \ 44 pitch_estimator.c \ 45 pitch_filter.c \ 46 pitch_gain_tables.c \ 47 spectrum_ar_model_tables.c \ 48 transform.c 49 50# Flags passed to both C and C++ files. 51LOCAL_CFLAGS := \ 52 $(MY_WEBRTC_COMMON_DEFS) 53 54LOCAL_CFLAGS_arm := $(MY_WEBRTC_COMMON_DEFS_arm) 55LOCAL_CFLAGS_x86 := $(MY_WEBRTC_COMMON_DEFS_x86) 56LOCAL_CFLAGS_mips := $(MY_WEBRTC_COMMON_DEFS_mips) 57LOCAL_CFLAGS_arm64 := $(MY_WEBRTC_COMMON_DEFS_arm64) 58LOCAL_CFLAGS_x86_64 := $(MY_WEBRTC_COMMON_DEFS_x86_64) 59LOCAL_CFLAGS_mips64 := $(MY_WEBRTC_COMMON_DEFS_mips64) 60 61LOCAL_CFLAGS += -Wno-unused-parameter 62 63LOCAL_C_INCLUDES := \ 64 $(LOCAL_PATH)/../include \ 65 $(LOCAL_PATH)/../../../../../../.. \ 66 $(LOCAL_PATH)/../../../../../../common_audio/signal_processing/include 67 68ifdef WEBRTC_STL 69LOCAL_NDK_STL_VARIANT := $(WEBRTC_STL) 70LOCAL_SDK_VERSION := 14 71LOCAL_MODULE := $(LOCAL_MODULE)_$(WEBRTC_STL) 72endif 73 74include $(BUILD_STATIC_LIBRARY) 75