Android.mk revision 5d8e19eb3b3c4b541df50f8eddd6198b4be992a4
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_MODULE_TAGS := optional 19LOCAL_SRC_FILES := \ 20 arith_routines.c \ 21 arith_routines_hist.c \ 22 arith_routines_logist.c \ 23 bandwidth_estimator.c \ 24 crc.c \ 25 decode.c \ 26 decode_bwe.c \ 27 encode.c \ 28 encode_lpc_swb.c \ 29 entropy_coding.c \ 30 fft.c \ 31 filter_functions.c \ 32 filterbank_tables.c \ 33 intialize.c \ 34 isac.c \ 35 filterbanks.c \ 36 pitch_lag_tables.c \ 37 lattice.c \ 38 lpc_gain_swb_tables.c \ 39 lpc_analysis.c \ 40 lpc_shape_swb12_tables.c \ 41 lpc_shape_swb16_tables.c \ 42 lpc_tables.c \ 43 pitch_estimator.c \ 44 pitch_filter.c \ 45 pitch_gain_tables.c \ 46 spectrum_ar_model_tables.c \ 47 transform.c 48 49# Flags passed to both C and C++ files. 50LOCAL_CFLAGS := \ 51 $(MY_WEBRTC_COMMON_DEFS) 52 53LOCAL_C_INCLUDES := \ 54 $(LOCAL_PATH)/../interface \ 55 $(LOCAL_PATH)/../../../../../.. \ 56 $(LOCAL_PATH)/../../../../../../common_audio/signal_processing/include 57 58LOCAL_SHARED_LIBRARIES := \ 59 libcutils \ 60 libdl 61 62ifndef NDK_ROOT 63ifndef WEBRTC_STL 64LOCAL_SHARED_LIBRARIES += libstlport 65include external/stlport/libstlport.mk 66else 67LOCAL_NDK_STL_VARIANT := $(WEBRTC_STL) 68LOCAL_SDK_VERSION := 14 69LOCAL_MODULE := $(LOCAL_MODULE)_$(WEBRTC_STL) 70endif 71else 72LOCAL_SHARED_LIBRARIES += libstlport 73endif 74 75include $(BUILD_STATIC_LIBRARY) 76