1cc_library { 2 name: "libv4l2_codec2_components", 3 vendor: true, 4 5 defaults: [ 6 "libcodec2-impl-defaults", 7 ], 8 9 srcs: [ 10 "VideoFrame.cpp", 11 "VideoFramePool.cpp", 12 "V4L2Decoder.cpp", 13 "V4L2ComponentFactory.cpp", 14 "V4L2DecodeComponent.cpp", 15 "V4L2DecodeInterface.cpp", 16 "V4L2EncodeComponent.cpp", 17 "V4L2EncodeInterface.cpp", 18 "VideoDecoder.cpp", 19 ], 20 export_include_dirs: [ 21 "include", 22 ], 23 24 shared_libs: [ 25 "android.hardware.graphics.common@1.0", 26 "libc2plugin_store", 27 "libchrome", 28 "libcodec2_soft_common", 29 "libcutils", 30 "liblog", 31 "libsfplugin_ccodec_utils", 32 "libstagefright_bufferqueue_helper", 33 "libstagefright_foundation", 34 "libv4l2_codec2_store", 35 "libui", 36 ], 37 static_libs: [ 38 "libv4l2_codec2_accel", 39 "libv4l2_codec2_common", 40 ], 41 42 cflags: [ 43 "-Werror", 44 "-Wall", 45 "-Wno-unused-parameter", // needed for libchrome/base codes 46 "-Wthread-safety", 47 ], 48} 49