1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "external_v4l2_codec2_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-BSD 7 default_applicable_licenses: ["external_v4l2_codec2_license"], 8} 9 10cc_library { 11 name: "libv4l2_codec2_components", 12 vendor: true, 13 14 defaults: [ 15 "libcodec2-hidl-defaults", 16 ], 17 18 srcs: [ 19 "VideoFrame.cpp", 20 "VideoFramePool.cpp", 21 "V4L2ComponentFactory.cpp", 22 "V4L2ComponentStore.cpp", 23 "V4L2Decoder.cpp", 24 "V4L2DecodeComponent.cpp", 25 "V4L2DecodeInterface.cpp", 26 "V4L2Encoder.cpp", 27 "V4L2EncodeComponent.cpp", 28 "V4L2EncodeInterface.cpp", 29 "VideoDecoder.cpp", 30 "VideoEncoder.cpp", 31 ], 32 export_include_dirs: [ 33 "include", 34 ], 35 36 header_libs: [ 37 "libcodec2_internal", 38 ], 39 shared_libs: [ 40 "android.hardware.graphics.common@1.0", 41 "libc2plugin_store", 42 "libchrome", 43 "libcodec2_soft_common", 44 "libcutils", 45 "liblog", 46 "libsfplugin_ccodec_utils", 47 "libstagefright_bufferqueue_helper", 48 "libstagefright_foundation", 49 "libui", 50 ], 51 static_libs: [ 52 "libv4l2_codec2_common", 53 ], 54 55 cflags: [ 56 "-Werror", 57 "-Wall", 58 "-Wno-unused-parameter", // needed for libchrome/base codes 59 "-Wthread-safety", 60 ], 61} 62