1 # Copyright (c) 2011 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
15 LOCAL_MODULE_CLASS := STATIC_LIBRARIES
16 LOCAL_MODULE := libwebrtc_ilbc
17 LOCAL_MODULE_TAGS := optional
25 cb_mem_energy_augmentation.c \
26 cb_mem_energy_calc.c \
29 cb_update_best_index.c \
33 create_augmented_vec.c \
36 decoder_interpolate_lsf.c \
42 enhancer_interface.c \
58 interpolate_samples.c \
61 lsf_interpolate_to_poly_dec.c \
62 lsf_interpolate_to_poly_enc.c \
72 simple_interpolate_lsf.c \
73 simple_lpc_analysis.c \
74 simple_lsf_dequant.c \
89 # Flags passed to both C and C++ files.
91 $(MY_WEBRTC_COMMON_DEFS)
94 $(LOCAL_PATH)/interface \
95 $(LOCAL_PATH)/../../../.. \
96 $(LOCAL_PATH)/../../../../common_audio/signal_processing/include
98 LOCAL_SHARED_LIBRARIES := \
104 include external/stlport/libstlport.mk
106 include $(BUILD_STATIC_LIBRARY)
110 include $(CLEAR_VARS)
112 LOCAL_MODULE_TAGS := tests
113 LOCAL_CPP_EXTENSION := .cc
114 LOCAL_SRC_FILES:= test/iLBC_test.c
116 # Flags passed to both C and C++ files.
117 LOCAL_CFLAGS := $(MY_WEBRTC_COMMON_DEFS)
119 LOCAL_C_INCLUDES := \
120 $(LOCAL_PATH)/interface \
121 $(LOCAL_PATH)/../../../..
123 LOCAL_STATIC_LIBRARIES := \
127 LOCAL_SHARED_LIBRARIES := \
130 LOCAL_MODULE:= webrtc_ilbc_test
133 include $(BUILD_EXECUTABLE)
135 include $(BUILD_NATIVE_TEST)
138 # iLBC_testLib test app
139 include $(CLEAR_VARS)
141 LOCAL_MODULE_TAGS := tests
142 LOCAL_CPP_EXTENSION := .cc
143 LOCAL_SRC_FILES:= test/iLBC_testLib.c
145 # Flags passed to both C and C++ files.
146 LOCAL_CFLAGS := $(MY_WEBRTC_COMMON_DEFS)
148 LOCAL_C_INCLUDES := \
149 $(LOCAL_PATH)/interface \
150 $(LOCAL_PATH)/../../../..
152 LOCAL_STATIC_LIBRARIES := \
156 LOCAL_SHARED_LIBRARIES := \
159 LOCAL_MODULE:= webrtc_ilbc_testLib
162 include $(BUILD_EXECUTABLE)
164 include $(BUILD_NATIVE_TEST)