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