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 "frameworks_av_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["frameworks_av_license"],
8}
9
10cc_library {
11    name: "libsfplugin_ccodec_utils",
12    vendor_available: true,
13    min_sdk_version: "29",
14    double_loadable: true,
15
16    srcs: [
17        "Codec2BufferUtils.cpp",
18        "Codec2Mapper.cpp",
19    ],
20
21    cflags: [
22        "-Werror",
23        "-Wall",
24    ],
25
26    export_include_dirs: [
27        ".",
28    ],
29
30    shared_libs: [
31        "libbase",
32        "libcodec2",
33        "libcodec2_vndk",
34        "libcutils",
35        "liblog",
36        "libnativewindow",
37        "libstagefright_foundation",
38        "libutils",
39    ],
40
41    static_libs: [
42        "libarect",
43        "libyuv_static",
44    ],
45
46    sanitize: {
47        cfi: true,
48        misc_undefined: [
49            "unsigned-integer-overflow",
50            "signed-integer-overflow",
51        ],
52    },
53}
54