cc_library_static { srcs: [ "JWakeLock.cpp", "GenericSource2.cpp", "HTTPLiveSource2.cpp", "NuPlayer2.cpp", "NuPlayer2CCDecoder.cpp", "NuPlayer2Decoder.cpp", "NuPlayer2DecoderBase.cpp", "NuPlayer2DecoderPassThrough.cpp", "NuPlayer2Driver.cpp", "NuPlayer2Drm.cpp", "NuPlayer2Renderer.cpp", "RTSPSource2.cpp", ], header_libs: [ "libmediaplayer2_headers", "media_plugin_headers", ], include_dirs: [ "frameworks/av/media/libstagefright", "frameworks/av/media/libstagefright/httplive", "frameworks/av/media/libstagefright/include", "frameworks/av/media/libstagefright/mpeg2ts", "frameworks/av/media/libstagefright/rtsp", "frameworks/av/media/libstagefright/timedtext", ], cflags: [ "-Werror", "-Wall", ], product_variables: { debuggable: { cflags: [ "-DENABLE_STAGEFRIGHT_EXPERIMENTS", ], } }, shared_libs: [ "libbinder", "libui", "libgui", "libmedia", "libmediadrm", "libmediandk", "libpowermanager", ], static_libs: [ "libmedia_helper", ], name: "libstagefright_nuplayer2", tags: ["eng"], sanitize: { cfi: true, diag: { cfi: true, }, }, }