blob: 621cbfcd9fe27722d394923fae0a6b4f3a9a8ba0 [file] [log] [blame]
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_shared {
name: "libc2plugin_store",
vendor: true,
defaults: [
"libcodec2-impl-defaults",
],
srcs: [
"C2VdaBqBlockPool.cpp",
"C2VdaPooledBlockPool.cpp",
"DmabufHelpers.cpp",
"H2BGraphicBufferProducer.cpp",
"V4L2PluginStore.cpp",
"VendorAllocatorLoader.cpp",
],
export_include_dirs: [
"include",
],
header_libs: [
"libcodec2_internal", // needed for including C2BqBufferPriv.h.
],
shared_libs: [
"android.hardware.graphics.bufferqueue@2.0",
"libchrome",
"libcutils",
"libhardware",
"libhidlbase",
"libnativewindow",
"liblog",
"libstagefright_bufferpool@1.0",
"libstagefright_bufferqueue_helper",
"libstagefright_foundation",
"libui",
],
cflags: [
"-Werror",
"-Wall",
"-Wno-unused-parameter", // needed for libchrome/base codes
"-Wthread-safety",
],
}