| package { |
| // See: http://go/android-license-faq |
| // A large-scale-change added 'default_applicable_licenses' to import |
| // all of the 'license_kinds' from "external_v4l2_codec2_license" |
| // to get the below license kinds: |
| // SPDX-license-identifier-BSD |
| default_applicable_licenses: ["external_v4l2_codec2_license"], |
| } |
| |
| cc_library { |
| name: "libv4l2_codec2_components", |
| vendor: true, |
| |
| defaults: [ |
| "libcodec2-hidl-defaults", |
| ], |
| |
| srcs: [ |
| "VideoFrame.cpp", |
| "VideoFramePool.cpp", |
| "V4L2ComponentFactory.cpp", |
| "V4L2ComponentStore.cpp", |
| "V4L2Decoder.cpp", |
| "V4L2DecodeComponent.cpp", |
| "V4L2DecodeInterface.cpp", |
| "V4L2Encoder.cpp", |
| "V4L2EncodeComponent.cpp", |
| "V4L2EncodeInterface.cpp", |
| "VideoDecoder.cpp", |
| "VideoEncoder.cpp", |
| ], |
| export_include_dirs: [ |
| "include", |
| ], |
| |
| header_libs: [ |
| "libcodec2_internal", |
| ], |
| shared_libs: [ |
| "[email protected]", |
| "libc2plugin_store", |
| "libchrome", |
| "libcodec2_soft_common", |
| "libcutils", |
| "liblog", |
| "libsfplugin_ccodec_utils", |
| "libstagefright_bufferqueue_helper", |
| "libstagefright_foundation", |
| "libui", |
| "libv4l2_codec2_common", |
| ], |
| |
| cflags: [ |
| "-Werror", |
| "-Wall", |
| "-Wno-unused-parameter", // needed for libchrome/base codes |
| "-Wthread-safety", |
| ], |
| } |