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_shared { 11 name: "libc2plugin_store", 12 vendor: true, 13 14 defaults: [ 15 "libcodec2-impl-defaults", 16 ], 17 18 srcs: [ 19 "C2VdaBqBlockPool.cpp", 20 "C2VdaPooledBlockPool.cpp", 21 "DmabufHelpers.cpp", 22 "H2BGraphicBufferProducer.cpp", 23 "V4L2PluginStore.cpp", 24 "VendorAllocatorLoader.cpp", 25 ], 26 export_include_dirs: [ 27 "include", 28 ], 29 30 header_libs: [ 31 "libcodec2_internal", // needed for including C2BqBufferPriv.h. 32 ], 33 shared_libs: [ 34 "android.hardware.graphics.bufferqueue@2.0", 35 "libchrome", 36 "libcutils", 37 "libhardware", 38 "libhidlbase", 39 "libnativewindow", 40 "liblog", 41 "libstagefright_bufferpool@1.0", 42 "libstagefright_bufferqueue_helper", 43 "libstagefright_foundation", 44 "libui", 45 ], 46 47 cflags: [ 48 "-Werror", 49 "-Wall", 50 "-Wno-unused-parameter", // needed for libchrome/base codes 51 "-Wthread-safety", 52 ], 53} 54