cc_library_shared {
    name: "libstagefright_ccodec_utils",
    vendor_available: true,

    srcs: [
        "Codec2BufferUtils.cpp",
    ],

    cflags: [
        "-Werror",
        "-Wall",
    ],

    export_include_dirs: [
        ".",
    ],

    shared_libs: [
        "libbase",
        "libcutils",
        "liblog",
        "libstagefright_codec2",
        "libstagefright_codec2_vndk",
        "libstagefright_foundation",
        "libutils",
    ],

    sanitize: {
        cfi: true,
        misc_undefined: [
            "unsigned-integer-overflow",
            "signed-integer-overflow",
        ],
        diag: {
            cfi: true,
        },
    },
}