1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
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.
9 LOCAL_PATH
:= $(call my-dir
)
13 include $(LOCAL_PATH
)/..
/..
/..
/android-webrtc.mk
16 LOCAL_MODULE_CLASS
:= STATIC_LIBRARIES
17 LOCAL_MODULE
:= libwebrtc_spl
18 LOCAL_MODULE_TAGS
:= optional
20 auto_corr_to_refl_coef.c \
23 copy_set_operations.c \
24 division_operations.c \
25 dot_product_with_scale.c \
28 filter_ma_fast_q12.c \
29 get_hanning_window.c \
30 get_scaling_square.c \
31 ilbc_specific_functions.c \
34 min_max_operations.c \
35 randomization_functions.c \
40 resample_by_2_internal.c \
41 resample_fractional.c \
45 sqrt_of_one_minus_x_squared.c \
46 vector_scaling_operations.c
48 # Flags passed to both C and C++ files.
50 $(MY_WEBRTC_COMMON_DEFS
)
53 $(LOCAL_PATH
)/include \
56 ifeq ($(ARCH_ARM_HAVE_NEON
),true
)
58 cross_correlation_neon.s \
59 downsample_fast_neon.s \
60 min_max_operations_neon.s \
61 vector_scaling_operations_neon.s
70 ifeq ($(ARCH_ARM_HAVE_ARMV7A
),true
)
72 filter_ar_fast_q12_armv7.s
78 ifeq ($(TARGET_ARCH
),arm
)
80 complex_bit_reverse_arm.s \
84 complex_bit_reverse.c \
88 LOCAL_SHARED_LIBRARIES
:= libstlport
90 ifeq ($(TARGET_OS
)-$(TARGET_SIMULATOR
),linux-true
)
91 LOCAL_LDLIBS
+= -ldl
-lpthread
94 ifneq ($(TARGET_SIMULATOR
),true
)
95 LOCAL_SHARED_LIBRARIES
+= libdl
99 include external
/stlport
/libstlport.mk
101 include $(BUILD_STATIC_LIBRARY
)