1// Copyright 2010 Google Inc. All rights reserved. 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15cc_library_shared { 16 name: "librtp_jni", 17 srcs: [ 18 "AudioCodec.cpp", 19 "AudioGroup.cpp", 20 "EchoSuppressor.cpp", 21 "RtpStream.cpp", 22 "util.cpp", 23 "rtp_jni.cpp", 24 25 "AmrCodec.cpp", 26 "G711Codec.cpp", 27 "GsmCodec.cpp", 28 ], 29 header_libs: [ 30 "libmedia_headers", 31 "libmediametrics_headers", 32 ], 33 34 shared_libs: [ 35 "libaudioclient", 36 "libaudiofoundation", 37 "libcutils", 38 "liblog", 39 "libnativehelper", 40 "libstagefright_amrnb_common", 41 "libutils", 42 ], 43 static_libs: [ 44 "libgsm", 45 "libstagefright_amrnbdec", 46 "libstagefright_amrnbenc", 47 ], 48 include_dirs: [ 49 "frameworks/av/media/libstagefright/codecs/amrnb/enc/src", 50 "frameworks/av/media/libstagefright/codecs/amrnb/dec/src", 51 ], 52 cflags: [ 53 "-fvisibility=hidden", 54 "-Wall", 55 "-Wextra", 56 //getInput() is deprecated but we want to continue to track the usage of it elsewhere 57 "-Wno-deprecated-declarations", 58 "-Werror", 59 ], 60} 61