xref: /aosp_15_r20/external/v4l2_codec2/plugin_store/Android.bp (revision 0ec5a0ec62797f775085659156625e7f1bdb369f)
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_available: true,
13
14    defaults: [
15        "libcodec2-impl-defaults",
16    ],
17
18    srcs: [
19        "DmabufHelpers.cpp",
20        "V4L2PluginStore.cpp",
21        "VendorAllocatorLoader.cpp",
22    ],
23    export_include_dirs: [
24        "include",
25    ],
26
27    header_libs: [
28        "libcodec2_internal", // needed for including C2BqBufferPriv.h.
29    ],
30    shared_libs: [
31        "[email protected]",
32        "libchrome",
33        "libcutils",
34        "libhardware",
35        "libhidlbase",
36        "libnativewindow",
37        "liblog",
38        "[email protected]",
39        "libstagefright_bufferqueue_helper",
40        "libstagefright_foundation",
41        "libui",
42    ],
43
44    cflags: [
45      "-Werror",
46      "-Wall",
47      "-Wno-unused-parameter",  // needed for libchrome/base codes
48      "-Wthread-safety",
49    ],
50}
51