1cc_library_shared { 2 name: "libsfplugin_ccodec", 3 4 srcs: [ 5 "C2OMXNode.cpp", 6 "CCodec.cpp", 7 "CCodecBufferChannel.cpp", 8 "CCodecBuffers.cpp", 9 "CCodecConfig.cpp", 10 "Codec2Buffer.cpp", 11 "Codec2InfoBuilder.cpp", 12 "Omx2IGraphicBufferSource.cpp", 13 "PipelineWatcher.cpp", 14 "ReflectedParamUpdater.cpp", 15 "SkipCutBuffer.cpp", 16 ], 17 18 cflags: [ 19 "-Werror", 20 "-Wall", 21 ], 22 23 header_libs: [ 24 "libcodec2_internal", 25 "libmediadrm_headers", 26 "media_ndk_headers", 27 ], 28 29 shared_libs: [ 30 "android.hardware.cas.native@1.0", 31 "android.hardware.graphics.bufferqueue@1.0", 32 "android.hardware.media.c2@1.0", 33 "android.hardware.media.omx@1.0", 34 "libbase", 35 "libbinder", 36 "libcodec2", 37 "libcodec2_client", 38 "libcodec2_vndk", 39 "libcutils", 40 "libgui", 41 "libhidlallocatorutils", 42 "libhidlbase", 43 "liblog", 44 "libmedia_codeclist", 45 "libmedia_omx", 46 "libsfplugin_ccodec_utils", 47 "libstagefright_bufferqueue_helper", 48 "libstagefright_codecbase", 49 "libstagefright_foundation", 50 "libstagefright_omx", 51 "libstagefright_omx_utils", 52 "libstagefright_xmlparser", 53 "libui", 54 "libutils", 55 ], 56 57 sanitize: { 58 cfi: true, 59 misc_undefined: [ 60 "unsigned-integer-overflow", 61 "signed-integer-overflow", 62 ], 63 }, 64} 65