Chia-chi Yeh | 4c5d28c | 2010-08-06 14:12:05 +0800 | [diff] [blame] | 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 | |
| 17 | LOCAL_PATH := $(call my-dir) |
| 18 | include $(CLEAR_VARS) |
| 19 | |
| 20 | LOCAL_MODULE := librtp_jni |
| 21 | |
| 22 | LOCAL_SRC_FILES := \ |
| 23 | AudioCodec.cpp \ |
| 24 | AudioGroup.cpp \ |
Chia-chi Yeh | a8a1009 | 2010-10-05 01:17:13 +0800 | [diff] [blame] | 25 | EchoSuppressor.cpp \ |
Chia-chi Yeh | 4c5d28c | 2010-08-06 14:12:05 +0800 | [diff] [blame] | 26 | RtpStream.cpp \ |
| 27 | util.cpp \ |
| 28 | rtp_jni.cpp |
| 29 | |
Chia-chi Yeh | a6f950c | 2010-09-29 10:36:52 +0800 | [diff] [blame] | 30 | LOCAL_SRC_FILES += \ |
Chia-chi Yeh | f4ae942 | 2010-09-30 03:04:06 +0800 | [diff] [blame] | 31 | AmrCodec.cpp \ |
Chia-chi Yeh | a6f950c | 2010-09-29 10:36:52 +0800 | [diff] [blame] | 32 | G711Codec.cpp \ |
| 33 | GsmCodec.cpp |
| 34 | |
Chia-chi Yeh | 4c5d28c | 2010-08-06 14:12:05 +0800 | [diff] [blame] | 35 | LOCAL_SHARED_LIBRARIES := \ |
| 36 | libnativehelper \ |
| 37 | libcutils \ |
| 38 | libutils \ |
Chia-chi Yeh | f4ae942 | 2010-09-30 03:04:06 +0800 | [diff] [blame] | 39 | libmedia \ |
Glenn Kasten | ae75f99 | 2012-03-16 11:42:24 -0700 | [diff] [blame] | 40 | libmedia_native \ |
Andreas Huber | 4b3913a | 2011-05-11 14:13:42 -0700 | [diff] [blame] | 41 | libstagefright_amrnb_common |
Chia-chi Yeh | 4c5d28c | 2010-08-06 14:12:05 +0800 | [diff] [blame] | 42 | |
Andreas Huber | 4b3913a | 2011-05-11 14:13:42 -0700 | [diff] [blame] | 43 | LOCAL_STATIC_LIBRARIES := libgsm libstagefright_amrnbdec libstagefright_amrnbenc |
Chia-chi Yeh | 4c5d28c | 2010-08-06 14:12:05 +0800 | [diff] [blame] | 44 | |
| 45 | LOCAL_C_INCLUDES += \ |
Chia-chi Yeh | a6f950c | 2010-09-29 10:36:52 +0800 | [diff] [blame] | 46 | $(JNI_H_INCLUDE) \ |
Chia-chi Yeh | f4ae942 | 2010-09-30 03:04:06 +0800 | [diff] [blame] | 47 | external/libgsm/inc \ |
James Dong | ba4d043 | 2012-03-28 11:03:25 -0700 | [diff] [blame] | 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 \ |
Glenn Kasten | 4e42c5f | 2012-03-13 15:59:35 -0700 | [diff] [blame] | 54 | $(call include-path-for, audio-effects) |
Chia-chi Yeh | 4c5d28c | 2010-08-06 14:12:05 +0800 | [diff] [blame] | 55 | |
| 56 | LOCAL_CFLAGS += -fvisibility=hidden |
| 57 | |
Iliyan Malchev | 3070af0 | 2011-03-14 14:02:13 -0700 | [diff] [blame] | 58 | |
Chia-chi Yeh | 4c5d28c | 2010-08-06 14:12:05 +0800 | [diff] [blame] | 59 | |
| 60 | include $(BUILD_SHARED_LIBRARY) |