Home | History | Annotate | Download | only in rtp
      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 
     15 cc_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     shared_libs: [
     30         "libnativehelper",
     31         "libcutils",
     32         "libutils",
     33         "liblog",
     34         "libaudioclient",
     35         "libstagefright_amrnb_common",
     36     ],
     37     static_libs: [
     38         "libgsm",
     39         "libstagefright_amrnbdec",
     40         "libstagefright_amrnbenc",
     41     ],
     42     include_dirs: [
     43         "frameworks/av/media/libstagefright/codecs/amrnb/enc/src",
     44         "frameworks/av/media/libstagefright/codecs/amrnb/dec/src",
     45     ],
     46     cflags: [
     47         "-fvisibility=hidden",
     48         "-Wall",
     49         "-Wextra",
     50         //getInput() is deprecated but we want to continue to track the usage of it elsewhere
     51         "-Wno-deprecated-declarations",
     52         "-Werror",
     53     ],
     54 }
     55