1#
2# Copyright (C) 2010 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17LOCAL_PATH := $(call my-dir)
18include $(CLEAR_VARS)
19
20LOCAL_MODULE := librtp_jni
21
22LOCAL_SRC_FILES := \
23	AudioCodec.cpp \
24	AudioGroup.cpp \
25	EchoSuppressor.cpp \
26	RtpStream.cpp \
27	util.cpp \
28	rtp_jni.cpp
29
30LOCAL_SRC_FILES += \
31	AmrCodec.cpp \
32	G711Codec.cpp \
33	GsmCodec.cpp
34
35LOCAL_SHARED_LIBRARIES := \
36	libnativehelper \
37	libcutils \
38	libutils \
39	liblog \
40	libmedia \
41	libstagefright_amrnb_common
42
43LOCAL_STATIC_LIBRARIES := libgsm libstagefright_amrnbdec libstagefright_amrnbenc
44
45LOCAL_C_INCLUDES += \
46	$(JNI_H_INCLUDE) \
47	external/libgsm/inc \
48	frameworks/av/media/libstagefright/codecs/amrnb/common/include \
49	frameworks/av/media/libstagefright/codecs/amrnb/common/ \
50	frameworks/av/media/libstagefright/codecs/amrnb/enc/include \
51	frameworks/av/media/libstagefright/codecs/amrnb/enc/src \
52	frameworks/av/media/libstagefright/codecs/amrnb/dec/include \
53	frameworks/av/media/libstagefright/codecs/amrnb/dec/src \
54	$(call include-path-for, audio-effects)
55
56LOCAL_CFLAGS += -fvisibility=hidden
57
58
59
60include $(BUILD_SHARED_LIBRARY)
61