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