1cc_library_static { 2 3 srcs: [ 4 "AWakeLock.cpp", 5 "GenericSource.cpp", 6 "HTTPLiveSource.cpp", 7 "NuPlayer.cpp", 8 "NuPlayerCCDecoder.cpp", 9 "NuPlayerDecoder.cpp", 10 "NuPlayerDecoderBase.cpp", 11 "NuPlayerDecoderPassThrough.cpp", 12 "NuPlayerDriver.cpp", 13 "NuPlayerDrm.cpp", 14 "NuPlayerRenderer.cpp", 15 "NuPlayerStreamListener.cpp", 16 "RTSPSource.cpp", 17 "StreamingSource.cpp", 18 ], 19 20 header_libs: [ 21 "media_plugin_headers", 22 ], 23 24 include_dirs: [ 25 "frameworks/av/media/libstagefright", 26 "frameworks/av/media/libstagefright/httplive", 27 "frameworks/av/media/libstagefright/include", 28 "frameworks/av/media/libstagefright/mpeg2ts", 29 "frameworks/av/media/libstagefright/rtsp", 30 "frameworks/av/media/libstagefright/timedtext", 31 ], 32 33 cflags: [ 34 "-Werror", 35 "-Wall", 36 ], 37 38 product_variables: { 39 debuggable: { 40 cflags: [ 41 "-DENABLE_STAGEFRIGHT_EXPERIMENTS", 42 ], 43 } 44 }, 45 46 shared_libs: [ 47 "libbinder", 48 "libui", 49 "libgui", 50 "libmedia", 51 "libmediadrm", 52 "libpowermanager", 53 ], 54 55 name: "libstagefright_nuplayer", 56 57 tags: ["eng"], 58 59 sanitize: { 60 cfi: true, 61 diag: { 62 cfi: true, 63 }, 64 }, 65 66} 67