blob: 82d7912b7be2ecdba470c4ada11569c11bc393ad [file] [log] [blame]
Chia-chi Yeh4c5d28c2010-08-06 14:12:05 +08001#
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 \
Chia-chi Yeha8a10092010-10-05 01:17:13 +080025 EchoSuppressor.cpp \
Chia-chi Yeh4c5d28c2010-08-06 14:12:05 +080026 RtpStream.cpp \
27 util.cpp \
28 rtp_jni.cpp
29
Chia-chi Yeha6f950c2010-09-29 10:36:52 +080030LOCAL_SRC_FILES += \
Chia-chi Yehf4ae9422010-09-30 03:04:06 +080031 AmrCodec.cpp \
Chia-chi Yeha6f950c2010-09-29 10:36:52 +080032 G711Codec.cpp \
33 GsmCodec.cpp
34
Chia-chi Yeh4c5d28c2010-08-06 14:12:05 +080035LOCAL_SHARED_LIBRARIES := \
36 libnativehelper \
37 libcutils \
38 libutils \
Chia-chi Yehf4ae9422010-09-30 03:04:06 +080039 libmedia \
Glenn Kastenae75f992012-03-16 11:42:24 -070040 libmedia_native \
Andreas Huber4b3913a2011-05-11 14:13:42 -070041 libstagefright_amrnb_common
Chia-chi Yeh4c5d28c2010-08-06 14:12:05 +080042
Andreas Huber4b3913a2011-05-11 14:13:42 -070043LOCAL_STATIC_LIBRARIES := libgsm libstagefright_amrnbdec libstagefright_amrnbenc
Chia-chi Yeh4c5d28c2010-08-06 14:12:05 +080044
45LOCAL_C_INCLUDES += \
Chia-chi Yeha6f950c2010-09-29 10:36:52 +080046 $(JNI_H_INCLUDE) \
Chia-chi Yehf4ae9422010-09-30 03:04:06 +080047 external/libgsm/inc \
James Dongba4d0432012-03-28 11:03:25 -070048 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 \
Glenn Kasten4e42c5f2012-03-13 15:59:35 -070054 $(call include-path-for, audio-effects)
Chia-chi Yeh4c5d28c2010-08-06 14:12:05 +080055
56LOCAL_CFLAGS += -fvisibility=hidden
57
Iliyan Malchev3070af02011-03-14 14:02:13 -070058
Chia-chi Yeh4c5d28c2010-08-06 14:12:05 +080059
60include $(BUILD_SHARED_LIBRARY)