Home | History | Annotate | Download | only in nuplayer2
      1 cc_library_static {
      2 
      3     srcs: [
      4         "JMediaPlayer2Utils.cpp",
      5         "JWakeLock.cpp",
      6         "GenericSource2.cpp",
      7         "HTTPLiveSource2.cpp",
      8         "NuPlayer2.cpp",
      9         "NuPlayer2CCDecoder.cpp",
     10         "NuPlayer2Decoder.cpp",
     11         "NuPlayer2DecoderBase.cpp",
     12         "NuPlayer2DecoderPassThrough.cpp",
     13         "NuPlayer2Driver.cpp",
     14         "NuPlayer2Drm.cpp",
     15         "NuPlayer2Renderer.cpp",
     16         "RTSPSource2.cpp",
     17     ],
     18 
     19     header_libs: [
     20         "libbase_headers",
     21         "libmediaplayer2_headers",
     22         "media_plugin_headers",
     23     ],
     24 
     25     include_dirs: [
     26         "frameworks/av/media/libstagefright",
     27         "frameworks/av/media/libstagefright/httplive",
     28         "frameworks/av/media/libstagefright/include",
     29         "frameworks/av/media/libstagefright/mpeg2ts",
     30         "frameworks/av/media/libstagefright/rtsp",
     31         "frameworks/av/media/libstagefright/timedtext",
     32         "frameworks/av/media/ndk",
     33         "frameworks/base/core/jni",
     34     ],
     35 
     36     cflags: [
     37         "-Werror",
     38         "-Wall",
     39     ],
     40 
     41     product_variables: {
     42         debuggable: {
     43             cflags: [
     44                 "-DENABLE_STAGEFRIGHT_EXPERIMENTS",
     45             ],
     46         }
     47     },
     48 
     49     shared_libs: [
     50         "libbinder",
     51         "libui",
     52         "libgui",
     53         "libmedia",
     54         "libmediametrics",
     55         "libmediandk",
     56         "libmediandk_utils",
     57         "libpowermanager",
     58     ],
     59 
     60     static_libs: [
     61         "libmedia_helper",
     62         "libmediaplayer2-protos",
     63         "libmedia2_jni_core",
     64     ],
     65 
     66     name: "libstagefright_nuplayer2",
     67 
     68     sanitize: {
     69         cfi: true,
     70     },
     71 
     72 }
     73