1e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric Laurent# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. 2e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric Laurent# 3e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric Laurent# Use of this source code is governed by a BSD-style license 4e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric Laurent# that can be found in the LICENSE file in the root of the source 5e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric Laurent# tree. An additional intellectual property rights grant can be found 6e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric Laurent# in the file PATENTS. All contributing project authors may 7e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric Laurent# be found in the AUTHORS file in the root of the source tree. 8e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric Laurent 9e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric LaurentLOCAL_PATH := $(call my-dir) 10e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric Laurent 11e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric Laurentinclude $(CLEAR_VARS) 12e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric Laurent 13c55a96383497a772a307b346368133960b02ad03Eric Laurentinclude $(LOCAL_PATH)/../../../../android-webrtc.mk 14c55a96383497a772a307b346368133960b02ad03Eric Laurent 15e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric LaurentLOCAL_ARM_MODE := arm 16e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric LaurentLOCAL_MODULE_CLASS := STATIC_LIBRARIES 17e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric LaurentLOCAL_MODULE := libwebrtc_apm_utility 18e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric LaurentLOCAL_MODULE_TAGS := optional 19c55a96383497a772a307b346368133960b02ad03Eric LaurentLOCAL_SRC_FILES := \ 20c55a96383497a772a307b346368133960b02ad03Eric Laurent fft4g.c \ 21c55a96383497a772a307b346368133960b02ad03Eric Laurent ring_buffer.c \ 22c55a96383497a772a307b346368133960b02ad03Eric Laurent delay_estimator.c \ 23c55a96383497a772a307b346368133960b02ad03Eric Laurent delay_estimator_wrapper.c 24e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric Laurent 25e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric Laurent# Flags passed to both C and C++ files. 26c55a96383497a772a307b346368133960b02ad03Eric LaurentLOCAL_CFLAGS := \ 27c55a96383497a772a307b346368133960b02ad03Eric Laurent $(MY_WEBRTC_COMMON_DEFS) 28e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric Laurent 29e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric Laurent# Include paths placed before CFLAGS/CPPFLAGS 30e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric LaurentLOCAL_C_INCLUDES := \ 31c55a96383497a772a307b346368133960b02ad03Eric Laurent $(LOCAL_PATH) \ 32c55a96383497a772a307b346368133960b02ad03Eric Laurent $(LOCAL_PATH)/../../.. \ 33c55a96383497a772a307b346368133960b02ad03Eric Laurent $(LOCAL_PATH)/../../../common_audio/signal_processing/include 34e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric Laurent 35c55a96383497a772a307b346368133960b02ad03Eric LaurentLOCAL_SHARED_LIBRARIES := \ 36c55a96383497a772a307b346368133960b02ad03Eric Laurent libcutils \ 37e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric Laurent libdl \ 38e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric Laurent libstlport 39e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric Laurent 40c55a96383497a772a307b346368133960b02ad03Eric Laurentifndef NDK_ROOT 41e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric Laurentinclude external/stlport/libstlport.mk 42c55a96383497a772a307b346368133960b02ad03Eric Laurentendif 43e48d5845c8b35de2ab73ea055c18a61fa3a9f0beEric Laurentinclude $(BUILD_STATIC_LIBRARY) 44