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 "ComponentStore.cpp", 22 "DecodeComponent.cpp", 23 "DecodeInterface.cpp", 24 "EncodeComponent.cpp", 25 "EncodeInterface.cpp", 26 "VideoDecoder.cpp", 27 "VideoEncoder.cpp", 28 ], 29 export_include_dirs: [ 30 "include", 31 ], 32 33 header_libs: [ 34 "libcodec2_internal", 35 ], 36 shared_libs: [ 37 "[email protected]", 38 "libc2plugin_store", 39 "libchrome", 40 "libcodec2_soft_common", 41 "libcutils", 42 "liblog", 43 "libsfplugin_ccodec_utils", 44 "libstagefright_bufferqueue_helper", 45 "libstagefright_foundation", 46 "libui", 47 "libv4l2_codec2_common", 48 ], 49 50 cflags: [ 51 "-Werror", 52 "-Wall", 53 "-Wno-unused-parameter", // needed for libchrome/base codes 54 "-Wthread-safety", 55 ], 56} 57