//
// Automatically generated file. DO NOT MODIFY
//

soong_namespace {
    imports: [
        "device/xiaomi/emerald",
        "hardware/mediatek",
        "hardware/mediatek/libmtkperf_client",
        "hardware/xiaomi",
    ],
}

cc_prebuilt_library_shared {
    name: "AVCSecureVdecCA",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/AVCSecureVdecCA.so",
            ],
            shared_libs: [
                "liblog",
                "libion",
                "libion_mtk",
                "libcutils",
                "libgz_uree",
                "libgz_gp_client",
                "libdmabufheap",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/AVCSecureVdecCA.so",
            ],
            shared_libs: [
                "liblog",
                "libion",
                "libion_mtk",
                "libcutils",
                "libgz_uree",
                "libgz_gp_client",
                "libdmabufheap",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "both",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "HEVCSecureVdecCA",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/HEVCSecureVdecCA.so",
            ],
            shared_libs: [
                "liblog",
                "libion",
                "libion_mtk",
                "libcutils",
                "libgz_uree",
                "libgz_gp_client",
                "libdmabufheap",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/HEVCSecureVdecCA.so",
            ],
            shared_libs: [
                "liblog",
                "libion",
                "libion_mtk",
                "libcutils",
                "libgz_uree",
                "libgz_gp_client",
                "libdmabufheap",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "both",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "VP9SecureVdecCA",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/VP9SecureVdecCA.so",
            ],
            shared_libs: [
                "liblog",
                "libion",
                "libion_mtk",
                "libcutils",
                "libgz_uree",
                "libgz_gp_client",
                "libdmabufheap",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/VP9SecureVdecCA.so",
            ],
            shared_libs: [
                "liblog",
                "libion",
                "libion_mtk",
                "libcutils",
                "libgz_uree",
                "libgz_gp_client",
                "libdmabufheap",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "both",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libAVCSecureVencCA",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libAVCSecureVencCA.so",
            ],
            shared_libs: [
                "liblog",
                "libion",
                "libion_mtk",
                "libcutils",
                "libutils",
                "libgz_uree",
                "libgz_gp_client",
                "libdmabufheap",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libAVCSecureVencCA.so",
            ],
            shared_libs: [
                "liblog",
                "libion",
                "libion_mtk",
                "libcutils",
                "libutils",
                "libgz_uree",
                "libgz_gp_client",
                "libdmabufheap",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "both",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaedv",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libaedv.so",
            ],
            shared_libs: [
                "libcutils",
                "libbase",
                "libunwindstack",
                "libselinux",
                "liblog",
                "libz",
                "libc",
                "libdl",
                "libm",
                "libc++",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libaedv.so",
            ],
            shared_libs: [
                "libcutils",
                "libbase",
                "libunwindstack",
                "libselinux",
                "liblog",
                "libz",
                "libc",
                "libdl",
                "libm",
                "libc++",
            ],
        },
    },
    compile_multilib: "both",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libbwc",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libbwc.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libbwc.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "both",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libgz_gp_client",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libgz_gp_client.so",
            ],
            shared_libs: [
                "liblog",
                "libgz_uree",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libgz_gp_client.so",
            ],
            shared_libs: [
                "liblog",
                "libgz_uree",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "both",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libgz_uree",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libgz_uree.so",
            ],
            shared_libs: [
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libgz_uree.so",
            ],
            shared_libs: [
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "both",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libion_mtk",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libion_mtk.so",
            ],
            shared_libs: [
                "libion",
                "liblog",
                "libion_ulit",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libion_mtk.so",
            ],
            shared_libs: [
                "libion",
                "liblog",
                "libion_ulit",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "both",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libion_ulit",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libion_ulit.so",
            ],
            shared_libs: [
                "libutils",
                "liblog",
                "libladder",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libion_ulit.so",
            ],
            shared_libs: [
                "libutils",
                "liblog",
                "libladder",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "both",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libladder",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libladder.so",
            ],
            shared_libs: [
                "libunwindstack",
                "liblog",
                "libbase",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libladder.so",
            ],
            shared_libs: [
                "libunwindstack",
                "liblog",
                "libbase",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "both",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcutils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libmtkcutils.so",
            ],
            shared_libs: [
                "libmtkrillog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmtkcutils.so",
            ],
            shared_libs: [
                "libmtkrillog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "both",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkproperty",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libmtkproperty.so",
            ],
            shared_libs: [
                "libmtkrillog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmtkproperty.so",
            ],
            shared_libs: [
                "libmtkrillog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "both",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkrillog",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libmtkrillog.so",
            ],
            shared_libs: [
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmtkrillog.so",
            ],
            shared_libs: [
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "both",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libthha",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libthha.so",
            ],
            shared_libs: [
                "libc++",
                "libdl",
                "libc",
                "libm",
                "liblog",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libthha.so",
            ],
            shared_libs: [
                "libc++",
                "libdl",
                "libc",
                "libm",
                "liblog",
            ],
        },
    },
    compile_multilib: "both",
    check_elf_files: false,
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libvcodec_oal",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libvcodec_oal.so",
            ],
            shared_libs: [
                "liblog",
                "libmtk_drvb",
                "libmtkperf_client_vendor",
                "libc++",
                "libdl",
                "libc",
                "libm",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libvcodec_oal.so",
            ],
            shared_libs: [
                "liblog",
                "libc++",
                "libdl",
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "both",
    check_elf_files: false,
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libvcodecdrv_header_stub",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libvcodecdrv_header_stub.so",
            ],
            shared_libs: [
                "libion",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libvcodecdrv_header_stub.so",
            ],
            shared_libs: [
                "libion",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "both",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libverno",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libverno.so",
            ],
            shared_libs: [
                "libc",
                "libdl",
                "libm",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libverno.so",
            ],
            shared_libs: [
                "libc",
                "libdl",
                "libm",
            ],
        },
    },
    compile_multilib: "both",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtk_drvb",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/mt6789/libmtk_drvb.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtk_drvb.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "both",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libHEVCdec_sa.ca7.android",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libHEVCdec_sa.ca7.android.so",
            ],
            shared_libs: [
                "libvcodec_oal",
                "libpowerhalwrap_vendor",
                "libthha",
                "liblog",
                "libutils",
                "libcutils",
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "32",
    check_elf_files: false,
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libh264dec_customize",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libh264dec_customize.so",
            ],
            shared_libs: [
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "32",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libh264dec_sa.ca7",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libh264dec_sa.ca7.so",
            ],
            shared_libs: [
                "libcutils",
                "libvcodec_utility",
                "libvcodec_oal",
                "libh264dec_customize",
                "liblog",
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "32",
    check_elf_files: false,
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libh264dec_sd.ca7",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libh264dec_sd.ca7.so",
            ],
            shared_libs: [
                "libcutils",
                "libvcodec_utility",
                "libvcodec_oal",
                "libh264dec_customize",
                "liblog",
                "libpowerhalwrap_vendor",
                "libthha",
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "32",
    check_elf_files: false,
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libh264dec_se.ca7",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libh264dec_se.ca7.so",
            ],
            shared_libs: [
                "libcutils",
                "libvcodec_utility",
                "libvcodec_oal",
                "libh264dec_customize",
                "liblog",
                "libpowerhalwrap_vendor",
                "libthha",
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "32",
    check_elf_files: false,
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libh264enc_sa.ca7",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libh264enc_sa.ca7.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libvcodec_oal",
                "libvcodec_utility",
                "libc++",
                "libdl",
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "32",
    check_elf_files: false,
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libhevce_sb.ca7.android",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libhevce_sb.ca7.android.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libvcodec_oal",
                "libvcodec_utility",
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "32",
    check_elf_files: false,
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libipsec_ims_shr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libipsec_ims_shr.so",
            ],
            shared_libs: [
                "libcutils",
                "libcrypto",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmp4enc_sa.ca7",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libmp4enc_sa.ca7.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libvcodec_oal",
                "libc++",
                "libdl",
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "32",
    check_elf_files: false,
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmp4enc_xa.ca7",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libmp4enc_xa.ca7.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libvcodec_utility",
                "libvcodec_oal",
                "libc++",
                "libdl",
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "32",
    check_elf_files: false,
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libvcodec_utility_plat.mt6789",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libvcodec_utility_plat.mt6789.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libvcodec_utility",
                "libmtk_drvb",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libvolte_core_shr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libvolte_core_shr.so",
            ],
            shared_libs: [
                "libvolte_xdmc_shr",
                "libverno",
                "libcutils",
                "liblog",
                "libc",
                "libdl",
                "libm",
            ],
        },
    },
    compile_multilib: "32",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libvolte_xdmc_shr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libvolte_xdmc_shr.so",
            ],
            shared_libs: [
                "libverno",
                "libcutils",
                "liblog",
                "libc",
                "libdl",
                "libm",
            ],
        },
    },
    compile_multilib: "32",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libvp8dec_sa.ca7",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libvp8dec_sa.ca7.so",
            ],
            shared_libs: [
                "liblog",
                "libvcodec_oal",
                "libc++",
                "libdl",
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "32",
    check_elf_files: false,
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libvp8enc_sa.ca7",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libvp8enc_sa.ca7.so",
            ],
            shared_libs: [
                "liblog",
                "libvcodec_oal",
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "32",
    check_elf_files: false,
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libvp9dec_sa.ca7",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libvp9dec_sa.ca7.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libvcodec_oal",
                "libpowerhalwrap_vendor",
                "libthha",
                "libc++",
                "libdl",
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "32",
    check_elf_files: false,
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libvcodec_utility",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/mt6789/libvcodec_utility.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libmtk_drvb",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libvcodec_utility_v3a",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/mt6789/libvcodec_utility_v3a.so",
            ],
            shared_libs: [
                "libcutils",
                "libbwc",
                "liblog",
                "libion",
                "libion_mtk",
                "libmtk_drvb",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libvcodecdrv",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/mt6789/libvcodecdrv.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libvcodec_utility",
                "libvcodec_utility_plat.mt6789",
                "libvcodec_oal",
                "libmtk_drvb",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libvcodecdrv_v3a",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/mt6789/libvcodecdrv_v3a.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libvcodec_utility_v3a",
                "libvcodec_oal",
                "libmtk_drvb",
                "libion",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libvpudv3a_vcodec",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/mt6789/libvpudv3a_vcodec.so",
            ],
            shared_libs: [
                "libcutils",
                "libvcodecdrv_v3a",
                "libvcodec_utility_v3a",
                "liblog",
                "libion",
                "libion_mtk",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "APUWareApusysServer",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/APUWareApusysServer.so",
            ],
            shared_libs: [
                "libion",
                "libapu_mdw",
                "liblog",
                "libhidlbase",
                "libutils",
                "libcutils",
                "libhidlmemory",
                "libfmq",
                "vendor.mediatek.hardware.apuware.apusys@2.0",
                "vendor.mediatek.hardware.apuware.apusys@2.1",
                "android.hidl.allocator@1.0",
                "android.hidl.memory@1.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "APUWareHmpServer",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/APUWareHmpServer.so",
            ],
            shared_libs: [
                "liblog",
                "libhidlbase",
                "libutils",
                "libcutils",
                "libhidlmemory",
                "vendor.mediatek.hardware.apuware.hmp@1.0",
                "android.hidl.allocator@1.0",
                "android.hidl.memory@1.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "APUWareUtilsServer",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/APUWareUtilsServer.so",
            ],
            shared_libs: [
                "libion_mtk",
                "libion",
                "liblog",
                "libhidlbase",
                "libutils",
                "libcutils",
                "libdmabufheap",
                "libgralloc_extra",
                "libnativewindow",
                "vendor.mediatek.hardware.apuware.utils@2.0",
                "libhidlmemory",
                "android.hidl.memory@1.0",
                "android.hidl.allocator@1.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "android.hardware.security.keymint-V3-ndk-v34",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/android.hardware.security.keymint-V3-ndk-v34.so",
            ],
            shared_libs: [
                "libbinder_ndk",
                "android.hardware.security.secureclock-V1-ndk",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "awinic.audio.effect",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/awinic.audio.effect.so",
            ],
            shared_libs: [
                "liblog",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "com.xiaomi.plugin.capbokeh",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/com.xiaomi.plugin.capbokeh.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libc++_shared",
                "libcom.xiaomi.pluginutils",
                "libwa_dof",
                "libanc_dc_base",
                "libEGL",
                "libGLESv2",
                "libGLESv3",
                "libnativewindow",
                "libsync",
                "libOpenCL",
                "libTrueSight",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "com.xiaomi.plugin.ldc",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/com.xiaomi.plugin.ldc.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libnativewindow",
                "libhardware",
                "libcom.xiaomi.pluginutils",
                "libmorpho_Ldc",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "com.xiaomi.plugin.memcpy",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/com.xiaomi.plugin.memcpy.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libcom.xiaomi.pluginutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "com.xiaomi.plugin.mibokeh",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/com.xiaomi.plugin.mibokeh.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libcom.xiaomi.pluginutils",
                "libanc_single_bokeh",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "com.xiaomi.plugin.morphohdr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/com.xiaomi.plugin.morphohdr.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libcom.xiaomi.pluginutils",
                "libmpbase",
                "libmorpho_ImageRefinerLite",
                "libmorpho_ImageRefiner",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "com.xiaomi.plugin.morphohdsr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/com.xiaomi.plugin.morphohdsr.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libcom.xiaomi.pluginutils",
                "libmpbase",
                "libmorpho_HDSR",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "com.xiaomi.plugin.photosolid",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/com.xiaomi.plugin.photosolid.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libcom.xiaomi.pluginutils",
                "libmorpho_MFNR",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "com.xiaomi.plugin.skinbeautifier",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/com.xiaomi.plugin.skinbeautifier.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libcom.xiaomi.pluginutils",
                "libEGL",
                "libGLESv2",
                "libGLESv3",
                "libnativewindow",
                "libsync",
                "libOpenCL",
                "libTrueSight",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "com.xiaomi.plugin.superlowlight",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/com.xiaomi.plugin.superlowlight.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libcom.xiaomi.pluginutils",
                "libanc_hdr",
                "libanc_hdr_adapter_AncSuperNightLite",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "com.xiaomi.plugin.swflip",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/com.xiaomi.plugin.swflip.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libcom.xiaomi.pluginutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libGLES_meow",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/egl/libGLES_meow.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libnativewindow",
                "libhidlbase",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "egl",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libMEOW_data",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/egl/libMEOW_data.so",
            ],
            shared_libs: [
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "egl",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libMEOW_gift",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/egl/libMEOW_gift.so",
            ],
            shared_libs: [
                "libFrameRecord",
                "libDefaultFpsActor",
                "libNoFpsActor",
                "libnativewindow",
                "libutilscallstack",
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "egl",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libMEOW_qt",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/egl/libMEOW_qt.so",
            ],
            shared_libs: [
                "libutils",
                "libcutils",
                "liblog",
                "libnativewindow",
                "libhidlbase",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "egl",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libMEOW_trace",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/egl/libMEOW_trace.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libnativewindow",
                "libGLES_meow",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "egl",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libGLES_mali",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/egl/mt6789/libGLES_mali.so",
            ],
            shared_libs: [
                "libnativewindow",
                "libutils",
                "liblog",
                "libdmabufheap",
                "libion",
                "libged",
                "libgpu_aux",
                "libgpud",
                "libgralloc_extra",
                "libladder",
                "libgralloc_metadata",
                "libgralloctypes_mtk",
                "libcutils",
                "libbase",
                "libz",
                "arm.graphics-V1-ndk_platform",
                "android.hardware.graphics.mapper@4.0",
                "libgralloctypes",
                "libhidlbase",
                "libhardware",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "egl/mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "hq_algoutils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hq_algoutils.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libutils",
                "libui",
                "libmtkcam_imgbuf",
                "libmtkcam_metadata",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "android.hardware.gnss-impl-mediatek",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/android.hardware.gnss-impl-mediatek.so",
            ],
            shared_libs: [
                "libbase",
                "libbinder_ndk",
                "libhidlbase",
                "libutils",
                "liblog",
                "libhardware",
                "android.hardware.gnss-V1-ndk",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "android.hardware.gnss@2.1-impl-mediatek",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/android.hardware.gnss@2.1-impl-mediatek.so",
            ],
            shared_libs: [
                "liblog",
                "libhidlbase",
                "libhidltransport",
                "libutils",
                "android.hardware.gnss@1.0",
                "android.hardware.gnss@1.1",
                "android.hardware.gnss@2.0",
                "android.hardware.gnss@2.1",
                "android.hardware.gnss.measurement_corrections@1.0",
                "android.hardware.gnss.measurement_corrections@1.1",
                "android.hardware.gnss.visibility_control@1.0",
                "libhardware",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "audio.primary.mediatek",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/audio.primary.mediatek.so",
            ],
            shared_libs: [
                "libhidlbase",
                "vendor.mediatek.hardware.mtkpower@1.0",
                "liblog",
                "libcutils",
                "libutils",
                "libalsautils",
                "libhardware_legacy",
                "libhardware",
                "libaudioutils",
                "libtinyalsa",
                "libtinyxml2-v34",
                "libaudiotoolkit_vendor",
                "libmedia_helper",
                "libladder",
                "android.hardware.audio@7.0",
                "android.hardware.audio.common-util",
                "android.hardware.audio.common@7.0",
                "android.hardware.audio.common@7.0-util",
                "vendor.mediatek.hardware.audio@7.1",
                "libbwc",
                "libhidltransport",
                "libhwbinder",
                "vendor.mediatek.hardware.bluetooth.audio@2.1",
                "vendor.mediatek.hardware.bluetooth.audio@2.2",
                "libtinycompress",
                "libaedv",
                "libdrm",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "audio.r_submix.mediatek",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/audio.r_submix.mediatek.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libmedia_helper",
                "libutils",
                "libnbaio_mono",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "consumerir.mt6789",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/consumerir.mt6789.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "fingerprint.fpc.default",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/fingerprint.fpc.default.so",
            ],
            shared_libs: [
                "liblog",
                "libpng",
                "libhidlbase",
                "libhidltransport",
                "libutils",
                "libcutils",
                "libhwbinder",
                "libhardware",
                "vendor.xiaomi.hardware.fx.tunnel@1.0",
                "libteecli",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "fingerprint.goodix_fod.default",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/fingerprint.goodix_fod.default.so",
            ],
            shared_libs: [
                "libhidlbase",
                "libc++",
                "libhwbinder",
                "libhidltransport",
                "libutils",
                "libcutils",
                "liblog",
                "libhardware",
                "libion",
                "libgf_hal",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "gatekeeper.mitee",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/gatekeeper.mitee.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libteecli",
                "libhardware",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "gps.default",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/gps.default.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libhardware",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "hwcomposer.mtk_common",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/hwcomposer.mtk_common.so",
            ],
            shared_libs: [
                "libprocessgroup_shim",
                "libutils",
                "libcutils",
                "liblog",
                "libsync",
                "libdpframework",
                "libhardware",
                "libgralloc_extra",
                "libbinder",
                "libpower",
                "libhidlbase",
                "libhwbinder",
                "libhidltransport",
                "libprocessgroup",
                "libbase",
                "libnativewindow",
                "libladder",
                "android.hardware.graphics.mapper@2.0",
                "android.hardware.graphics.mapper@2.1",
                "android.hardware.graphics.mapper@4.0",
                "vendor.mediatek.hardware.composer_ext@1.0",
                "libcomposer_ext",
                "libgralloctypes",
                "libpqparamparser",
                "libmml",
                "libdmabufheap",
                "libxml2",
                "libclient2slpi.notifier",
                "libdrm",
                "libged",
                "libpq_prot",
                "vendor.mediatek.hardware.pq@2.0",
                "vendor.mediatek.hardware.pq@2.1",
                "vendor.mediatek.hardware.pq@2.2",
                "vendor.mediatek.hardware.pq@2.3",
                "vendor.mediatek.hardware.pq@2.4",
                "vendor.mediatek.hardware.pq@2.5",
                "vendor.mediatek.hardware.pq@2.6",
                "vendor.mediatek.hardware.pq@2.7",
                "vendor.mediatek.hardware.pq@2.8",
                "vendor.mediatek.hardware.pq@2.9",
                "vendor.mediatek.hardware.pq@2.10",
                "vendor.mediatek.hardware.pq@2.11",
                "vendor.mediatek.hardware.pq@2.12",
                "vendor.mediatek.hardware.pq@2.13",
                "vendor.mediatek.hardware.pq@2.14",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libSoftGatekeeper",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/libSoftGatekeeper.so",
            ],
            shared_libs: [
                "libgatekeeper",
                "libhardware",
                "libbase",
                "libutils",
                "libcrypto",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libgf_hal",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/libgf_hal.so",
            ],
            shared_libs: [
                "libteecli",
                "libhidlbase",
                "libc++",
                "libutils",
                "libcutils",
                "liblog",
                "libhardware",
                "libion",
                "vendor.xiaomi.hardware.fx.tunnel@1.0",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "android.hardware.camera.provider@2.6-impl-mediatek",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/mt6789/android.hardware.camera.provider@2.6-impl-mediatek.so",
            ],
            shared_libs: [
                "libmtkcam_device3_hidl",
                "liblog",
                "libutils-v32",
                "libcutils",
                "libladder",
                "libhardware",
                "libhidlbase",
                "libhidltransport",
                "android.hardware.camera.common@1.0",
                "android.hardware.camera.provider@2.4",
                "android.hardware.camera.provider@2.5",
                "android.hardware.camera.provider@2.6",
                "android.hardware.camera.device@1.0",
                "android.hardware.camera.device@3.2",
                "libmtkcam_metadata",
                "libmtkcam_modulehelper",
                "libmtkcam_stdutils",
                "libmtkcam_debugutils",
                "libmtkcam_ulog",
                "libmtkcam_featureutils",
                "libcamera_metadata",
                "libfeatureiodrv_mem",
                "libmtkcam_diputils",
                "libmtkcam_metastore",
                "libmtkcam_hwutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw/mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "android.hardware.graphics.allocator@4.0-impl-mediatek",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/mt6789/android.hardware.graphics.allocator@4.0-impl-mediatek.so",
            ],
            shared_libs: [
                "android.hardware.graphics.common@1.2",
                "libgralloc_extra",
                "libgralloc_metadata",
                "libgralloctypes_mtk",
                "libged",
                "libgpud",
                "libutilscallstack",
                "libhardware",
                "liblog",
                "libbase",
                "libcutils",
                "libdmabufheap",
                "libion",
                "libsync",
                "libutils",
                "libnativewindow",
                "libhidlbase",
                "libgralloctypes",
                "libdrm",
                "android.hardware.graphics.allocator@4.0",
                "android.hardware.graphics.mapper@4.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw/mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "android.hardware.graphics.mapper@4.0-impl-mediatek",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/mt6789/android.hardware.graphics.mapper@4.0-impl-mediatek.so",
            ],
            shared_libs: [
                "android.hardware.graphics.common@1.2",
                "libgralloc_extra",
                "libgralloc_metadata",
                "libgralloctypes_mtk",
                "libged",
                "libgpud",
                "libutilscallstack",
                "libhardware",
                "liblog",
                "libbase",
                "libcutils",
                "libdmabufheap",
                "libion",
                "libsync",
                "libutils",
                "libnativewindow",
                "libhidlbase",
                "libgralloctypes",
                "libdrm",
                "arm.graphics-V1-ndk_platform",
                "android.hardware.graphics.mapper@4.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw/mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "gralloc.common",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/mt6789/gralloc.common.so",
            ],
            shared_libs: [
                "libhardware",
                "liblog",
                "libcutils",
                "libion",
                "libdmabufheap",
                "libsync",
                "libutils",
                "libdrm",
                "libGLESv1_CM",
                "libnativewindow",
                "libgralloc_metadata",
                "libged",
                "libgralloc_extra",
                "libion_mtk",
                "libgpud",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw/mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.camera.atms@1.0-impl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/mt6789/vendor.mediatek.hardware.camera.atms@1.0-impl.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libhidlbase",
                "libhidlmemory",
                "libhidltransport",
                "vendor.mediatek.hardware.camera.atms@1.0",
                "libcutils",
                "libmtkcam.atmseventmgr",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw/mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.camera.bgservice@1.1-impl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/mt6789/vendor.mediatek.hardware.camera.bgservice@1.1-impl.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libcamera_metadata",
                "libhidlbase",
                "libhidltransport",
                "vendor.mediatek.hardware.camera.bgservice@1.0",
                "vendor.mediatek.hardware.camera.bgservice@1.1",
                "libmtkcam_stdutils",
                "libmtkcam.eventcallback",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw/mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.camera.ccap@1.0-impl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/mt6789/vendor.mediatek.hardware.camera.ccap@1.0-impl.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libhidlbase",
                "libhidlmemory",
                "libhidltransport",
                "vendor.mediatek.hardware.camera.ccap@1.0",
                "android.hardware.camera.common@1.0",
                "android.hardware.camera.device@3.2",
                "android.hardware.camera.device@3.3",
                "android.hardware.camera.device@3.4",
                "android.hidl.memory@1.0",
                "libmtkcam_stdutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw/mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.camera.isphal@1.0-impl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/mt6789/vendor.mediatek.hardware.camera.isphal@1.0-impl.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libhardware",
                "libcamera_metadata",
                "libhidlbase",
                "libhidltransport",
                "vendor.mediatek.hardware.camera.isphal@1.0",
                "android.hardware.graphics.mapper@2.0",
                "android.hardware.graphics.common@1.0",
                "android.hardware.graphics.common@1.1",
                "libmtkcam_ulog",
                "libmtkcam_sysutils",
                "libmtkcam_stdutils",
                "libmtkcam_metadata",
                "libmtkcam_pipelinemodel_isp",
                "libmtkisp_metadata",
                "libmtkcam_streamutils",
                "libmtkcam_modulehelper",
                "libnativewindow",
                "libmtkcam_grallocutils",
                "libmtkcam_imgbuf",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw/mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.camera.isphal@1.1-impl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/mt6789/vendor.mediatek.hardware.camera.isphal@1.1-impl.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libhardware",
                "libcamera_metadata",
                "libhidlbase",
                "libhidltransport",
                "vendor.mediatek.hardware.camera.isphal@1.0",
                "vendor.mediatek.hardware.camera.isphal@1.1",
                "android.hardware.graphics.mapper@2.0",
                "android.hardware.graphics.common@1.0",
                "android.hardware.graphics.common@1.1",
                "android.hardware.graphics.common@1.2",
                "libmtkcam_ulog",
                "libmtkcam_sysutils",
                "libmtkcam_stdutils",
                "libmtkcam_metadata",
                "libmtkcam_pipelinemodel_isp",
                "libmtkisp_metadata",
                "libmtkcam_streamutils",
                "libmtkcam_modulehelper",
                "libnativewindow",
                "libmtkcam_grallocutils",
                "libmtkcam_imgbuf",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw/mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.camera.lomoeffect@1.0-impl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/mt6789/vendor.mediatek.hardware.camera.lomoeffect@1.0-impl.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libhidlbase",
                "libhidltransport",
                "vendor.mediatek.hardware.camera.lomoeffect@1.0",
                "android.hardware.camera.common@1.0",
                "android.hardware.camera.device@3.2",
                "android.hidl.memory@1.0",
                "libhidlmemory",
                "libion",
                "libion_mtk",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw/mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.pq@2.15-impl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/mt6789/vendor.mediatek.hardware.pq@2.15-impl.so",
            ],
            shared_libs: [
                "android.hardware.sensors@1.0-convert-shared",
                "libhidlbase",
                "libhidltransport",
                "libhwbinder",
                "libhardware",
                "android.frameworks.sensorservice@1.0",
                "android.hardware.sensors@1.0",
                "libsensorndkbridge",
                "liblog",
                "libutils-v32",
                "libcutils",
                "libpq_prot",
                "libhidlmemory",
                "libtinyxml2-v34",
                "vendor.mediatek.hardware.pq@2.0",
                "vendor.mediatek.hardware.pq@2.1",
                "vendor.mediatek.hardware.pq@2.2",
                "vendor.mediatek.hardware.pq@2.3",
                "vendor.mediatek.hardware.pq@2.4",
                "vendor.mediatek.hardware.pq@2.5",
                "vendor.mediatek.hardware.pq@2.6",
                "vendor.mediatek.hardware.pq@2.7",
                "vendor.mediatek.hardware.pq@2.8",
                "vendor.mediatek.hardware.pq@2.9",
                "vendor.mediatek.hardware.pq@2.10",
                "vendor.mediatek.hardware.pq@2.11",
                "vendor.mediatek.hardware.pq@2.12",
                "vendor.mediatek.hardware.pq@2.13",
                "vendor.mediatek.hardware.pq@2.14",
                "vendor.mediatek.hardware.pq@2.15",
                "android.hidl.allocator@1.0",
                "android.hidl.memory@1.0",
                "libdrm",
                "libaalservice",
                "libpqframework",
                "libsync",
                "vendor.mediatek.hardware.mmagent@1.0",
                "vendor.mediatek.hardware.mmagent@1.1",
                "libdmabufheap",
                "libaiselector",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    check_elf_files: false,
    relative_install_path: "hw/mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vulkan.mali",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/mt6789/vulkan.mali.so",
            ],
            shared_libs: [
                "libGLES_mali",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw/mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "sensors.elliptic",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/sensors.elliptic.so",
            ],
            shared_libs: [
                "libhidlbase",
                "libbase",
                "liblog",
                "libutils",
                "libnotifyaudiohal",
                "android.hardware.sensors@2.0",
                "android.hardware.sensors@2.0-ScopedWakelock",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "sensors.mt6789",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/sensors.mt6789.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libutils",
                "libhardware",
                "libstagefright_foundation",
                "libksensor",
                "libhfmanager",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "sound_trigger.primary.mt6789",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/sound_trigger.primary.mt6789.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libutils",
                "libhardware_legacy",
                "libhardware",
                "libmedia_helper",
                "libhidlbase",
                "vendor.mediatek.hardware.mtkpower@1.0",
                "libaedv",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.mms@1.6-impl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/vendor.mediatek.hardware.mms@1.6-impl.so",
            ],
            shared_libs: [
                "libhidlbase",
                "libhidltransport",
                "libhwbinder",
                "liblog",
                "libutils",
                "libcutils",
                "libion",
                "libion_mtk",
                "libhardware",
                "libdpframework",
                "libgralloc_extra",
                "libsync",
                "vendor.mediatek.hardware.mms@1.0",
                "vendor.mediatek.hardware.mms@1.1",
                "vendor.mediatek.hardware.mms@1.2",
                "vendor.mediatek.hardware.mms@1.3",
                "vendor.mediatek.hardware.mms@1.4",
                "vendor.mediatek.hardware.mms@1.5",
                "vendor.mediatek.hardware.mms@1.6",
                "libJpgEncPipe",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.nvram@1.1-impl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/vendor.mediatek.hardware.nvram@1.1-impl.so",
            ],
            shared_libs: [
                "libbase",
                "libcutils",
                "libhardware",
                "libhidlbase",
                "libhidltransport",
                "liblog",
                "libutils",
                "libnvram",
                "libfile_op",
                "vendor.mediatek.hardware.nvram@1.0",
                "vendor.mediatek.hardware.nvram@1.1",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.videotelephony@1.0-impl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/vendor.mediatek.hardware.videotelephony@1.0-impl.so",
            ],
            shared_libs: [
                "libhidlbase",
                "libfmq",
                "vendor.mediatek.hardware.videotelephony@1.0_vendor",
                "libc",
                "libutils",
                "libcutils",
                "liblog",
                "libbase",
                "libc++",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.xiaomi.sensor.citsensorservice@2.0-impl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/vendor.xiaomi.sensor.citsensorservice@2.0-impl.so",
            ],
            shared_libs: [
                "libui_shim",
                "libhidlbase",
                "libhidltransport",
                "libutils",
                "liblog",
                "libcutils",
                "libhardware",
                "libbase",
                "libssccalapi@2.0",
                "vendor.xiaomi.sensor.citsensorservice@1.1",
                "vendor.xiaomi.sensor.citsensorservice@2.0",
                "android.frameworks.sensorservice@1.0",
                "android.hardware.graphics.allocator@4.0",
                "android.hardware.graphics.mapper@4.0",
                "android.hardware.graphics.common@1.2",
                "libtinyxml2-v34",
                "libjsoncpp",
                "libdrm",
                "libbinder",
                "libui",
                "libcomposer_ext",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipiraw_3rd_party_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipiraw_3rd_party_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipiraw_3rd_party_Capture_mfnr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipiraw_3rd_party_Capture_mfnr.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipiraw_3rd_party_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipiraw_3rd_party_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipiraw_Default_Capture_XTS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipiraw_Default_Capture_XTS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipiraw_Flash_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipiraw_Flash_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipiraw_Flash_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipiraw_Flash_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipiraw_HDR_Capture_EV_NEG",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipiraw_HDR_Capture_EV_NEG.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipiraw_HDR_Capture_EV_POS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipiraw_HDR_Capture_EV_POS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipiraw_HDR_Capture_EV_ZERO",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipiraw_HDR_Capture_EV_ZERO.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipiraw_LLHDR_Capture_EV0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipiraw_LLHDR_Capture_EV0.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipiraw_P1_YUV",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipiraw_P1_YUV.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipiraw_Panorama",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipiraw_Panorama.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipiraw_Portrait_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipiraw_Portrait_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipiraw_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipiraw_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipiraw_Scene_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipiraw_Scene_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipiraw_SlimVideo_720",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipiraw_SlimVideo_720.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipiraw_Supernight_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipiraw_Supernight_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipiraw_Supernight_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipiraw_Supernight_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipiraw_Video_1080_30fps",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipiraw_Video_1080_30fps.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipiraw_Video_1080_60fps",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipiraw_Video_1080_60fps.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipiraw_Video_720",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipiraw_Video_720.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_3rd_party_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_3rd_party_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_3rd_party_Capture_mfnr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_3rd_party_Capture_mfnr.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_3rd_party_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_3rd_party_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_3rd_party_Peview_fb_tele",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_3rd_party_Peview_fb_tele.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_Default_Capture_XTS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_Default_Capture_XTS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_Dual_Video",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_Dual_Video.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_Flash_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_Flash_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_Flash_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_Flash_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_HDR_Capture_EV_NEG",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_HDR_Capture_EV_NEG.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_HDR_Capture_EV_POS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_HDR_Capture_EV_POS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_HDR_Capture_EV_ZERO",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_HDR_Capture_EV_ZERO.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_LLHDR_Capture_EV0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_LLHDR_Capture_EV0.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_P1_YUV",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_P1_YUV.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_Panorama",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_Panorama.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_Portrait_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_Portrait_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_SE_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_SE_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_Scene_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_Scene_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_SlimVideo_720",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_SlimVideo_720.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_Supernight_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_Supernight_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_Supernight_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_Supernight_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_Video_1080_30fps",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_Video_1080_30fps.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_Video_1080_60fps",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_Video_1080_60fps.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3aacfrontmipirawn6r_Video_720",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3aacfrontmipirawn6r_Video_720.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipiraw_3rd_party_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipiraw_3rd_party_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipiraw_3rd_party_Capture_mfnr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipiraw_3rd_party_Capture_mfnr.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipiraw_3rd_party_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipiraw_3rd_party_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipiraw_Default_Capture_XTS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipiraw_Default_Capture_XTS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipiraw_Flash_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipiraw_Flash_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipiraw_Flash_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipiraw_Flash_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipiraw_HDR_Capture_EV_NEG",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipiraw_HDR_Capture_EV_NEG.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipiraw_HDR_Capture_EV_POS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipiraw_HDR_Capture_EV_POS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipiraw_HDR_Capture_EV_ZERO",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipiraw_HDR_Capture_EV_ZERO.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipiraw_LLHDR_Capture_EV0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipiraw_LLHDR_Capture_EV0.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipiraw_P1_YUV",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipiraw_P1_YUV.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipiraw_Panorama",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipiraw_Panorama.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipiraw_Portrait_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipiraw_Portrait_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipiraw_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipiraw_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipiraw_Scene_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipiraw_Scene_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipiraw_SlimVideo_720",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipiraw_SlimVideo_720.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipiraw_Supernight_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipiraw_Supernight_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipiraw_Supernight_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipiraw_Supernight_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipiraw_Video_1080_30fps",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipiraw_Video_1080_30fps.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipiraw_Video_1080_60fps",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipiraw_Video_1080_60fps.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipiraw_Video_720",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipiraw_Video_720.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_3rd_party_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_3rd_party_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_3rd_party_Capture_mfnr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_3rd_party_Capture_mfnr.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_3rd_party_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_3rd_party_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_3rd_party_Peview_fb_tele",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_3rd_party_Peview_fb_tele.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_Default_Capture_XTS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_Default_Capture_XTS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_Dual_Video",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_Dual_Video.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_Flash_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_Flash_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_Flash_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_Flash_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_HDR_Capture_EV_NEG",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_HDR_Capture_EV_NEG.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_HDR_Capture_EV_POS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_HDR_Capture_EV_POS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_HDR_Capture_EV_ZERO",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_HDR_Capture_EV_ZERO.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_LLHDR_Capture_EV0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_LLHDR_Capture_EV0.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_P1_YUV",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_P1_YUV.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_Panorama",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_Panorama.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_Portrait_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_Portrait_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_SE_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_SE_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_Scene_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_Scene_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_SlimVideo_720",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_SlimVideo_720.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_Supernight_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_Supernight_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_Supernight_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_Supernight_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_Video_1080_30fps",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_Video_1080_30fps.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_Video_1080_60fps",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_Video_1080_60fps.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_gc16b3ofilmfrontmipirawn6r_Video_720",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_gc16b3ofilmfrontmipirawn6r_Video_720.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov02b10aacmacromipiraw_Flash_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov02b10aacmacromipiraw_Flash_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov02b10aacmacromipiraw_Flash_Capture_ZOOM",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov02b10aacmacromipiraw_Flash_Capture_ZOOM.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov02b10aacmacromipiraw_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov02b10aacmacromipiraw_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov02b10aacmacromipiraw_Scene_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov02b10aacmacromipiraw_Scene_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov02b10aacmacromipiraw_Video_720",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov02b10aacmacromipiraw_Video_720.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov02b10aacmacromipiraw_Video_720_ZOOM",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov02b10aacmacromipiraw_Video_720_ZOOM.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov02b10trulymacromipiraw_Flash_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov02b10trulymacromipiraw_Flash_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov02b10trulymacromipiraw_Flash_Capture_ZOOM",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov02b10trulymacromipiraw_Flash_Capture_ZOOM.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov02b10trulymacromipiraw_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov02b10trulymacromipiraw_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov02b10trulymacromipiraw_Scene_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov02b10trulymacromipiraw_Scene_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov02b10trulymacromipiraw_Video_720",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov02b10trulymacromipiraw_Video_720.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov02b10trulymacromipiraw_Video_720_ZOOM",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov02b10trulymacromipiraw_Video_720_ZOOM.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov02b10trulymacromipirawn6r_Flash_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov02b10trulymacromipirawn6r_Flash_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov02b10trulymacromipirawn6r_Flash_Capture_ZOOM",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov02b10trulymacromipirawn6r_Flash_Capture_ZOOM.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov02b10trulymacromipirawn6r_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov02b10trulymacromipirawn6r_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov02b10trulymacromipirawn6r_Scene_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov02b10trulymacromipirawn6r_Scene_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov02b10trulymacromipirawn6r_Video_720",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov02b10trulymacromipirawn6r_Video_720.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov02b10trulymacromipirawn6r_Video_720_ZOOM",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov02b10trulymacromipirawn6r_Video_720_ZOOM.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10aacultramipiraw_Face_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10aacultramipiraw_Face_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10aacultramipiraw_Face_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10aacultramipiraw_Face_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10aacultramipiraw_Flash_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10aacultramipiraw_Flash_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10aacultramipiraw_Flash_Capture_AUTO",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10aacultramipiraw_Flash_Capture_AUTO.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10aacultramipiraw_HDR_Face_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10aacultramipiraw_HDR_Face_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10aacultramipiraw_HDR_Face_Capture_EV_N",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10aacultramipiraw_HDR_Face_Capture_EV_N.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10aacultramipiraw_HDR_Face_Capture_EV_P",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10aacultramipiraw_HDR_Face_Capture_EV_P.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10aacultramipiraw_HDR_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10aacultramipiraw_HDR_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10aacultramipiraw_HDR_Scene_Capture_EV_N",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10aacultramipiraw_HDR_Scene_Capture_EV_N.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10aacultramipiraw_HDR_Scene_Capture_EV_P",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10aacultramipiraw_HDR_Scene_Capture_EV_P.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10aacultramipiraw_LLHDR_Face_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10aacultramipiraw_LLHDR_Face_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10aacultramipiraw_LLHDR_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10aacultramipiraw_LLHDR_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10aacultramipiraw_Portrait_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10aacultramipiraw_Portrait_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10aacultramipiraw_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10aacultramipiraw_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10aacultramipiraw_Scene_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10aacultramipiraw_Scene_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10aacultramipiraw_SuperNightRaw_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10aacultramipiraw_SuperNightRaw_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10aacultramipiraw_SuperNightRaw_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10aacultramipiraw_SuperNightRaw_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10aacultramipiraw_Video_1080P",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10aacultramipiraw_Video_1080P.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10aacultramipiraw_Video_720P",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10aacultramipiraw_Video_720P.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10aacultramipiraw_Zoom1_Video_1080P",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10aacultramipiraw_Zoom1_Video_1080P.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10aacultramipiraw_Zoom1_Video_720P",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10aacultramipiraw_Zoom1_Video_720P.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipiraw_Face_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipiraw_Face_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipiraw_Face_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipiraw_Face_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipiraw_Flash_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipiraw_Flash_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipiraw_Flash_Capture_AUTO",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipiraw_Flash_Capture_AUTO.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipiraw_HDR_Face_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipiraw_HDR_Face_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipiraw_HDR_Face_Capture_EV_N",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipiraw_HDR_Face_Capture_EV_N.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipiraw_HDR_Face_Capture_EV_P",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipiraw_HDR_Face_Capture_EV_P.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipiraw_HDR_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipiraw_HDR_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipiraw_HDR_Scene_Capture_EV_N",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipiraw_HDR_Scene_Capture_EV_N.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipiraw_HDR_Scene_Capture_EV_P",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipiraw_HDR_Scene_Capture_EV_P.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipiraw_LLHDR_Face_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipiraw_LLHDR_Face_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipiraw_LLHDR_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipiraw_LLHDR_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipiraw_Portrait_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipiraw_Portrait_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipiraw_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipiraw_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipiraw_Scene_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipiraw_Scene_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipiraw_SuperNightRaw_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipiraw_SuperNightRaw_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipiraw_SuperNightRaw_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipiraw_SuperNightRaw_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipiraw_Video_1080P",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipiraw_Video_1080P.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipiraw_Video_720P",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipiraw_Video_720P.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipiraw_Zoom1_Video_1080P",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipiraw_Zoom1_Video_1080P.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipiraw_Zoom1_Video_720P",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipiraw_Zoom1_Video_720P.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipirawn6r_Face_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipirawn6r_Face_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipirawn6r_Face_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipirawn6r_Face_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipirawn6r_Flash_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipirawn6r_Flash_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipirawn6r_Flash_Capture_AUTO",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipirawn6r_Flash_Capture_AUTO.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipirawn6r_HDR_Face_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipirawn6r_HDR_Face_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipirawn6r_HDR_Face_Capture_EV_N",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipirawn6r_HDR_Face_Capture_EV_N.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipirawn6r_HDR_Face_Capture_EV_P",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipirawn6r_HDR_Face_Capture_EV_P.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipirawn6r_HDR_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipirawn6r_HDR_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipirawn6r_HDR_Scene_Capture_EV_N",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipirawn6r_HDR_Scene_Capture_EV_N.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipirawn6r_HDR_Scene_Capture_EV_P",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipirawn6r_HDR_Scene_Capture_EV_P.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipirawn6r_LLHDR_Face_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipirawn6r_LLHDR_Face_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipirawn6r_LLHDR_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipirawn6r_LLHDR_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipirawn6r_Portrait_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipirawn6r_Portrait_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipirawn6r_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipirawn6r_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipirawn6r_Scene_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipirawn6r_Scene_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipirawn6r_SuperNightRaw_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipirawn6r_SuperNightRaw_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipirawn6r_SuperNightRaw_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipirawn6r_SuperNightRaw_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipirawn6r_U_Portrait_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipirawn6r_U_Portrait_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipirawn6r_Video_1080P",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipirawn6r_Video_1080P.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipirawn6r_Video_720P",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipirawn6r_Video_720P.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipirawn6r_Zoom1_Video_1080P",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipirawn6r_Zoom1_Video_1080P.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov08d10ofilmultramipirawn6r_Zoom1_Video_720P",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov08d10ofilmultramipirawn6r_Zoom1_Video_720P.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_3rd_party_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_3rd_party_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_3rd_party_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_3rd_party_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_Default_Capture_XTS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_Default_Capture_XTS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_Facebook_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_Facebook_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_Facebook_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_Facebook_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_Flash_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_Flash_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_HDR_Capture_EV_NEG",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_HDR_Capture_EV_NEG.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_HDR_Capture_EV_POS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_HDR_Capture_EV_POS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_HDR_Capture_EV_ZERO",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_HDR_Capture_EV_ZERO.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_LLHDR_Capture_EV0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_LLHDR_Capture_EV0.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_Line_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_Line_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_Line_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_Line_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_P1_YUV",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_P1_YUV.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_Panorama",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_Panorama.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_Portrait_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_Portrait_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_Portrait_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_Portrait_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_QQ_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_QQ_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_QQ_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_QQ_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_Scene_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_Scene_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_ShortVideo_1080",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_ShortVideo_1080.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_ShortVideo_720",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_ShortVideo_720.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_Skype_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_Skype_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_Skype_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_Skype_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_SlimVideo_720",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_SlimVideo_720.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_Supernight_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_Supernight_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_Supernight_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_Supernight_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_Video_1080_30fps",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_Video_1080_30fps.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_Video_1080_60fps",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_Video_1080_60fps.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_Video_720",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_Video_720.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_Wechat_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_Wechat_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_Wechat_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_Wechat_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_xm_HDCamera_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_xm_HDCamera_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_xm_HDCamera_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_xm_HDCamera_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_xm_Instagram_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_xm_Instagram_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_xm_Instagram_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_xm_Instagram_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_xm_Snapchat_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_xm_Snapchat_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_xm_Snapchat_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_xm_Snapchat_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_xm_TikTok_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_xm_TikTok_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_xm_TikTok_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_xm_TikTok_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_xm_Twitter_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_xm_Twitter_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_xm_Twitter_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_xm_Twitter_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_xm_Zalo_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_xm_Zalo_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qaacfrontmipiraw_xm_Zalo_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qaacfrontmipiraw_xm_Zalo_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qofilmfrontmipiraw_3rd_party_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qofilmfrontmipiraw_3rd_party_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qofilmfrontmipiraw_3rd_party_Capture_mfnr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qofilmfrontmipiraw_3rd_party_Capture_mfnr.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qofilmfrontmipiraw_3rd_party_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qofilmfrontmipiraw_3rd_party_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qofilmfrontmipiraw_Default_Capture_XTS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qofilmfrontmipiraw_Default_Capture_XTS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qofilmfrontmipiraw_Flash_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qofilmfrontmipiraw_Flash_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qofilmfrontmipiraw_Flash_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qofilmfrontmipiraw_Flash_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qofilmfrontmipiraw_HDR_Capture_EV_NEG",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qofilmfrontmipiraw_HDR_Capture_EV_NEG.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qofilmfrontmipiraw_HDR_Capture_EV_POS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qofilmfrontmipiraw_HDR_Capture_EV_POS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qofilmfrontmipiraw_HDR_Capture_EV_ZERO",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qofilmfrontmipiraw_HDR_Capture_EV_ZERO.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qofilmfrontmipiraw_LLHDR_Capture_EV0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qofilmfrontmipiraw_LLHDR_Capture_EV0.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qofilmfrontmipiraw_P1_YUV",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qofilmfrontmipiraw_P1_YUV.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qofilmfrontmipiraw_Panorama",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qofilmfrontmipiraw_Panorama.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qofilmfrontmipiraw_Portrait_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qofilmfrontmipiraw_Portrait_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qofilmfrontmipiraw_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qofilmfrontmipiraw_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qofilmfrontmipiraw_Scene_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qofilmfrontmipiraw_Scene_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qofilmfrontmipiraw_SlimVideo_720",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qofilmfrontmipiraw_SlimVideo_720.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qofilmfrontmipiraw_Supernight_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qofilmfrontmipiraw_Supernight_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qofilmfrontmipiraw_Supernight_Peview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qofilmfrontmipiraw_Supernight_Peview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qofilmfrontmipiraw_Video_1080_30fps",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qofilmfrontmipiraw_Video_1080_30fps.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qofilmfrontmipiraw_Video_1080_60fps",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qofilmfrontmipiraw_Video_1080_60fps.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov16a1qofilmfrontmipiraw_Video_720",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov16a1qofilmfrontmipiraw_Video_720.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_3rd_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_3rd_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_3rd_Capture_MFNR",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_3rd_Capture_MFNR.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_3rd_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_3rd_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_3rd_Video",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_3rd_Video.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Capture_Face_professional",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Capture_Face_professional.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Capture_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Capture_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Capture_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Capture_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Capture_portrait",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Capture_portrait.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Capture_professional",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Capture_professional.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Capture_professional_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Capture_professional_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Capture_professional_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Capture_professional_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Capture_superNS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Capture_superNS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Capture_superNS_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Capture_superNS_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Capture_superNS_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Capture_superNS_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Default_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Default_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Default_Capture_XTS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Default_Capture_XTS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Default_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Default_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Default_Video",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Default_Video.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Face_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Face_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Face_Capture_64M",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Face_Capture_64M.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Face_Capture_64M_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Face_Capture_64M_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Face_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Face_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Face_Preview_64M",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Face_Preview_64M.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Face_Preview_64M_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Face_Preview_64M_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Flash_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Flash_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Flash_Capture_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Flash_Capture_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Flash_Capture_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Flash_Capture_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Flash_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Flash_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_HDR_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_HDR_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_HDR_Capture_NEGATIVE",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_HDR_Capture_NEGATIVE.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_HDR_Capture_POSITIVE",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_HDR_Capture_POSITIVE.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_HDR_Face_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_HDR_Face_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_HDR_Face_Capture_NEGATIVE",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_HDR_Face_Capture_NEGATIVE.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_HDR_Face_Capture_POSITIVE",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_HDR_Face_Capture_POSITIVE.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_LLHDR_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_LLHDR_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_LLHDR_Face_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_LLHDR_Face_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_N3D_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_N3D_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_N3D_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_N3D_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_N3D_Video",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_N3D_Video.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Preview_Face_professional",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Preview_Face_professional.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Preview_Vlog",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Preview_Vlog.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Preview_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Preview_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Preview_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Preview_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Preview_panorama",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Preview_panorama.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Preview_portrait",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Preview_portrait.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Preview_professional",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Preview_professional.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Preview_professional_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Preview_professional_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Preview_professional_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Preview_professional_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Preview_superNS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Preview_superNS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Preview_superNS_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Preview_superNS_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Preview_superNS_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Preview_superNS_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Scanner_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Scanner_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Scene_Capture_64M",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Scene_Capture_64M.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Scene_Capture_64M_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Scene_Capture_64M_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Scene_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Scene_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Scene_Preview_64M",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Scene_Preview_64M.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Scene_Preview_64M_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Scene_Preview_64M_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Video_1080",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Video_1080.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Video_1080_30_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Video_1080_30_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Video_1080_30_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Video_1080_30_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Video_1080_60",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Video_1080_60.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Video_1080_60_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Video_1080_60_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Video_1080_60_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Video_1080_60_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Video_720_120",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Video_720_120.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Video_720_120_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Video_720_120_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Video_720_120_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Video_720_120_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Video_720_30",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Video_720_30.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Video_720_30_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Video_720_30_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_ov64b40sunnymainmipiraw_Video_720_30_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_ov64b40sunnymainmipiraw_Video_720_30_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_3rd_Party_MFNR_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_3rd_Party_MFNR_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_3rd_Party_camera_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_3rd_Party_camera_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_3rd_Party_camera_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_3rd_Party_camera_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Capture_200M_Remosaic",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Capture_200M_Remosaic.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Capture_200M_Remosaic_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Capture_200M_Remosaic_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Capture_Face_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Capture_Face_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Capture_Face_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Capture_Face_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Capture_Face_portrait",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Capture_Face_portrait.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Capture_Face_professional",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Capture_Face_professional.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Capture_SE",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Capture_SE.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Capture_SE_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Capture_SE_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Capture_SE_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Capture_SE_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Capture_Scene_portrait",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Capture_Scene_portrait.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Capture_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Capture_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Capture_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Capture_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Capture_professional",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Capture_professional.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Capture_professional_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Capture_professional_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Capture_professional_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Capture_professional_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Capture_superNS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Capture_superNS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Capture_superNS_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Capture_superNS_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Capture_superNS_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Capture_superNS_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Default_Capture_XTS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Default_Capture_XTS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Default_Preview_XTS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Default_Preview_XTS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Face_200M_Remosaic",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Face_200M_Remosaic.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Face_200M_Remosaic_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Face_200M_Remosaic_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Face_Capture_200M",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Face_Capture_200M.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Face_Capture_200M_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Face_Capture_200M_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Face_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Face_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Face_Preview_200M",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Face_Preview_200M.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_HDR_EV0_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_HDR_EV0_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_HDR_EV_Neg_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_HDR_EV_Neg_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_HDR_EV_Pos_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_HDR_EV_Pos_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_LLHDR_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_LLHDR_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Preview_Face_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Preview_Face_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Preview_Face_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Preview_Face_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Preview_Face_professional",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Preview_Face_professional.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Preview_Vlog",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Preview_Vlog.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Preview_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Preview_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Preview_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Preview_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Preview_panorama",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Preview_panorama.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Preview_portrait",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Preview_portrait.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Preview_professional",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Preview_professional.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Preview_professional_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Preview_professional_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Preview_professional_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Preview_professional_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Preview_superNS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Preview_superNS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Preview_superNS_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Preview_superNS_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Preview_superNS_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Preview_superNS_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Scanner_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Scanner_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Scene_Capture_200M",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Scene_Capture_200M.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Scene_Capture_200M_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Scene_Capture_200M_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Scene_Preview_200M",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Scene_Preview_200M.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Video_1080_30_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Video_1080_30_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Video_1080_30_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Video_1080_30_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Video_1080_60",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Video_1080_60.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Video_1080_60_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Video_1080_60_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Video_1080_60_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Video_1080_60_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Video_720_120",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Video_720_120.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Video_720_120_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Video_720_120_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Video_720_120_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Video_720_120_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Video_720_30",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Video_720_30.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Video_720_30_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Video_720_30_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Video_720_30_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3ofilmmainmipiraw_Video_720_30_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_3rd_Party_MFNR_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_3rd_Party_MFNR_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_3rd_Party_camera_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_3rd_Party_camera_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_3rd_Party_camera_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_3rd_Party_camera_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Capture_200M_Remosaic",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Capture_200M_Remosaic.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Capture_200M_Remosaic_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Capture_200M_Remosaic_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Capture_Face_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Capture_Face_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Capture_Face_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Capture_Face_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Capture_Face_portrait",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Capture_Face_portrait.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Capture_Face_professional",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Capture_Face_professional.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Capture_SE",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Capture_SE.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Capture_SE_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Capture_SE_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Capture_SE_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Capture_SE_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Capture_Scene_portrait",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Capture_Scene_portrait.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Capture_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Capture_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Capture_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Capture_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Capture_professional",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Capture_professional.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Capture_professional_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Capture_professional_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Capture_professional_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Capture_professional_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Capture_superNS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Capture_superNS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Capture_superNS_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Capture_superNS_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Capture_superNS_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Capture_superNS_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Default_Capture_XTS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Default_Capture_XTS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Default_Preview_XTS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Default_Preview_XTS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Face_200M_Remosaic",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Face_200M_Remosaic.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Face_200M_Remosaic_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Face_200M_Remosaic_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Face_Capture_200M",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Face_Capture_200M.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Face_Capture_200M_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Face_Capture_200M_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Face_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Face_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Face_Preview_200M",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Face_Preview_200M.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_HDR_EV0_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_HDR_EV0_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_HDR_EV_Neg_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_HDR_EV_Neg_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_HDR_EV_Pos_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_HDR_EV_Pos_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_LLHDR_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_LLHDR_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Preview_Face_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Preview_Face_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Preview_Face_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Preview_Face_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Preview_Face_professional",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Preview_Face_professional.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Preview_Vlog",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Preview_Vlog.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Preview_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Preview_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Preview_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Preview_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Preview_panorama",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Preview_panorama.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Preview_portrait",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Preview_portrait.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Preview_professional",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Preview_professional.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Preview_professional_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Preview_professional_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Preview_professional_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Preview_professional_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Preview_superNS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Preview_superNS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Preview_superNS_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Preview_superNS_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Preview_superNS_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Preview_superNS_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Scanner_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Scanner_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Scene_Capture_200M",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Scene_Capture_200M.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Scene_Capture_200M_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Scene_Capture_200M_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Scene_Preview_200M",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Scene_Preview_200M.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Video_1080_30_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Video_1080_30_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Video_1080_30_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Video_1080_30_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Video_1080_60",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Video_1080_60.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Video_1080_60_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Video_1080_60_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Video_1080_60_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Video_1080_60_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Video_720_120",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Video_720_120.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Video_720_120_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Video_720_120_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Video_720_120_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Video_720_120_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Video_720_30",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Video_720_30.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Video_720_30_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Video_720_30_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Video_720_30_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khp3samsungmainmipiraw_Video_720_30_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_3rd_Party_MFNR_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_3rd_Party_MFNR_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_3rd_Party_camera_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_3rd_Party_camera_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_3rd_Party_camera_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_3rd_Party_camera_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Capture_200M_Remosaic",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Capture_200M_Remosaic.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Capture_200M_Remosaic_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Capture_200M_Remosaic_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Capture_Face_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Capture_Face_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Capture_Face_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Capture_Face_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Capture_Face_portrait",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Capture_Face_portrait.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Capture_Face_professional",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Capture_Face_professional.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Capture_SE",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Capture_SE.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Capture_SE_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Capture_SE_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Capture_SE_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Capture_SE_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Capture_Scene_portrait",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Capture_Scene_portrait.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Capture_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Capture_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Capture_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Capture_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Capture_professional",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Capture_professional.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Capture_professional_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Capture_professional_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Capture_professional_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Capture_professional_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Capture_superNS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Capture_superNS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Capture_superNS_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Capture_superNS_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Capture_superNS_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Capture_superNS_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Default_Capture_XTS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Default_Capture_XTS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Default_Preview_XTS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Default_Preview_XTS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Face_200M_Remosaic",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Face_200M_Remosaic.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Face_200M_Remosaic_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Face_200M_Remosaic_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Face_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Face_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Face_Capture_200M",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Face_Capture_200M.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Face_Capture_200M_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Face_Capture_200M_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Face_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Face_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Face_Preview_200M",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Face_Preview_200M.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Flash_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Flash_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_HDR_EV0_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_HDR_EV0_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_HDR_EV_Neg_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_HDR_EV_Neg_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_HDR_EV_Pos_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_HDR_EV_Pos_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_LLHDR_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_LLHDR_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_N3D_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_N3D_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_N3D_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_N3D_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_N3D_Video",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_N3D_Video.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_P1_YUV",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_P1_YUV.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Preview_Face_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Preview_Face_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Preview_Face_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Preview_Face_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Preview_Face_professional",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Preview_Face_professional.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Preview_Vlog",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Preview_Vlog.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Preview_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Preview_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Preview_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Preview_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Preview_panorama",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Preview_panorama.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Preview_portrait",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Preview_portrait.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Preview_professional",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Preview_professional.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Preview_professional_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Preview_professional_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Preview_professional_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Preview_professional_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Preview_superNS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Preview_superNS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Preview_superNS_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Preview_superNS_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Preview_superNS_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Preview_superNS_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Scanner_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Scanner_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Scene_Capture_200M",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Scene_Capture_200M.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Scene_Capture_200M_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Scene_Capture_200M_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Scene_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Scene_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Scene_Preview_200M",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Scene_Preview_200M.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Video_1080",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Video_1080.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Video_1080_30_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Video_1080_30_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Video_1080_30_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Video_1080_30_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Video_1080_60",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Video_1080_60.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Video_1080_60_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Video_1080_60_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Video_1080_60_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Video_1080_60_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Video_720_120",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Video_720_120.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Video_720_120_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Video_720_120_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Video_720_120_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Video_720_120_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Video_720_30",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Video_720_30.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Video_720_30_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Video_720_30_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khpxsunnymainmipiraw_Video_720_30_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCamera_s5khpxsunnymainmipiraw_Video_720_30_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libDefaultFpsActor",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libDefaultFpsActor.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libFrameRecord",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libFrameRecord.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libJpgEncPipe",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libJpgEncPipe.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libjpeg-alpha_vendor",
                "libion",
                "libion_mtk",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libMiVideoFilter",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libMiVideoFilter.so",
            ],
            shared_libs: [
                "liblog",
                "libGLESv3",
                "libEGL",
                "libnativewindow",
                "libz",
                "libm",
                "libdl",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libMtkSpeechEnh",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libMtkSpeechEnh.so",
            ],
            shared_libs: [
                "liblog",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libNoFpsActor",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libNoFpsActor.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libOpenCL",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libOpenCL.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libSQLiteModule_VER_ALL",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libSQLiteModule_VER_ALL.so",
            ],
            shared_libs: [
                "liblog",
                "libdl",
                "libm",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libTEECommon",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libTEECommon.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libTrueSight",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libTrueSight.so",
            ],
            shared_libs: [
                "liblog",
                "libz",
                "libEGL",
                "libGLESv3",
                "libOpenCL",
                "libnativewindow",
                "libGLESv2",
                "libm",
                "libdl",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib_iir",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/lib_iir.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib_speech_enh",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/lib_speech_enh.so",
            ],
            shared_libs: [
                "libMtkSpeechEnh",
                "libcutils",
                "liblog",
                "libutils",
                "libaudioutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaal_cust",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libaal_cust.so",
            ],
            shared_libs: [
                "libdl",
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaal_key",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libaal_key.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaal_mtk",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libaal_mtk.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libalsautils-v32",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libalsautils-v32.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libaudioutils",
                "libtinyalsa",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libanc_dc_base",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libanc_dc_base.so",
            ],
            shared_libs: [
                "libdl",
                "libm",
                "liblog",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libanc_hdr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libanc_hdr.so",
            ],
            shared_libs: [
                "libz",
                "liblog",
                "libm",
                "libdl",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libanc_hdr_adapter_AncSuperNightLite",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libanc_hdr_adapter_AncSuperNightLite.so",
            ],
            shared_libs: [
                "libz",
                "liblog",
                "libdmabufheap",
                "libm",
                "libdl",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libanc_night",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libanc_night.so",
            ],
            shared_libs: [
                "libz",
                "liblog",
                "libm",
                "libdl",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libanc_night_preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libanc_night_preview.so",
            ],
            shared_libs: [
                "libmtkcam_metadata",
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_imgbuf",
                "libmtkcam_ulog",
                "libanc_night",
                "libmtkcam.MITPS",
                "libmtkcam_hwutils",
                "libcamalgo.fdft",
                "libmtkcam_metastore",
                "hq_algoutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libanc_single_bokeh",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libanc_single_bokeh.so",
            ],
            shared_libs: [
                "libdl",
                "libm",
                "liblog",
                "libEGL",
                "libGLESv3",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libanc_single_rt_bokeh",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libanc_single_rt_bokeh.so",
            ],
            shared_libs: [
                "libdl",
                "libm",
                "liblog",
                "libEGL",
                "libGLESv3",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libapu_mdw",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libapu_mdw.so",
            ],
            shared_libs: [
                "libbase",
                "libdmabufheap",
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libapu_mdw_batch",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libapu_mdw_batch.so",
            ],
            shared_libs: [
                "libapu_mdw",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libapusys",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libapusys.so",
            ],
            shared_libs: [
                "libbase",
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libapusys_edma",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libapusys_edma.so",
            ],
            shared_libs: [
                "libbase",
                "libion",
                "liblog",
                "libcutils",
                "libapu_mdw",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libarm_egl_properties_sysprop",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libarm_egl_properties_sysprop.so",
            ],
            shared_libs: [
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libarm_gralloc_properties_sysprop",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libarm_gralloc_properties_sysprop.so",
            ],
            shared_libs: [
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libarmnn",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libarmnn.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libcmdl",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libarmnn_ndk.mtk.vndk",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libarmnn_ndk.mtk.vndk.so",
            ],
            shared_libs: [
                "liblog",
                "libcmdl_ndk.mtk.vndk",
                "libdl",
                "libm",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libasn1c_core",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libasn1c_core.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libasn1c_mapi",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libasn1c_mapi.so",
            ],
            shared_libs: [
                "libcutils",
                "libasn1c_core",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libasn1c_mdmi",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libasn1c_mdmi.so",
            ],
            shared_libs: [
                "libcutils",
                "libasn1c_core",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaudio_param_parser-vnd",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libaudio_param_parser-vnd.so",
            ],
            shared_libs: [
                "libutils",
                "libcutils",
                "liblog",
                "libbinder",
                "libaudiocustparam_vendor",
                "libaudioprimarydevicehalifclient",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaudiocompensationfilter_vendor",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libaudiocompensationfilter_vendor.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaudiocompensationfilterc",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libaudiocompensationfilterc.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "libaudiocustparam_vendor",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaudiocomponentengine_vendor",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libaudiocomponentengine_vendor.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libutils",
                "libaudiodcrflt_vendor",
                "libblisrc32_vendor",
                "libmtklimiter_vendor",
                "libmtkshifter_vendor",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaudiocomponentenginec",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libaudiocomponentenginec.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "libblisrc32_vendor",
                "libmtklimiter_vendor",
                "libmtkshifter_vendor",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaudiocustparam_vendor",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libaudiocustparam_vendor.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libutils",
                "libnvram",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaudiodcrflt_vendor",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libaudiodcrflt_vendor.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libmtk_drvb",
                "libutils",
                "libm",
                "libc++",
                "libc",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaudiofmtconv",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libaudiofmtconv.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "libblisrc32_vendor",
                "libmtkshifter_vendor",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaudioloudc",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libaudioloudc.so",
            ],
            shared_libs: [
                "libaudiocompensationfilterc",
                "libbessound_hd_mtk_vendor",
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaudioprimarydevicehalifclient",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libaudioprimarydevicehalifclient.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libutils",
                "libbase",
                "libhwbinder",
                "libhidlbase",
                "android.hardware.audio@7.0",
                "android.hardware.audio.common@7.0",
                "android.hardware.audio.common@7.0-util",
                "libmedia_helper",
                "libbinder",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaudiosmartpamtk",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libaudiosmartpamtk.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libnvram",
                "libtinyalsa",
                "libcrypto",
                "libssl",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaudiotoolkit_vendor",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libaudiotoolkit_vendor.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaurisysdemo",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libaurisysdemo.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libbessound_hd_mtk_vendor",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libbessound_hd_mtk_vendor.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libmtk_drvb",
                "libutils",
                "libm",
                "libc++",
                "libc",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libblisrc32_vendor",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libblisrc32_vendor.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libmtk_drvb",
                "libutils",
                "libm",
                "libc++",
                "libc",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libbluetooth_mtk",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libbluetooth_mtk.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libnvram",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libbluetooth_mtk_pure",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libbluetooth_mtk_pure.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libnvram",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libbt-vendor",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libbt-vendor.so",
            ],
            shared_libs: [
                "liblog",
                "libbluetooth_mtk",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libc++_shared",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libc++_shared.so",
            ],
            shared_libs: [
                "libc",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.seninfn3d",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcam.seninfn3d.so",
            ],
            shared_libs: [
                "libcam.halsensor",
                "liblog",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamalgo.3dnr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcamalgo.3dnr.so",
            ],
            shared_libs: [
                "libmtk_drvb",
                "libcamalgo.utility",
                "libc++",
                "liblog",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamalgo.dngop",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcamalgo.dngop.so",
            ],
            shared_libs: [
                "libmtk_drvb",
                "libcamalgo.utility",
                "libc++",
                "liblog",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamalgo.eis",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcamalgo.eis.so",
            ],
            shared_libs: [
                "libmtk_drvb",
                "libcamalgo.utility",
                "libc++",
                "liblog",
                "libGLESv2",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamalgo.fdft",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcamalgo.fdft.so",
            ],
            shared_libs: [
                "libc++",
                "libcamalgo.platform",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamalgo.fsc",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcamalgo.fsc.so",
            ],
            shared_libs: [
                "libcamalgo.platform",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamalgo.gyro",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcamalgo.gyro.so",
            ],
            shared_libs: [
                "libmtk_drvb",
                "libcamalgo.utility",
                "libc++",
                "liblog",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamalgo.lmv",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcamalgo.lmv.so",
            ],
            shared_libs: [
                "libmtk_drvb",
                "libcamalgo.utility",
                "libc++",
                "liblog",
                "libGLESv2",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamalgo.n3d",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcamalgo.n3d.so",
            ],
            shared_libs: [
                "libmtk_drvb",
                "libc++",
                "liblog",
                "libnativewindow",
                "libEGL",
                "libGLESv3",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamalgo.nr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcamalgo.nr.so",
            ],
            shared_libs: [
                "libmtk_drvb",
                "libcamalgo.utility",
                "libc++",
                "liblog",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamalgo.platform",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcamalgo.platform.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libmtk_drvb",
                "libcamalgo.platform2",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamalgo.utility",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcamalgo.utility.so",
            ],
            shared_libs: [
                "liblog",
                "libEGL",
                "libGLESv2",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamalgo.warp",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcamalgo.warp.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libEGL",
                "libGLESv2",
                "libgralloc_extra",
                "libnativewindow",
                "libcamalgo.utility",
                "libutils",
                "libbinder",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamera_scene",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcamera_scene.so",
            ],
            shared_libs: [
                "liblog",
                "libm",
                "libc",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcares_naptr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcares_naptr.so",
            ],
            shared_libs: [
                "libc",
                "liblog",
                "libcutils",
                "libc++",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcarrierconfig",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcarrierconfig.so",
            ],
            shared_libs: [
                "libmtkcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libccci_util",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libccci_util.so",
            ],
            shared_libs: [
                "libc",
                "liblog",
                "libc++",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libclient2slpi.notifier",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libclient2slpi.notifier.so",
            ],
            shared_libs: [
                "libutils",
                "libcutils",
                "liblog",
                "libhidlbase",
                "libhardware",
                "vendor.xiaomi.sensor.citsensorservice@1.1",
                "vendor.xiaomi.sensor.citsensorservice@2.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcmdl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcmdl.so",
            ],
            shared_libs: [
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcmdl_ndk.mtk.vndk",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcmdl_ndk.mtk.vndk.so",
            ],
            shared_libs: [
                "liblog",
                "libm",
                "libdl",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcodec2_mtk_c2store",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcodec2_mtk_c2store.so",
            ],
            shared_libs: [
                "libcodec2_soft_common",
                "libcutils",
                "liblog",
                "libsfplugin_ccodec_utils",
                "libstagefright_foundation",
                "libbase",
                "libcodec2",
                "libcodec2_vndk",
                "libutils",
                "libion",
                "libion_mtk",
                "libdmabufheap",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcodec2_mtk_vdec",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcodec2_mtk_vdec.so",
            ],
            shared_libs: [
                "libformatter",
                "libdpframework",
                "android.hardware.graphics.bufferqueue@2.0",
                "libui",
                "libgralloc_extra",
                "libexpat",
                "libsync",
                "libhidlbase",
                "libhwbinder",
                "libged",
                "libcodec2_soft_common",
                "libcutils",
                "liblog",
                "libsfplugin_ccodec_utils",
                "libstagefright_foundation",
                "libbase",
                "libcodec2",
                "libcodec2_vndk",
                "libutils",
                "libion",
                "libdmabufheap",
                "libion_mtk",
                "libcodec2_mtk_c2store",
                "libcodec2_vpp_qt_plugin",
                "libcodec2_vpp_rs_plugin",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcodec2_mtk_venc",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcodec2_mtk_venc.so",
            ],
            shared_libs: [
                "libformatter",
                "libdpframework",
                "android.hardware.graphics.bufferqueue@2.0",
                "libui",
                "libgralloc_extra",
                "libexpat",
                "libsync",
                "libhidlbase",
                "libhwbinder",
                "libged",
                "libcodec2_soft_common",
                "libcutils",
                "liblog",
                "libsfplugin_ccodec_utils",
                "libstagefright_foundation",
                "libbase",
                "libcodec2",
                "libcodec2_vndk",
                "libutils",
                "libion",
                "libdmabufheap",
                "libion_mtk",
                "libcodec2_mtk_c2store",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcodec2_vpp_qt_plugin",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcodec2_vpp_qt_plugin.so",
            ],
            shared_libs: [
                "libcodec2_soft_common",
                "libsfplugin_ccodec_utils",
                "libstagefright_foundation",
                "libcodec2",
                "libcodec2_vndk",
                "liblog",
                "libbase",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcodec2_vpp_rs_plugin",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcodec2_vpp_rs_plugin.so",
            ],
            shared_libs: [
                "libcodec2_soft_common",
                "libsfplugin_ccodec_utils",
                "libstagefright_foundation",
                "libcodec2",
                "libcodec2_vndk",
                "liblog",
                "libbase",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcom.xiaomi.metadatautils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcom.xiaomi.metadatautils.so",
            ],
            shared_libs: [
                "libcamera_metadata",
                "libutils",
                "libcutils",
                "liblog",
                "libcom.xiaomi.pluginutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcom.xiaomi.pluginutils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcom.xiaomi.pluginutils.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcomposer_ext",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcomposer_ext.so",
            ],
            shared_libs: [
                "liblog",
                "libhidlbase",
                "libutils",
                "libcutils",
                "vendor.mediatek.hardware.composer_ext@1.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libconnfem",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libconnfem.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcustom_nvram",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcustom_nvram.so",
            ],
            shared_libs: [
                "liblog",
                "libdl",
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcvsd_mtk",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcvsd_mtk.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libmtk_drvb",
                "libutils",
                "libm",
                "libc++",
                "libc",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libdapparamstorage",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libdapparamstorage.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libdeccfg",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libdeccfg.so",
            ],
            shared_libs: [
                "libhidlbase",
                "vendor.dolby.hardware.dms@2.0",
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libdlbdsservice",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libdlbdsservice.so",
            ],
            shared_libs: [
                "libutils",
                "libstagefright_foundation-v33",
                "liblog",
                "libxml2",
                "libdapparamstorage",
                "libsqlite",
                "libhidlbase",
                "vendor.dolby.hardware.dms@2.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libfgauge_gm30",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libfgauge_gm30.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libmtk_drvb",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libfile_op",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libfile_op.so",
            ],
            shared_libs: [
                "libcutils",
                "libnvram",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libforkexecwrap",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libforkexecwrap.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libformatter",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libformatter.so",
            ],
            shared_libs: [
                "libion_mtk",
                "libdmabufheap",
                "libutils",
                "libion",
                "libcutils",
                "liblog",
                "libsync",
                "libutilscallstack",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libged",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libged.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libsync",
                "libnativewindow",
                "libhidlbase",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libgpu_aux",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libgpu_aux.so",
            ],
            shared_libs: [
                "libdpframework",
                "liblog",
                "libutils",
                "libcutils",
                "libhardware",
                "libnativewindow",
                "libgralloc_extra",
                "libsync",
                "libgpud",
                "libhidlbase",
                "libgralloctypes",
                "android.hardware.graphics.common@1.0",
                "android.hardware.graphics.common@1.1",
                "android.hardware.graphics.common@1.2",
                "android.hardware.graphics.mapper@2.0",
                "android.hardware.graphics.mapper@2.1",
                "android.hardware.graphics.mapper@3.0",
                "android.hardware.graphics.mapper@4.0",
                "vendor.mediatek.hardware.mms@1.5",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libgpud",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libgpud.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libsync",
                "libhardware",
                "libnativewindow",
                "libgralloc_extra",
                "libhidlbase",
                "libgralloctypes",
                "android.hardware.graphics.common@1.1",
                "android.hardware.graphics.common@1.2",
                "android.hardware.graphics.mapper@2.0",
                "android.hardware.graphics.mapper@2.1",
                "android.hardware.graphics.mapper@3.0",
                "android.hardware.graphics.mapper@4.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libgralloc_extra",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libgralloc_extra.so",
            ],
            shared_libs: [
                "libhardware",
                "libcutils",
                "libutils",
                "liblog",
                "libion",
                "libdmabufheap",
                "libged",
                "libutilscallstack",
                "android.hardware.graphics.common@1.2",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libgralloc_metadata",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libgralloc_metadata.so",
            ],
            shared_libs: [
                "android.hardware.graphics.mapper@4.0",
                "libhidlbase",
                "libcutils",
                "libutils",
                "liblog",
                "libion",
                "libc",
                "libc++",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libgralloctypes_mtk",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libgralloctypes_mtk.so",
            ],
            shared_libs: [
                "android.hardware.graphics.mapper@4.0",
                "libhidlbase",
                "libhardware",
                "libcutils",
                "libutils",
                "liblog",
                "libion",
                "libc",
                "libc++",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libgwsd-ril",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libgwsd-ril.so",
            ],
            shared_libs: [
                "libmtkcutils",
                "libmtkutils",
                "libmtk-ril",
                "libmtkproperty",
                "libmtkrillog",
                "libmtkrilutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libgwsdv2-ril",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libgwsdv2-ril.so",
            ],
            shared_libs: [
                "libmtkcutils",
                "libmtkutils",
                "libmtkproperty",
                "libmtkrillog",
                "libmtkrilutils",
                "libmtk-ril",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libgwsdv3-ril",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libgwsdv3-ril.so",
            ],
            shared_libs: [
                "libmtkcutils",
                "libmtkutils",
                "libmtkproperty",
                "libmtkrillog",
                "libmtkrilutils",
                "libmtkmipc-ril",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libheichal",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libheichal.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libion",
                "libion_mtk",
                "libdmabufheap",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libhfmanager",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libhfmanager.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libhardware",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libhfmanagerwrapper",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libhfmanagerwrapper.so",
            ],
            shared_libs: [
                "libhardware",
                "libhfmanager",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libhwm",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libhwm.so",
            ],
            shared_libs: [
                "libnvram",
                "liblog",
                "libfile_op",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libifcutils_mtk",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libifcutils_mtk.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libimagebuffer_wrapper",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libimagebuffer_wrapper.so",
            ],
            shared_libs: [
                "liblog",
                "libion_mtk",
                "libion",
                "libdmabufheap",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libjpeg-alpha-oal_vendor",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libjpeg-alpha-oal_vendor.so",
            ],
            shared_libs: [
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libjpeg-alpha_vendor",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libjpeg-alpha_vendor.so",
            ],
            shared_libs: [
                "libjpeg-alpha-oal_vendor",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libksensor",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libksensor.so",
            ],
            shared_libs: [
                "liblog",
                "libc++",
                "libdl",
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "liblibarm_mali_config_sysprops",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/liblibarm_mali_config_sysprops.so",
            ],
            shared_libs: [
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmi_bokehpre",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmi_bokehpre.so",
            ],
            shared_libs: [
                "libmtkcam_ulog",
                "libmtkcam_imgbuf",
                "libcutils",
                "liblog",
                "libutils",
                "libmtkcam_metadata",
                "libcamalgo.fdft",
                "libmtkcam_hwutils",
                "hq_algoutils",
                "libanc_single_rt_bokeh",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmialgo_ai_vision",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmialgo_ai_vision.so",
            ],
            shared_libs: [
                "libneuron_runtime.6",
                "libc++_shared",
                "libm",
                "liblog",
                "libc",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmialgo_sd",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmialgo_sd.so",
            ],
            shared_libs: [
                "libOpenCL",
                "libmialgo_utils",
                "libmialgo_ai_vision",
                "libneuron_runtime.6",
                "libc++_shared",
                "libm",
                "liblog",
                "libdl",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmialgo_utils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmialgo_utils.so",
            ],
            shared_libs: [
                "liblog",
                "libc++_shared",
                "libm",
                "libdl",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmialgoengine",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmialgoengine.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libhardware",
                "libnativewindow",
                "libEGL",
                "libGLESv2",
                "libgralloc_extra",
                "libbase",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmialgoengine2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmialgoengine2.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libnativewindow",
                "libhardware",
                "libcom.xiaomi.pluginutils",
                "libsync",
                "libEGL",
                "libGLESv2",
                "libgralloc_extra",
                "libhidlbase",
                "android.hardware.graphics.common@1.0",
                "android.hardware.graphics.common@1.1",
                "android.hardware.graphics.common@1.2",
                "android.hardware.graphics.mapper@2.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmifpext",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmifpext.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libutils",
                "libhidlbase",
                "libhardware",
                "libvndksupport",
                "libbinder",
                "libstagefright_foundation",
                "vendor.xiaomi.hardware.touchfeature@1.0",
                "vendor.xiaomi.hardware.fingerprintextension@1.0",
                "android.frameworks.sensorservice@1.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libminiui",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libminiui.so",
            ],
            shared_libs: [
                "libpixelflinger",
                "libpng",
                "libutils",
                "liblog",
                "libcutils",
                "libdrm",
                "libbase",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmipc",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmipc.so",
            ],
            shared_libs: [
                "libmtkrillog",
                "libtrm",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmisound",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmisound.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmmagent",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmmagent.so",
            ],
            shared_libs: [
                "libion",
                "libion_mtk",
                "libcutils",
                "liblog",
                "libutils",
                "libdmabufheap",
                "libneuron_runtime.5",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmml",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmml.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmnetlink_v104",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmnetlink_v104.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmorpho_HDSR",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmorpho_HDSR.so",
            ],
            shared_libs: [
                "liblog",
                "libc",
                "libdl",
                "libGLESv2",
                "libEGL",
                "libm",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmorpho_HdrChecker",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmorpho_HdrChecker.so",
            ],
            shared_libs: [
                "liblog",
                "libc",
                "libdl",
                "libGLESv2",
                "libEGL",
                "libm",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmorpho_ImageRefiner",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmorpho_ImageRefiner.so",
            ],
            shared_libs: [
                "liblog",
                "libdl",
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmorpho_ImageRefinerLite",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmorpho_ImageRefinerLite.so",
            ],
            shared_libs: [
                "liblog",
                "libdl",
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmorpho_Ldc",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmorpho_Ldc.so",
            ],
            shared_libs: [
                "libc",
                "libm",
                "libdl",
                "libEGL",
                "liblog",
                "libGLESv2",
                "libGLESv3",
                "libnativewindow",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmorpho_MFNR",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmorpho_MFNR.so",
            ],
            shared_libs: [
                "liblog",
                "libdl",
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmorpho_ldc_preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmorpho_ldc_preview.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_imgbuf",
                "libmtkcam_ulog",
                "libmtkcam_metadata",
                "libmtkcam_hwutils",
                "libcamalgo.fdft",
                "libmtkcam_metastore",
                "hq_algoutils",
                "libmorpho_Ldc",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmorpho_video_stabilizer",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmorpho_video_stabilizer.so",
            ],
            shared_libs: [
                "libutils",
                "libui",
                "libc",
                "libm",
                "libdl",
                "libEGL",
                "liblog",
                "libGLESv2",
                "libGLESv3",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmpbase",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmpbase.so",
            ],
            shared_libs: [
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmsbc_mtk",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmsbc_mtk.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libmtk_drvb",
                "libutils",
                "libm",
                "libc++",
                "libc",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtk-fusion-ril-prop-vsim",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmtk-fusion-ril-prop-vsim.so",
            ],
            shared_libs: [
                "libmtk-ril",
                "libutils",
                "librilfusion",
                "libmtkrilutils",
                "librilutils",
                "libmtkrillog",
                "libssl",
                "libcrypto",
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtk-ril",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmtk-ril.so",
            ],
            shared_libs: [
                "libmtkutils",
                "librilfusion",
                "libmtknetutils",
                "libratconfig",
                "libmtksysutils",
                "libmtkhardware_legacy",
                "libsysenv",
                "libmtkrilutils",
                "libcrypto",
                "libmtkcutils",
                "libmtkproperty",
                "libmtkrillog",
                "libmtkconfigutils",
                "libmtktinyxml",
                "libmtkares",
                "libmtknetcap",
                "libwpfa",
                "libaedv",
                "libbinder",
                "libmipc",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkares",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmtkares.so",
            ],
            shared_libs: [
                "libcares_naptr",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam.MITPS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmtkcam.MITPS.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_pipelinepolicy-aov",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmtkcam_pipelinepolicy-aov.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_stdutils",
                "libmtkcam_ulog",
                "libmtkcam_hwutils",
                "libmtkcam_metadata",
                "libmtkcam_metastore",
                "libmtkcam_modulehelper",
                "libmtkcam_pipelinepolicy",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkconfig",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmtkconfig.so",
            ],
            shared_libs: [
                "libmtkrillog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkconfigutils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmtkconfigutils.so",
            ],
            shared_libs: [
                "libmtkconfig",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkhardware_legacy",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmtkhardware_legacy.so",
            ],
            shared_libs: [
                "libhardware_legacy",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkisp_metadata",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmtkisp_metadata.so",
            ],
            shared_libs: [
                "libui",
                "liblog",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtklimiter_vendor",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmtklimiter_vendor.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libmtk_drvb",
                "libutils",
                "libm",
                "libc++",
                "libc",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkmipc-ril",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmtkmipc-ril.so",
            ],
            shared_libs: [
                "libmtkutils",
                "librilfusion",
                "libmtknetutils",
                "libratconfig",
                "libmtksysutils",
                "libmtkhardware_legacy",
                "libsysenv",
                "libmtkrilutils",
                "libcrypto",
                "libmtkcutils",
                "libmtkproperty",
                "libmtkrillog",
                "libmtkconfigutils",
                "libmtktinyxml",
                "libmtkares",
                "libmtknetcap",
                "libwpfa",
                "libaedv",
                "libbinder",
                "libmipc",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtknetcap",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmtknetcap.so",
            ],
            shared_libs: [
                "libmtkrillog",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtknetutils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmtknetutils.so",
            ],
            shared_libs: [
                "libmtkrillog",
                "libmtkproperty",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkrilutils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmtkrilutils.so",
            ],
            shared_libs: [
                "libmtkcutils",
                "libmtkrillog",
                "libmtkproperty",
                "libratconfig",
                "libmtkconfigutils",
                "libmtkutils",
                "libcrypto",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkshifter_vendor",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmtkshifter_vendor.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libmtk_drvb",
                "libutils",
                "libm",
                "libc++",
                "libc",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtksysutils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmtksysutils.so",
            ],
            shared_libs: [
                "libmtkrillog",
                "libmtkproperty",
                "libmtkcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtktinyxml",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmtktinyxml.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkutils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmtkutils.so",
            ],
            shared_libs: [
                "libmtkcutils",
                "libmtkproperty",
                "libmtkrillog",
                "libladder",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmvpu_cic_ci_compiler",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmvpu_cic_ci_compiler.so",
            ],
            shared_libs: [
                "libbase",
                "liblog",
                "libion",
                "libcutils",
                "libcrypto",
                "libmvpu_clc_mvpu_elf",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmvpu_clc_cl_compiler",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmvpu_clc_cl_compiler.so",
            ],
            shared_libs: [
                "libmvpu_clc_vpu_isa",
                "libmvpu_clc_mvpu_elf",
                "libmvpu_clc_mvpu_utility",
                "libmvpu_config",
                "libz",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmvpu_clc_mvpu_debuginfo",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmvpu_clc_mvpu_debuginfo.so",
            ],
            shared_libs: [
                "libmvpu_clc_mvpu_elf",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmvpu_clc_mvpu_elf",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmvpu_clc_mvpu_elf.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmvpu_clc_mvpu_utility",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmvpu_clc_mvpu_utility.so",
            ],
            shared_libs: [
                "libz",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmvpu_clc_vpu_isa",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmvpu_clc_vpu_isa.so",
            ],
            shared_libs: [
                "libz",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmvpu_config",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmvpu_config.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmvpu_engine",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmvpu_engine.so",
            ],
            shared_libs: [
                "libbase",
                "libion",
                "libion_mtk",
                "liblog",
                "libcutils",
                "libapu_mdw",
                "libmvpu_config",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmvpu_engine_pub",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmvpu_engine_pub.so",
            ],
            shared_libs: [
                "libbase",
                "liblog",
                "libcutils",
                "libapu_mdw",
                "libmvpu_config",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmvpu_pattern",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmvpu_pattern.so",
            ],
            shared_libs: [
                "libbase",
                "liblog",
                "libcutils",
                "libmvpu_config",
                "libmvpu_engine",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmvpu_pattern_pub",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmvpu_pattern_pub.so",
            ],
            shared_libs: [
                "libbase",
                "liblog",
                "libcutils",
                "libmvpu_config",
                "libmvpu_engine_pub",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmvpu_runtime",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmvpu_runtime.so",
            ],
            shared_libs: [
                "libbase",
                "liblog",
                "libion",
                "libion_mtk",
                "libcutils",
                "libcrypto",
                "libmvpu_cic_ci_compiler",
                "libmvpu_pattern",
                "libmvpu_engine",
                "libmvpu_config",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmvpu_runtime_pub",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmvpu_runtime_pub.so",
            ],
            shared_libs: [
                "libbase",
                "liblog",
                "libion",
                "libion_mtk",
                "libcutils",
                "libcrypto",
                "libmvpu_cic_ci_compiler",
                "libmvpu_pattern_pub",
                "libmvpu_engine_pub",
                "libmvpu_config",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmvpuop_mtk_cv",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmvpuop_mtk_cv.so",
            ],
            shared_libs: [
                "libdl",
                "liblog",
                "libm",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmvpuop_mtk_nn",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libmvpuop_mtk_nn.so",
            ],
            shared_libs: [
                "libdl",
                "liblog",
                "libm",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libneuron_graph_delegate.mtk",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libneuron_graph_delegate.mtk.so",
            ],
            shared_libs: [
                "libnativewindow",
                "liblog",
                "libutils",
                "libcutils",
                "libhidlbase",
                "vendor.mediatek.hardware.apuware.utils@2.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libneuron_platform",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libneuron_platform.so",
            ],
            shared_libs: [
                "libbase",
                "liblog",
                "libion",
                "libion_mtk",
                "libcutils",
                "libvpu",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libneuron_runtime.6",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libneuron_runtime.6.so",
            ],
            shared_libs: [
                "libm",
                "libdl",
                "libz",
                "liblog",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libnir_neon_driver_ndk.mtk.vndk",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libnir_neon_driver_ndk.mtk.vndk.so",
            ],
            shared_libs: [
                "liblog",
                "libm",
                "libdl",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libnotifyaudiohal",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libnotifyaudiohal.so",
            ],
            shared_libs: [
                "libbase",
                "libbinder",
                "liblog",
                "libhidlbase",
                "libutils",
                "libcutils",
                "libxml2",
                "android.hardware.audio@7.0",
                "android.hardware.audio.common@7.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libnpagent",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libnpagent.so",
            ],
            shared_libs: [
                "libbase",
                "libgralloc_extra",
                "libhidlbase",
                "liblog",
                "libnativewindow",
                "libutils",
                "libcutils",
                "libsync",
                "libui",
                "vendor.mediatek.hardware.neuropilot.agent@1.0",
                "vendor.mediatek.hardware.neuropilot.agent@1.1",
                "vendor.mediatek.hardware.neuropilot.agent@1.2",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libnpagent_server",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libnpagent_server.so",
            ],
            shared_libs: [
                "libbase",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libui",
                "libgralloc_extra",
                "libhidlmemory",
                "libneuron_runtime.5",
                "vendor.mediatek.hardware.neuropilot.agent@1.0",
                "vendor.mediatek.hardware.neuropilot.agent@1.1",
                "vendor.mediatek.hardware.neuropilot.agent@1.2",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libnvram",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libnvram.so",
            ],
            shared_libs: [
                "libbase_shim",
                "libcutils",
                "libbase",
                "liblog",
                "libnvram_sec",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libnvram_sec",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libnvram_sec.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libnxp_extamp_intf",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libnxp_extamp_intf.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "libtinyalsa",
                "liblog",
                "libnvram",
                "libcrypto",
                "libssl",
                "libfile_op",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "liboemcrypto",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/liboemcrypto.so",
            ],
            shared_libs: [
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libpixelflinger",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libpixelflinger.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libpn557_fw",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libpn557_fw.so",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libpqframework",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libpqframework.so",
            ],
            shared_libs: [
                "libgralloc_extra",
                "libhardware",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libratconfig",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libratconfig.so",
            ],
            shared_libs: [
                "libmtkutils",
                "libmtkrillog",
                "libmtkcutils",
                "libmtkproperty",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libremosaic_wrapper",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libremosaic_wrapper.so",
            ],
            shared_libs: [
                "liblog",
                "libdl",
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libremosaiclib",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libremosaiclib.so",
            ],
            shared_libs: [
                "liblog",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "librgbwlightsensor",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/librgbwlightsensor.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "libhardware",
                "liblog",
                "libhidlbase",
                "android.frameworks.sensorservice@1.0",
                "android.hardware.sensors@1.0",
                "libsensorndkbridge",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "librilfusion",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/librilfusion.so",
            ],
            shared_libs: [
                "libmtkrillog",
                "libmtkcutils",
                "libmtkhardware_legacy",
                "libmtkrilutils",
                "libmtkproperty",
                "libmtkutils",
                "libmtkconfigutils",
                "android.hardware.radio@1.0",
                "android.hardware.radio@1.1",
                "android.hardware.radio@1.2",
                "android.hardware.radio@1.3",
                "android.hardware.radio@1.4",
                "android.hardware.radio@1.5",
                "android.hardware.radio@1.6",
                "android.hardware.radio.config@1.0",
                "android.hardware.radio.config@1.1",
                "android.hardware.radio.config@1.2",
                "android.hardware.radio.config@1.3",
                "vendor.mediatek.hardware.mtkradioex@3.0",
                "libbinder",
                "libhidlbase",
                "libhidltransport",
                "libaedv",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "librpc",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/librpc.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libccci_util",
                "libpower",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "librt_extamp_intf",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/librt_extamp_intf.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "libtinyalsa",
                "libtinyxml2-v34",
                "liblog",
                "libnvram",
                "libcrypto",
                "libssl",
                "libfile_op",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libspeech_enh_lib",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libspeech_enh_lib.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libspeechparser_vendor",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libspeechparser_vendor.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libutils",
                "libaudioutils",
                "libmedia_helper",
                "libxml2",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libssccalapi@2.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libssccalapi@2.0.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libhardware",
                "libhidltransport",
                "libhidlbase",
                "android.hardware.sensors@2.0",
                "android.hardware.sensors@2.0-ScopedWakelock",
                "android.frameworks.sensorservice@1.0",
                "libjsoncpp",
                "libhfmanagerwrapper",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libstorage_otp",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libstorage_otp.so",
            ],
            shared_libs: [
                "libcutils",
                "libbase",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libsysenv",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libsysenv.so",
            ],
            shared_libs: [
                "libbase_shim",
                "liblog",
                "libbase",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libteecli",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libteecli.so",
            ],
            shared_libs: [
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libtflite_mtk",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libtflite_mtk.so",
            ],
            shared_libs: [
                "liblog",
                "libflatbuffers-cpp",
                "libruy",
                "libtextclassifier_hash",
                "libnativewindow",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libtrm",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libtrm.so",
            ],
            shared_libs: [
                "libmtkrillog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libudf",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libudf.so",
            ],
            shared_libs: [
                "liblog",
                "libbase",
                "libunwindstack",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libvia-ril",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libvia-ril.so",
            ],
            shared_libs: [
                "libmtkcutils",
                "libmtkutils",
                "libmtkproperty",
                "libmtkrillog",
                "libmtkrilutils",
                "libmtk-ril",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libviagpsrpc",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libviagpsrpc.so",
            ],
            shared_libs: [
                "librpc",
                "liblog",
                "libcutils",
                "libccci_util",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libviamipc-ril",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libviamipc-ril.so",
            ],
            shared_libs: [
                "libmtkcutils",
                "libmtkutils",
                "libmtkproperty",
                "libmtkrillog",
                "libmtkrilutils",
                "libmtkmipc-ril",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libvow_ap_test_aa",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libvow_ap_test_aa.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libvow_ap_test_dd",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libvow_ap_test_dd.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libvow_ap_test_ha",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libvow_ap_test_ha.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libvow_ap_test_hh",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libvow_ap_test_hh.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libvow_ap_test_nn",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libvow_ap_test_nn.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libvpu",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libvpu.so",
            ],
            shared_libs: [
                "libbase",
                "libion",
                "liblog",
                "libcutils",
                "libapusys",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libvpu5",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libvpu5.so",
            ],
            shared_libs: [
                "libbase",
                "liblog",
                "libcutils",
                "libapu_mdw",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libwa_dof",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libwa_dof.so",
            ],
            shared_libs: [
                "libanc_dc_base",
                "libdl",
                "libm",
                "liblog",
                "libEGL",
                "libGLESv3",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libwa_rtdof",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libwa_rtdof.so",
            ],
            shared_libs: [
                "libanc_dc_base",
                "libdl",
                "libm",
                "liblog",
                "libEGL",
                "libGLESv3",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libwpfa",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libwpfa.so",
            ],
            shared_libs: [
                "libmtkcutils",
                "libmtkrillog",
                "libmtknetcap",
                "libmtkutils",
                "libccci_util",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libwvhidl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libwvhidl.so",
            ],
            shared_libs: [
                "android.hardware.drm@1.0",
                "android.hardware.drm@1.1",
                "android.hardware.drm@1.2",
                "android.hardware.drm@1.3",
                "android.hardware.drm@1.4",
                "android.hidl.memory@1.0",
                "libbase",
                "libcrypto",
                "libcutils",
                "libhidlbase",
                "libhidlmemory",
                "liblog",
                "libprotobuf-cpp-full-3.9.1-vendorcompat",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libwvkeybox",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libwvkeybox.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libxml2",
                "liboemcrypto",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libwvdrmengine",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mediadrm/libwvdrmengine.so",
            ],
            shared_libs: [
                "libbase",
                "libcrypto",
                "libhidlbase",
                "liblog",
                "libprotobuf-cpp-full-3.9.1-vendorcompat",
                "libstagefright_foundation",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mediadrm",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "arm.graphics-V1-ndk_platform",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/arm.graphics-V1-ndk_platform.so",
            ],
            shared_libs: [
                "libbinder_ndk",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "arm.graphics-V3-ndk",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/arm.graphics-V3-ndk.so",
            ],
            shared_libs: [
                "libbinder_ndk",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "gc16b3_aac_front_mipi_raw_IdxMgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/gc16b3_aac_front_mipi_raw_IdxMgr.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "gc16b3_aac_front_mipi_raw_n6r_IdxMgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/gc16b3_aac_front_mipi_raw_n6r_IdxMgr.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "gc16b3_aac_front_mipi_raw_n6r_tuning",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/gc16b3_aac_front_mipi_raw_n6r_tuning.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libCamera_gc16b3aacfrontmipirawn6r_3rd_party_Capture",
                "libCamera_gc16b3aacfrontmipirawn6r_3rd_party_Capture_mfnr",
                "libCamera_gc16b3aacfrontmipirawn6r_3rd_party_Peview",
                "libCamera_gc16b3aacfrontmipirawn6r_3rd_party_Peview_fb_tele",
                "libCamera_gc16b3aacfrontmipirawn6r_Default_Capture_XTS",
                "libCamera_gc16b3aacfrontmipirawn6r_Dual_Video",
                "libCamera_gc16b3aacfrontmipirawn6r_Flash_Capture",
                "libCamera_gc16b3aacfrontmipirawn6r_Flash_Preview",
                "libCamera_gc16b3aacfrontmipirawn6r_HDR_Capture_EV_NEG",
                "libCamera_gc16b3aacfrontmipirawn6r_HDR_Capture_EV_POS",
                "libCamera_gc16b3aacfrontmipirawn6r_HDR_Capture_EV_ZERO",
                "libCamera_gc16b3aacfrontmipirawn6r_LLHDR_Capture_EV0",
                "libCamera_gc16b3aacfrontmipirawn6r_P1_YUV",
                "libCamera_gc16b3aacfrontmipirawn6r_Panorama",
                "libCamera_gc16b3aacfrontmipirawn6r_Portrait_Peview",
                "libCamera_gc16b3aacfrontmipirawn6r_SE_Capture",
                "libCamera_gc16b3aacfrontmipirawn6r_Scene_Capture",
                "libCamera_gc16b3aacfrontmipirawn6r_Scene_Preview",
                "libCamera_gc16b3aacfrontmipirawn6r_SlimVideo_720",
                "libCamera_gc16b3aacfrontmipirawn6r_Supernight_Capture",
                "libCamera_gc16b3aacfrontmipirawn6r_Supernight_Peview",
                "libCamera_gc16b3aacfrontmipirawn6r_Video_1080_30fps",
                "libCamera_gc16b3aacfrontmipirawn6r_Video_1080_60fps",
                "libCamera_gc16b3aacfrontmipirawn6r_Video_720",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "gc16b3_aac_front_mipi_raw_tuning",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/gc16b3_aac_front_mipi_raw_tuning.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libCamera_gc16b3aacfrontmipiraw_3rd_party_Capture",
                "libCamera_gc16b3aacfrontmipiraw_3rd_party_Capture_mfnr",
                "libCamera_gc16b3aacfrontmipiraw_3rd_party_Peview",
                "libCamera_gc16b3aacfrontmipiraw_Default_Capture_XTS",
                "libCamera_gc16b3aacfrontmipiraw_Flash_Capture",
                "libCamera_gc16b3aacfrontmipiraw_Flash_Preview",
                "libCamera_gc16b3aacfrontmipiraw_HDR_Capture_EV_NEG",
                "libCamera_gc16b3aacfrontmipiraw_HDR_Capture_EV_POS",
                "libCamera_gc16b3aacfrontmipiraw_HDR_Capture_EV_ZERO",
                "libCamera_gc16b3aacfrontmipiraw_LLHDR_Capture_EV0",
                "libCamera_gc16b3aacfrontmipiraw_P1_YUV",
                "libCamera_gc16b3aacfrontmipiraw_Panorama",
                "libCamera_gc16b3aacfrontmipiraw_Portrait_Peview",
                "libCamera_gc16b3aacfrontmipiraw_Scene_Capture",
                "libCamera_gc16b3aacfrontmipiraw_Scene_Preview",
                "libCamera_gc16b3aacfrontmipiraw_SlimVideo_720",
                "libCamera_gc16b3aacfrontmipiraw_Supernight_Capture",
                "libCamera_gc16b3aacfrontmipiraw_Supernight_Peview",
                "libCamera_gc16b3aacfrontmipiraw_Video_1080_30fps",
                "libCamera_gc16b3aacfrontmipiraw_Video_1080_60fps",
                "libCamera_gc16b3aacfrontmipiraw_Video_720",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "gc16b3_ofilm_front_mipi_raw_IdxMgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/gc16b3_ofilm_front_mipi_raw_IdxMgr.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "gc16b3_ofilm_front_mipi_raw_n6r_IdxMgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/gc16b3_ofilm_front_mipi_raw_n6r_IdxMgr.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "gc16b3_ofilm_front_mipi_raw_n6r_tuning",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/gc16b3_ofilm_front_mipi_raw_n6r_tuning.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libCamera_gc16b3ofilmfrontmipirawn6r_3rd_party_Capture",
                "libCamera_gc16b3ofilmfrontmipirawn6r_3rd_party_Capture_mfnr",
                "libCamera_gc16b3ofilmfrontmipirawn6r_3rd_party_Peview",
                "libCamera_gc16b3ofilmfrontmipirawn6r_3rd_party_Peview_fb_tele",
                "libCamera_gc16b3ofilmfrontmipirawn6r_Default_Capture_XTS",
                "libCamera_gc16b3ofilmfrontmipirawn6r_Dual_Video",
                "libCamera_gc16b3ofilmfrontmipirawn6r_Flash_Capture",
                "libCamera_gc16b3ofilmfrontmipirawn6r_Flash_Preview",
                "libCamera_gc16b3ofilmfrontmipirawn6r_HDR_Capture_EV_NEG",
                "libCamera_gc16b3ofilmfrontmipirawn6r_HDR_Capture_EV_POS",
                "libCamera_gc16b3ofilmfrontmipirawn6r_HDR_Capture_EV_ZERO",
                "libCamera_gc16b3ofilmfrontmipirawn6r_LLHDR_Capture_EV0",
                "libCamera_gc16b3ofilmfrontmipirawn6r_P1_YUV",
                "libCamera_gc16b3ofilmfrontmipirawn6r_Panorama",
                "libCamera_gc16b3ofilmfrontmipirawn6r_Portrait_Peview",
                "libCamera_gc16b3ofilmfrontmipirawn6r_SE_Capture",
                "libCamera_gc16b3ofilmfrontmipirawn6r_Scene_Capture",
                "libCamera_gc16b3ofilmfrontmipirawn6r_Scene_Preview",
                "libCamera_gc16b3ofilmfrontmipirawn6r_SlimVideo_720",
                "libCamera_gc16b3ofilmfrontmipirawn6r_Supernight_Capture",
                "libCamera_gc16b3ofilmfrontmipirawn6r_Supernight_Peview",
                "libCamera_gc16b3ofilmfrontmipirawn6r_Video_1080_30fps",
                "libCamera_gc16b3ofilmfrontmipirawn6r_Video_1080_60fps",
                "libCamera_gc16b3ofilmfrontmipirawn6r_Video_720",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "gc16b3_ofilm_front_mipi_raw_tuning",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/gc16b3_ofilm_front_mipi_raw_tuning.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libCamera_gc16b3ofilmfrontmipiraw_3rd_party_Capture",
                "libCamera_gc16b3ofilmfrontmipiraw_3rd_party_Capture_mfnr",
                "libCamera_gc16b3ofilmfrontmipiraw_3rd_party_Peview",
                "libCamera_gc16b3ofilmfrontmipiraw_Default_Capture_XTS",
                "libCamera_gc16b3ofilmfrontmipiraw_Flash_Capture",
                "libCamera_gc16b3ofilmfrontmipiraw_Flash_Preview",
                "libCamera_gc16b3ofilmfrontmipiraw_HDR_Capture_EV_NEG",
                "libCamera_gc16b3ofilmfrontmipiraw_HDR_Capture_EV_POS",
                "libCamera_gc16b3ofilmfrontmipiraw_HDR_Capture_EV_ZERO",
                "libCamera_gc16b3ofilmfrontmipiraw_LLHDR_Capture_EV0",
                "libCamera_gc16b3ofilmfrontmipiraw_P1_YUV",
                "libCamera_gc16b3ofilmfrontmipiraw_Panorama",
                "libCamera_gc16b3ofilmfrontmipiraw_Portrait_Peview",
                "libCamera_gc16b3ofilmfrontmipiraw_Scene_Capture",
                "libCamera_gc16b3ofilmfrontmipiraw_Scene_Preview",
                "libCamera_gc16b3ofilmfrontmipiraw_SlimVideo_720",
                "libCamera_gc16b3ofilmfrontmipiraw_Supernight_Capture",
                "libCamera_gc16b3ofilmfrontmipiraw_Supernight_Peview",
                "libCamera_gc16b3ofilmfrontmipiraw_Video_1080_30fps",
                "libCamera_gc16b3ofilmfrontmipiraw_Video_1080_60fps",
                "libCamera_gc16b3ofilmfrontmipiraw_Video_720",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib3a.ae.core",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/lib3a.ae.core.so",
            ],
            shared_libs: [
                "libutils",
                "libcutils",
                "liblog",
                "lib3a.log",
                "lib3a.ae",
                "libcamalgo.utility",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib3a.ae",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/lib3a.ae.so",
            ],
            shared_libs: [
                "libdl",
                "libSQLiteModule_VER_ALL",
                "libm",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib3a.ae.stat",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/lib3a.ae.stat.so",
            ],
            shared_libs: [
                "liblog",
                "libdl",
                "libm",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib3a.af.assist",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/lib3a.af.assist.so",
            ],
            shared_libs: [
                "libutils",
                "libcutils",
                "liblog",
                "lib3a.af.assist.utils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib3a.af.assist.utils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/lib3a.af.assist.utils.so",
            ],
            shared_libs: [
                "libion",
                "libion_mtk",
                "libdmabufheap",
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib3a.af.core",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/lib3a.af.core.so",
            ],
            shared_libs: [
                "libdl",
                "liblog",
                "libSQLiteModule_VER_ALL",
                "libm",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib3a.af",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/lib3a.af.so",
            ],
            shared_libs: [
                "libc",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib3a.alsflicker",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/lib3a.alsflicker.so",
            ],
            shared_libs: [
                "libm",
                "libdl",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib3a.awb.core",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/lib3a.awb.core.so",
            ],
            shared_libs: [
                "libdl",
                "libSQLiteModule_VER_ALL",
                "libm",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib3a.ccudrv",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/lib3a.ccudrv.so",
            ],
            shared_libs: [
                "lib3a.af.core",
                "liblog",
                "libcutils",
                "libutils",
                "libhardware",
                "libc++",
                "libmtkcam_modulehelper",
                "libion",
                "libcamalgo.utility",
                "libion_mtk",
                "libmtkcam_stdutils",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib3a.ccuif",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/lib3a.ccuif.so",
            ],
            shared_libs: [
                "lib3a.af.core",
                "libcameracustom.camera.3a",
                "liblog",
                "libcutils",
                "libutils",
                "libhardware",
                "libc++",
                "libion",
                "libdmabufheap",
                "libmtkcam_modulehelper",
                "libcam.iopipe",
                "libcamalgo.utility",
                "lib3a.ae.core",
                "libion_mtk",
                "lib3a.ccudrv",
                "libmtkcam_stdutils",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib3a.custom.ae",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/lib3a.custom.ae.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "lib3a.log",
                "lib3a.ae.core",
                "lib3a.ae",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib3a.dce",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/lib3a.dce.so",
            ],
            shared_libs: [
                "libcutils",
                "lib3a.log",
                "libcamalgo.utility",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib3a.flash",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/lib3a.flash.so",
            ],
            shared_libs: [
                "liblog",
                "libSQLiteModule_VER_ALL",
                "libm",
                "libdl",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib3a.flicker",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/lib3a.flicker.so",
            ],
            shared_libs: [
                "libdl",
                "libm",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib3a.gma",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/lib3a.gma.so",
            ],
            shared_libs: [
                "libcutils",
                "lib3a.log",
                "libcamalgo.utility",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib3a.lce",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/lib3a.lce.so",
            ],
            shared_libs: [
                "libcutils",
                "lib3a.log",
                "libcamalgo.utility",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib3a.log",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/lib3a.log.so",
            ],
            shared_libs: [
                "libutils",
                "libcutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib3a.n3d3a",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/lib3a.n3d3a.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "lib3a.log",
                "libutils",
                "lib3a.awb.core",
                "libcamalgo.utility",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib3a.sensors.color",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/lib3a.sensors.color.so",
            ],
            shared_libs: [
                "liblog",
                "libm",
                "libdl",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib3a.sensors.flicker",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/lib3a.sensors.flicker.so",
            ],
            shared_libs: [
                "liblog",
                "libm",
                "libdl",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Face_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipiraw_Face_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Flash_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipiraw_Flash_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_N3D_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipiraw_N3D_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_N3D_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipiraw_N3D_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_N3D_Video",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipiraw_N3D_Video.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_P1_YUV",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipiraw_P1_YUV.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipiraw_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Scene_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipiraw_Scene_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipiraw_Video_1080",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipiraw_Video_1080.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_3rd_Party_MFNR_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_3rd_Party_MFNR_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_3rd_Party_camera_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_3rd_Party_camera_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_3rd_Party_camera_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_3rd_Party_camera_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Capture_200M_Remosaic",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Capture_200M_Remosaic.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Capture_200M_Remosaic_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Capture_200M_Remosaic_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Capture_Face_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Capture_Face_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Capture_Face_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Capture_Face_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Capture_Face_portrait",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Capture_Face_portrait.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Capture_Face_professional",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Capture_Face_professional.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Capture_SE",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Capture_SE.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Capture_SE_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Capture_SE_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Capture_SE_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Capture_SE_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Capture_Scene_portrait",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Capture_Scene_portrait.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Capture_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Capture_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Capture_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Capture_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Capture_professional",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Capture_professional.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Capture_professional_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Capture_professional_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Capture_professional_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Capture_professional_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Capture_superNS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Capture_superNS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Capture_superNS_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Capture_superNS_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Capture_superNS_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Capture_superNS_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Default_Capture_XTS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Default_Capture_XTS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Default_Preview_XTS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Default_Preview_XTS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Dual_Video",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Dual_Video.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Face_200M_Remosaic",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Face_200M_Remosaic.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Face_200M_Remosaic_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Face_200M_Remosaic_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Face_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Face_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Face_Capture_200M",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Face_Capture_200M.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Face_Capture_200M_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Face_Capture_200M_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Face_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Face_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Face_Preview_200M",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Face_Preview_200M.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Flash_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Flash_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_HDR_EV0_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_HDR_EV0_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_HDR_EV0_Capture_face",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_HDR_EV0_Capture_face.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_HDR_EV_Neg_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_HDR_EV_Neg_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_HDR_EV_Pos_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_HDR_EV_Pos_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Half_bokeh_Face_capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Half_bokeh_Face_capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Half_bokeh_Face_preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Half_bokeh_Face_preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Half_bokeh_capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Half_bokeh_capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Half_bokeh_preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Half_bokeh_preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_LLHDR_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_LLHDR_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_M_bokeh_half",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_M_bokeh_half.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_N3D_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_N3D_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_N3D_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_N3D_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_N3D_Video",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_N3D_Video.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_P1_YUV",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_P1_YUV.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Preview_Face_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Preview_Face_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Preview_Face_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Preview_Face_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Preview_Face_professional",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Preview_Face_professional.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Preview_Vlog",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Preview_Vlog.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Preview_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Preview_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Preview_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Preview_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Preview_panorama",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Preview_panorama.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Preview_portrait",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Preview_portrait.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Preview_professional",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Preview_professional.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Preview_professional_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Preview_professional_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Preview_professional_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Preview_professional_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Preview_superNS",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Preview_superNS.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Preview_superNS_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Preview_superNS_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Preview_superNS_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Preview_superNS_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Scanner_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Scanner_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Scene_Capture_200M",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Scene_Capture_200M.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Scene_Capture_200M_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Scene_Capture_200M_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Scene_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Scene_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Scene_Preview_200M",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Scene_Preview_200M.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Video_1080",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Video_1080.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Video_1080_30_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Video_1080_30_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Video_1080_30_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Video_1080_30_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Video_1080_60",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Video_1080_60.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Video_1080_60_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Video_1080_60_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Video_1080_60_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Video_1080_60_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Video_720_120",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Video_720_120.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Video_720_120_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Video_720_120_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Video_720_120_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Video_720_120_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Video_720_30",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Video_720_30.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Video_720_30_Zoom1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Video_720_30_Zoom1.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_Video_720_30_Zoom2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_Video_720_30_Zoom2.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3ofilmmainmipirawn6r_capture_panorama",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3ofilmmainmipirawn6r_capture_panorama.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Face_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3samsungmainmipiraw_Face_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Flash_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3samsungmainmipiraw_Flash_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_N3D_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3samsungmainmipiraw_N3D_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_N3D_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3samsungmainmipiraw_N3D_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_N3D_Video",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3samsungmainmipiraw_N3D_Video.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_P1_YUV",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3samsungmainmipiraw_P1_YUV.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Scene_Capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3samsungmainmipiraw_Scene_Capture.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Scene_Preview",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3samsungmainmipiraw_Scene_Preview.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libCamera_s5khp3samsungmainmipiraw_Video_1080",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libCamera_s5khp3samsungmainmipiraw_Video_1080.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libDR",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libDR.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libSonyIMX230PdafLibrary",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libSonyIMX230PdafLibrary.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libSonyIMX230PdafLibraryWrapper",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libSonyIMX230PdafLibraryWrapper.so",
            ],
            shared_libs: [
                "libutils",
                "libcutils",
                "liblog",
                "libcam.hal3a.log",
                "libSonyIMX230PdafLibrary",
                "lib3a.af.core",
                "lib3a.af.assist",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libSonyIMX338PdafLibrary",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libSonyIMX338PdafLibrary.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libSonyIMX338PdafLibraryWrapper",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libSonyIMX338PdafLibraryWrapper.so",
            ],
            shared_libs: [
                "libutils",
                "libcutils",
                "liblog",
                "libcam.hal3a.log",
                "libSonyIMX338PdafLibrary",
                "lib3a.af.core",
                "lib3a.af.assist",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libSonyIMX386PdafLibrary",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libSonyIMX386PdafLibrary.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libSonyIMX386PdafLibraryWrapper",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libSonyIMX386PdafLibraryWrapper.so",
            ],
            shared_libs: [
                "libutils",
                "libcutils",
                "liblog",
                "libcam.hal3a.log",
                "libSonyIMX386PdafLibrary",
                "lib3a.af.core",
                "lib3a.af.assist",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libSonyIMX519PdafLibrary",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libSonyIMX519PdafLibrary.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libSonyIMX519PdafLibraryWrapper",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libSonyIMX519PdafLibraryWrapper.so",
            ],
            shared_libs: [
                "libutils",
                "libcutils",
                "liblog",
                "libcam.hal3a.log",
                "libSonyIMX519PdafLibrary",
                "lib3a.af.core",
                "lib3a.af.assist",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaaa_ltm",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libaaa_ltm.so",
            ],
            shared_libs: [
                "liblog",
                "libdl",
                "libm",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaaa_ltmx",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libaaa_ltmx.so",
            ],
            shared_libs: [
                "libm",
                "libdl",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaal_cust_func",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libaal_cust_func.so",
            ],
            shared_libs: [
                "libaal_mtk",
                "libcutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaalservice",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libaalservice.so",
            ],
            shared_libs: [
                "libutils",
                "libcutils",
                "liblog",
                "libaal_mtk",
                "libhardware",
                "libhidlbase",
                "libgralloc_extra",
                "android.frameworks.sensorservice@1.0",
                "android.hardware.sensors@1.0",
                "android.hardware.sensors@1.0-convert-shared",
                "libdrm",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libacdk",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libacdk.so",
            ],
            shared_libs: [
                "libcutils",
                "libimageio",
                "libcam.iopipe",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libcam.halsensor",
                "libmtkcam_metadata",
                "libdrm",
                "libminiui",
                "libhardware",
                "libutils",
                "libmtkcam_fwkutils",
                "libmtkcam_modulehelper",
                "libion",
                "libion_mtk",
                "libmtkcam_imem",
                "libmtkcam_metastore",
                "libJpgEncPipe",
                "liblog",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaiawb_moon",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libaiawb_moon.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaiawb_p1ggm",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libaiawb_p1ggm.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaiawb_sun",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libaiawb_sun.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaibc_tuning",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libaibc_tuning.so",
            ],
            shared_libs: [
                "liblog",
                "libc",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaibc_tuning_p2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libaibc_tuning_p2.so",
            ],
            shared_libs: [
                "liblog",
                "libc",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaibc_tuning_p3",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libaibc_tuning_p3.so",
            ],
            shared_libs: [
                "liblog",
                "libc",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaibc_tuning_p4",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libaibc_tuning_p4.so",
            ],
            shared_libs: [
                "liblog",
                "libc",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaidepth_tuning",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libaidepth_tuning.so",
            ],
            shared_libs: [
                "liblog",
                "libc",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaiselector",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libaiselector.so",
            ],
            shared_libs: [
                "libpq_prot",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.afhal",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.afhal.so",
            ],
            shared_libs: [
                "libaedv",
                "liblog",
                "libutils",
                "libcutils",
                "libladder",
                "libcam.hal3a.log",
                "libcamalgo.fdft",
                "libcam.utils.sensorprovider",
                "libmtkcam_modulehelper",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_hwutils",
                "libmtkcam_metadata",
                "libcam.pdtblgen",
                "lib3a.ccudrv",
                "lib3a.ccuif",
                "lib3a.af.core",
                "lib3a.af",
                "lib3a.af.assist",
                "lib3a.awb.core",
                "lib3a.flash",
                "libcam.hal3a.v3.nvram.50",
                "libcam.hal3a.v3.resultpool",
                "libfeatureiodrv_mem",
                "libcamera.customaf",
                "libcamera.custom.pd_buf_mgr",
                "libcameracustom.camera.isp",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.chdr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.chdr.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_metadata",
                "libmtkcam_ulog",
                "libcam.vhdr",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.feature_utils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.feature_utils.so",
            ],
            shared_libs: [
                "lib3a.af.core",
                "lib3a.flash",
                "libcutils",
                "libutils",
                "liblog",
                "libhardware",
                "libmtkcam_ulog",
                "lib3a.awb.core",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_metadata",
                "libmtkcam_metastore",
                "libdpframework",
                "libcam.iopipe",
                "libmtkcam_exif",
                "libmtkcam_modulehelper",
                "libmtkcam_tuning_utils",
                "lib3a.ae.core",
                "libcameracustom",
                "libmtkcam_mapping_mgr",
                "libaedv",
                "libdip_postproc",
                "libcam.halsensor",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.hal3a.cctsvr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.hal3a.cctsvr.so",
            ],
            shared_libs: [
                "libmtkcam_ulog",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "lib3a.awb.core",
                "lib3a.ae",
                "lib3a.ae.core",
                "libhardware",
                "libbinder",
                "libmtkcam_modulehelper",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_fwkutils",
                "libmtkcam_metadata",
                "libcam.iopipe",
                "libcam.hal3a.v3.platform",
                "libcam.hal3a.v3.nvram.50",
                "libcam.hal3a.v3.lsctbl.50",
                "libcam.hal3a.v3.lscMgr",
                "libcam.hal3a.v3.ae",
                "libcam.hal3a.v3.awb",
                "libcam.isptuning",
                "libcamalgo.lsc",
                "libcam.afhal",
                "lib3a.flash",
                "lib3a.af.core",
                "lib3a.af.assist",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.hal3a.log",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.hal3a.log.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.hal3a.v3.ae",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.hal3a.v3.ae.so",
            ],
            shared_libs: [
                "lib3a.ccudrv",
                "lib3a.ccuif",
                "liblog",
                "libutils",
                "libcutils",
                "libladder",
                "libcam.hal3a.v3.nvram.50",
                "lib3a.af.core",
                "lib3a.awb.core",
                "lib3a.flash",
                "libcam.iopipe",
                "libmtkcam_mapping_mgr",
                "libmtkcam_modulehelper",
                "libmtkcam_stdutils",
                "libcam.utils.sensorprovider",
                "lib3a.ae",
                "lib3a.ae.core",
                "lib3a.ae.stat",
                "lib3a.custom.ae",
                "libcam.hal3a.v3.awb",
                "libcamalgo.fdft",
                "libfeatureiodrv_mem",
                "libcam.hal3a.v3.fsmgr",
                "libcam.hal3a.v3.resultpool",
                "libmtkcam.atmseventmgr",
                "libmtkcam.MITPS",
                "libcamera.customae",
                "libcameracustom.camera.isp",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.hal3a.v3.ai3a",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.hal3a.v3.ai3a.so",
            ],
            shared_libs: [
                "lib3a.ccudrv",
                "lib3a.ccuif",
                "liblog",
                "libutils",
                "libcutils",
                "libladder",
                "libcameracustom",
                "libcam.hal3a.v3.nvram.50",
                "libcam.iopipe",
                "libmtkcam_mapping_mgr",
                "libmtkcam_modulehelper",
                "libmtkcam_stdutils",
                "libcam.utils.sensorprovider",
                "lib3a.awb.core",
                "libcamalgo.platform2",
                "libaiawb_sun",
                "libaiawb_moon",
                "libaiawb_p1ggm",
                "libimagebuffer_wrapper",
                "lib3a.ae.core",
                "lib3a.flash",
                "libcamalgo.fdft",
                "lib3a.af.core",
                "lib3a.af",
                "libfeatureiodrv_mem",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.hal3a.v3.awb",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.hal3a.v3.awb.so",
            ],
            shared_libs: [
                "lib3a.ccudrv",
                "lib3a.ccuif",
                "lib3a.n3d3a",
                "liblog",
                "libutils",
                "libcutils",
                "libladder",
                "libcam.hal3a.v3.nvram.50",
                "libcam.iopipe",
                "libmtkcam_mapping_mgr",
                "libmtkcam_modulehelper",
                "libmtkcam_stdutils",
                "libcam.utils.sensorprovider",
                "lib3a.awb.core",
                "lib3a.ae.core",
                "lib3a.flash",
                "libcamalgo.fdft",
                "lib3a.af.core",
                "lib3a.af",
                "libfeatureiodrv_mem",
                "libcamera.customawb",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.hal3a.v3.dng",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.hal3a.v3.dng.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libcam.hal3a.v3.nvram.50",
                "libcam.hal3a.v3.lsctbl.50",
                "libmtkcam_modulehelper",
                "libmtkcam_metadata",
                "libmtkcam_stdutils",
                "lib3a.ae.core",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.hal3a.v3.fsmgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.hal3a.v3.fsmgr.so",
            ],
            shared_libs: [
                "lib3a.ccudrv",
                "lib3a.ccuif",
                "liblog",
                "libutils",
                "libcutils",
                "libcam.seninfn3d",
                "lib3a.af.core",
                "lib3a.ae.core",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.hal3a.v3.lscMgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.hal3a.v3.lscMgr.so",
            ],
            shared_libs: [
                "libmtkcam_ulog",
                "liblog",
                "libutils",
                "libcutils",
                "lib3a.awb.core",
                "libcamalgo.ispfeature",
                "libcam.hal3a.v3.lsctbl.50",
                "libcam.hal3a.v3.nvram.50",
                "libmtkcam_stdutils",
                "libcameracustom",
                "libmtkcam_imgbuf",
                "libmtkcam_modulehelper",
                "libfeatureiodrv_mem",
                "libmtkcam_tuning_utils",
                "libmtkcam_mapping_mgr",
                "lib3a.flash",
                "libcam.tuning.cache",
                "libcameracustom.camera.isp",
                "libaedv",
                "lib3a.af.core",
                "lib3a.af.assist",
                "lib3a.ae.core",
                "libcamalgo.lsc",
                "libcam.halisp.buf",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.hal3a.v3.lsctbl.50",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.hal3a.v3.lsctbl.50.so",
            ],
            shared_libs: [
                "libmtkcam_ulog",
                "liblog",
                "libutils",
                "libcutils",
                "libcamalgo.lsc",
                "libmtkcam_stdutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.hal3a.v3.nvram.50",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.hal3a.v3.nvram.50.so",
            ],
            shared_libs: [
                "libmtkcam_ulog",
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_modulehelper",
                "libbinder",
                "lib3a.flash",
                "libfeatureiodrv_mem",
                "libaedv",
                "libcameracustom",
                "libcameracustom.camera.isp",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.hal3a.v3.platform",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.hal3a.v3.platform.so",
            ],
            shared_libs: [
                "lib3a.af.core",
                "lib3a.af.assist",
                "lib3a.ccudrv",
                "lib3a.ccuif",
                "libion",
                "libion_mtk",
                "lib3a.n3d3a",
                "libfeatureiodrv_mem",
                "libcamalgo.ispfeature",
                "libcamalgo.utility",
                "liblog",
                "libmtkcam_ulog",
                "libutils",
                "libcutils",
                "libladder",
                "libmtkcam_modulehelper",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_hwutils",
                "lib3a.flash",
                "lib3a.awb.core",
                "libcamalgo.lsc",
                "lib3a.flicker",
                "lib3a.alsflicker",
                "lib3a.sensors.flicker",
                "lib3a.sensors.color",
                "libmtkcam_metadata",
                "libmtkcam_sysutils",
                "libcam.pdtblgen",
                "libcam.iopipe",
                "libcam.hal3a.v3.resultpool",
                "libcam.hal3a.v3.nvram.50",
                "libcam.hal3a.v3.lsctbl.50",
                "libcam.hal3a.v3.lscMgr",
                "libcam.halisp.buf",
                "libcamdrv_tuning_mgr",
                "libcam.utils.sensorprovider",
                "libui",
                "libcam.hal3a.v3.ae",
                "libcam.hal3a.v3.fsmgr",
                "libcam.hal3a.v3.awb",
                "libcam.afhal",
                "libcamalgo.fdft",
                "libcamera.customae",
                "libcamera.customawb",
                "libcamera.customaf",
                "libcamera.customflk",
                "libcameracustom.flashlight",
                "libcameracustom.camera.3a",
                "libcameracustom.camera.isp",
                "libcameracustom.camera.sensors",
                "libcam.hal3a.v3.ai3a",
                "libhidlbase",
                "libhidltransport",
                "libhwbinder",
                "android.hardware.power@1.0",
                "vendor.mediatek.hardware.power@2.0",
                "libcamalgo.nr",
                "libmtkcam_mapping_mgr",
                "libaedv",
                "libmtkcam_tuning_utils",
                "libmtkcam.atmseventmgr",
                "libcameracustom",
                "lib3a.af",
                "lib3a.ae",
                "lib3a.ae.core",
                "lib3a.custom.ae",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.hal3a.v3.resultpool",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.hal3a.v3.resultpool.so",
            ],
            shared_libs: [
                "libfeatureiodrv_mem",
                "libcam.hal3a.v3.lscMgr",
                "libmtkcam_tuning_utils",
                "libcam.hal3a.v3.lsctbl.50",
                "libaedv",
                "liblog",
                "libutils",
                "libcutils",
                "libladder",
                "libcam.hal3a.log",
                "libcam.utils.sensorprovider",
                "libmtkcam_modulehelper",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_hwutils",
                "libmtkcam_metadata",
                "lib3a.ae.core",
                "lib3a.af.core",
                "lib3a.af",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.hal3a.v3",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.hal3a.v3.so",
            ],
            shared_libs: [
                "libcam.hal3a.v3.platform",
                "lib3a.ccudrv",
                "lib3a.ccuif",
                "lib3a.af.core",
                "libfeatureiodrv_mem",
                "libcamalgo.fdft",
                "liblog",
                "libutils",
                "libcutils",
                "libladder",
                "libmtkcam_modulehelper",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_hwutils",
                "lib3a.gma",
                "lib3a.lce",
                "libcamalgo.lsc",
                "lib3a.flicker",
                "libmtkcam_metadata",
                "libmtkcam_metastore",
                "libmtkcam_sysutils",
                "libcam.pdtblgen",
                "libcam.hal3a.log",
                "libcam.hal3a.v3.lscMgr",
                "libcam.hal3a.v3.resultpool",
                "libcam.hal3a.v3.nvram.50",
                "libcam.hal3a.v3.lsctbl.50",
                "libcamdrv_tuning_mgr",
                "libui",
                "libcameracustom.camera.3a",
                "libcamalgo.nr",
                "lib3a.ae.core",
                "libaedv",
                "libhardware",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.halisp.buf",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.halisp.buf.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_tuning_utils",
                "libmtkcam_stdutils",
                "libmtkcam_modulehelper",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.halisp.common",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.halisp.common.so",
            ],
            shared_libs: [
                "lib3a.ccudrv",
                "lib3a.ccuif",
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_sysutils",
                "libmtkcam_hwutils",
                "libmtkcam_modulehelper",
                "libcamdrv_tuning_mgr",
                "libaedv",
                "libhidlbase",
                "libhidltransport",
                "libhwbinder",
                "android.hardware.power@1.0",
                "vendor.mediatek.hardware.power@2.0",
                "libui",
                "libmtkcam_metadata",
                "libcamalgo.fdft",
                "lib3a.af.core",
                "lib3a.af.assist",
                "libcam.hal3a.v3.nvram.50",
                "libcam.hal3a.v3.lsctbl.50",
                "libcam.hal3a.v3.lscMgr",
                "libcam.hal3a.v3.resultpool",
                "libmtkcam_tuning_utils",
                "libmtkcam_mapping_mgr",
                "libcam.halisp.buf",
                "libcam.isptuning",
                "lib3a.ae.core",
                "libcam.hal3a.v3.ai3a",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.halisp",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.halisp.so",
            ],
            shared_libs: [
                "lib3a.ccudrv",
                "lib3a.ccuif",
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_sysutils",
                "libmtkcam_hwutils",
                "libmtkcam_modulehelper",
                "libcamdrv_tuning_mgr",
                "libcam.pdtblgen",
                "libaedv",
                "libhidlbase",
                "libhidltransport",
                "libhwbinder",
                "android.hardware.power@1.0",
                "vendor.mediatek.hardware.power@2.0",
                "vendor.mediatek.hardware.mtkpower@1.0",
                "libcamalgo.nr",
                "libui",
                "libmtkcam_metadata",
                "libcamalgo.ispfeature",
                "libcamalgo.fdft",
                "libcam.hal3a.v3.nvram.50",
                "libcam.hal3a.v3.lsctbl.50",
                "libcam.hal3a.v3.lscMgr",
                "lib3a.gma",
                "lib3a.lce",
                "lib3a.dce",
                "libaaa_ltm",
                "libcam.hal3a.v3.resultpool",
                "libmtkcam_tuning_utils",
                "libmtkcam_mapping_mgr",
                "libcam.halisp.buf",
                "libcam.halisp.common",
                "lib3a.ae.core",
                "libcam.isptuning",
                "libcameracustom",
                "lib3a.af.core",
                "lib3a.af.assist",
                "libcameracustom.camera.isp",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.halsensor.hwintegration",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.halsensor.hwintegration.so",
            ],
            shared_libs: [
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.halsensor",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.halsensor.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libutils",
                "libcameracustom",
                "libc++",
                "libmtkcam_modulehelper",
                "libmtkcam_stdutils",
                "libmtkcam_metadata",
                "libcamdrv_isp",
                "libmtkcam_ulog",
                "libcam.halsensor.hwintegration",
                "libcam.utils.sensorprovider",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.iopipe",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.iopipe.so",
            ],
            shared_libs: [
                "libdmabufheap",
                "libaedv",
                "liblog",
                "libutils",
                "libcutils",
                "libimageio_plat_drv",
                "libimageio_plat_pipe",
                "libdip_postproc",
                "libmtkcam_tuning_utils",
                "libmtkcam_modulehelper",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_metadata",
                "libcam.halsensor",
                "libimageio",
                "libcamdrv_isp",
                "libmtkcam_imem",
                "libhardware",
                "libdpframework",
                "libJpgEncPipe",
                "libheichal",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.isptuning",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.isptuning.so",
            ],
            shared_libs: [
                "libfeatureiodrv_mem",
                "libcamalgo.ispfeature",
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_modulehelper",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_ulog",
                "libmtkcam_hwutils",
                "lib3a.gma",
                "lib3a.lce",
                "lib3a.dce",
                "libaaa_ltmx",
                "libaaa_ltm",
                "libcamalgo.lsc",
                "lib3a.flicker",
                "libmtkcam_metadata",
                "libmtkcam_sysutils",
                "libcam.pdtblgen",
                "libcam.hal3a.v3.resultpool",
                "libcam.iopipe",
                "libcam.hal3a.v3.nvram.50",
                "libcam.hal3a.v3.lsctbl.50",
                "libcam.hal3a.v3.lscMgr",
                "libcam.halisp.buf",
                "libcam.tuning.cache",
                "libcamdrv_tuning_mgr",
                "libcam.utils.sensorprovider",
                "libui",
                "libhidlbase",
                "libhidltransport",
                "libhwbinder",
                "android.hardware.power@1.0",
                "vendor.mediatek.hardware.power@2.0",
                "vendor.mediatek.hardware.mtkpower@1.0",
                "libcamalgo.nr",
                "lib3a.ae.core",
                "libaedv",
                "libmtkcam_tuning_utils",
                "libmtkcam_mapping_mgr",
                "libmtkcam.atmseventmgr",
                "libmtkcam_scenariorecorder",
                "libcameracustom",
                "lib3a.af.core",
                "lib3a.af",
                "lib3a.af.assist",
                "lib3a.awb.core",
                "lib3a.flash",
                "libcameracustom.camera.isp",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.pdtblgen",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.pdtblgen.so",
            ],
            shared_libs: [
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libcam.iopipe",
                "libmtkcam_modulehelper",
                "liblog",
                "libcutils",
                "libutils",
                "libhardware",
                "lib3a.af.core",
                "libcamera.custom.pd_buf_mgr",
                "lib3a.af.assist",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.tuning.cache",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.tuning.cache.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_tuning_utils",
                "libmtkcam_stdutils",
                "libmtkcam_modulehelper",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.utils.sensorprovider",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.utils.sensorprovider.so",
            ],
            shared_libs: [
                "android.hardware.sensors@1.0-convert-shared",
                "liblog",
                "libmtkcam_ulog",
                "libutils",
                "libcutils",
                "libmtkcam_stdutils",
                "android.hardware.sensors@2.0",
                "libhidlbase",
                "libhidltransport",
                "libhardware",
                "libmtkcam_modulehelper",
                "libcamalgo.gyro",
                "libmtkcam_imgbuf",
                "libhfmanager",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcam.vhdr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcam.vhdr.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_modulehelper",
                "libmtkcam_metadata",
                "libmtkcam_metastore",
                "libmtkcam_stdutils",
                "libmtkcam_sysutils",
                "libmtkcam_ulog",
                "libaedv",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamalgo.ispfeature",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcamalgo.ispfeature.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libhardware",
                "libutils",
                "libcamalgo.utility",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamalgo.lsc",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcamalgo.lsc.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libmtk_drvb",
                "libcamalgo.utility",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamalgo.platform2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcamalgo.platform2.so",
            ],
            shared_libs: [
                "libion_mtk",
                "libion",
                "libdmabufheap",
                "libmtkcam_tuning_utils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamalgo.rotate",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcamalgo.rotate.so",
            ],
            shared_libs: [
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamalgo.vsf",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcamalgo.vsf.so",
            ],
            shared_libs: [
                "libcamalgo.platform",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamdrv_isp",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcamdrv_isp.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libion",
                "libion_mtk",
                "libmtkcam_imem",
                "libmtkcam_stdutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamdrv_tuning_mgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcamdrv_tuning_mgr.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libutils",
                "libmtkcam_imgbuf",
                "libmtkcam_imem",
                "libbinder",
                "libcamdrv_isp",
                "libmtkcam_stdutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamdrv_twin",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcamdrv_twin.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libaedv",
                "libmtkcam_stdutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamera.custom.pd_buf_mgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcamera.custom.pd_buf_mgr.so",
            ],
            shared_libs: [
                "lib3a.af.core",
                "lib3a.af.assist",
                "liblog",
                "libutils",
                "libcutils",
                "libaedv",
                "libcam.hal3a.log",
                "libmtkcam_stdutils",
                "libSonyIMX230PdafLibraryWrapper",
                "libSonyIMX386PdafLibraryWrapper",
                "libSonyIMX338PdafLibraryWrapper",
                "libSonyIMX519PdafLibraryWrapper",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamera.customae",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcamera.customae.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libutils",
                "lib3a.ae",
                "lib3a.ae.core",
                "libcameracustom.camera.isp",
                "libmtkcam.atmseventmgr",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamera.customaf",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcamera.customaf.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libutils",
                "lib3a.af.core",
                "libcam.hal3a.log",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamera.customawb",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcamera.customawb.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libutils",
                "lib3a.awb.core",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcamera.customflk",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcamera.customflk.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcameracustom.camera.3a",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcameracustom.camera.3a.so",
            ],
            shared_libs: [
                "liblog",
                "libcam.hal3a.log",
                "lib3a.flash",
                "lib3a.awb.core",
                "lib3a.af.core",
                "lib3a.af.assist",
                "lib3a.ae",
                "lib3a.ae.core",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcameracustom.camera.isp",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcameracustom.camera.isp.so",
            ],
            shared_libs: [
                "liblog",
                "libaedv",
                "libutils",
                "libcutils",
                "lib3a.flash",
                "lib3a.awb.core",
                "lib3a.af.core",
                "lib3a.af.assist",
                "libcameracustom.lens",
                "libcameracustom.camera.3a",
                "libcameracustom",
                "libmtkcam_stdutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcameracustom.camera.sensors",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcameracustom.camera.sensors.so",
            ],
            shared_libs: [
                "lib3a.alsflicker",
                "lib3a.sensors.flicker",
                "lib3a.sensors.color",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcameracustom.camera_exif",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcameracustom.camera_exif.so",
            ],
            shared_libs: [
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcameracustom.eis",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcameracustom.eis.so",
            ],
            shared_libs: [
                "libutils",
                "libcutils",
                "libmtkcam_stdutils",
                "libcam.halsensor",
                "vendor.mediatek.hardware.power@1.1",
                "libhidlbase",
                "libhidltransport",
                "libhwbinder",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcameracustom.flashlight",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcameracustom.flashlight.so",
            ],
            shared_libs: [
                "liblog",
                "lib3a.flash",
                "lib3a.ae.core",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcameracustom.lens",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcameracustom.lens.so",
            ],
            shared_libs: [
                "lib3a.ae.core",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcameracustom.plugin",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcameracustom.plugin.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_stdutils",
                "libremosaic_wrapper",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcameracustom",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libcameracustom.so",
            ],
            shared_libs: [
                "lib3a.ae",
                "lib3a.ae.core",
                "lib3a.awb.core",
                "liblog",
                "libutils",
                "libcutils",
                "libaedv",
                "libcam.hal3a.log",
                "libmtkcam_stdutils",
                "libcameracustom.lens",
                "s5khp3_ofilm_main_mipi_raw_IdxMgr",
                "s5khp3_ofilm_main_mipi_raw_n6r_IdxMgr",
                "s5khpx_sunny_main_mipi_raw_IdxMgr",
                "s5khp3_samsung_main_mipi_raw_IdxMgr",
                "ov64b40_sunny_main_mipi_raw_IdxMgr",
                "ov16a1q_ofilm_front_mipi_raw_IdxMgr",
                "ov16a1q_aac_front_mipi_raw_IdxMgr",
                "gc16b3_ofilm_front_mipi_raw_IdxMgr",
                "gc16b3_ofilm_front_mipi_raw_n6r_IdxMgr",
                "gc16b3_aac_front_mipi_raw_IdxMgr",
                "gc16b3_aac_front_mipi_raw_n6r_IdxMgr",
                "ov02b10_truly_macro_mipi_raw_IdxMgr",
                "ov02b10_truly_macro_mipi_raw_n6r_IdxMgr",
                "ov02b10_aac_macro_mipi_raw_IdxMgr",
                "ov08d10_ofilm_ultra_mipi_raw_IdxMgr",
                "ov08d10_ofilm_ultra_mipi_raw_n6r_IdxMgr",
                "ov08d10_aac_ultra_mipi_raw_IdxMgr",
                "libmtkcam_modulehelper",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libdip_drv",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libdip_drv.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libmtkcam_imem",
                "libmtkcam_stdutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libdip_postproc",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libdip_postproc.so",
            ],
            shared_libs: [
                "libutils",
                "liblog",
                "libcutils",
                "libc++",
                "libaedv",
                "libmtkcam_diputils",
                "libmtkcam_imem",
                "libdip_drv",
                "libdpframework",
                "libmtkcam_imgbuf",
                "libdmabufheap",
                "libmtkcam_stdutils",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libdpframework",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libdpframework.so",
            ],
            shared_libs: [
                "libaiselector",
                "libdmabufheap",
                "vendor.mediatek.hardware.mmagent@1.0",
                "libhidlbase",
                "libhidlmemory",
                "vendor.mediatek.hardware.pq@2.0",
                "libgralloc_extra",
                "libpq_prot",
                "libutils",
                "libion",
                "libcutils",
                "liblog",
                "libsync",
                "libhardware",
                "libnativewindow",
                "libutilscallstack",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libeffecthal.base",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libeffecthal.base.so",
            ],
            shared_libs: [
                "libui",
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libcameracustom",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libfeature.face",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libfeature.face.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libhardware",
                "libbinder",
                "libnativewindow",
                "libmtkcam_metadata",
                "libmtkcam_metastore",
                "libeffecthal.base",
                "libmtkcam_ulog",
                "libmtkcam_stdutils",
                "libcameracustom",
                "libdpframework",
                "libmtkcam_imgbuf",
                "libmtkcam_fdvt",
                "libcamalgo.fdft",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libfeature.stereo.provider",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libfeature.stereo.provider.so",
            ],
            shared_libs: [
                "libmtkcam_ulog",
                "liblog",
                "libcutils",
                "libutils",
                "libnativewindow",
                "libmtkcam_modulehelper",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libcameracustom",
                "libmtkcam_metadata",
                "libgralloc_extra",
                "libsync",
                "libmtkcam.logicalmodule",
                "libfeatureiodrv_mem",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libfeature.vsdof.hal",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libfeature.vsdof.hal.so",
            ],
            shared_libs: [
                "libcamalgo.n3d",
                "libcamalgo.vsf",
                "libmtkcam_ulog",
                "liblog",
                "libcutils",
                "libutils",
                "libnativewindow",
                "libmtkcam_modulehelper",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libnvram",
                "libcameracustom",
                "libdpframework",
                "libmtkcam_metadata",
                "libmtkcam_metastore",
                "libgralloc_extra",
                "libcam.iopipe",
                "libsync",
                "libfeature.stereo.provider",
                "libmtkcam_tuning_utils",
                "libfeatureiodrv_mem",
                "libmtkcam_calibration_provider",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libfeature_3dnr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libfeature_3dnr.so",
            ],
            shared_libs: [
                "liblog",
                "libmtkcam_ulog",
                "libutils",
                "libcutils",
                "libhardware",
                "libmtkcam_sysutils",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_metadata",
                "libmtkcam_modulehelper",
                "libcam.utils.sensorprovider",
                "libcamalgo.3dnr",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libfeature_eis",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libfeature_eis.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libcamalgo.lmv",
                "libcamalgo.eis",
                "libcamalgo.gyro",
                "libcamalgo.fsc",
                "libfeature_lmv",
                "libmtkcam_modulehelper",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_ulog",
                "libmtkcam_sysutils",
                "libnvram",
                "libcameracustom",
                "libcam.utils.sensorprovider",
                "lib3a.ae.core",
                "libcameracustom.eis",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libfeature_fsc",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libfeature_fsc.so",
            ],
            shared_libs: [
                "liblog",
                "libmtkcam_ulog",
                "libutils",
                "libcutils",
                "libhardware",
                "libmtkcam_sysutils",
                "libmtkcam_stdutils",
                "libmtkcam_metadata",
                "libcamalgo.fsc",
                "libcameracustom",
                "libcameracustom.eis",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libfeature_lmv",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libfeature_lmv.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libcamalgo.lmv",
                "libcamalgo.gyro",
                "libcamalgo.eis",
                "libcamalgo.fsc",
                "libmtkcam_modulehelper",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_ulog",
                "libmtkcam_sysutils",
                "libmtkcam_metadata",
                "libcameracustom",
                "libcam.utils.sensorprovider",
                "libcameracustom.eis",
                "libaedv",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libfeature_rss",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libfeature_rss.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libhardware",
                "libmtkcam_ulog",
                "libmtkcam_sysutils",
                "libmtkcam_stdutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libfeatureiodrv_mem",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libfeatureiodrv_mem.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libutils",
                "libcam.halsensor",
                "libcameracustom",
                "libbinder",
                "libmtkcam_ulog",
                "libmtkcam_modulehelper",
                "lib3a.flash",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libgpudataproducer",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libgpudataproducer.so",
            ],
            shared_libs: [
                "liblog",
                "libdmabufheap",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libimageio",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libimageio.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libimageio_plat_drv",
                "libimageio_plat_pipe",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libimageio_plat_drv",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libimageio_plat_drv.so",
            ],
            shared_libs: [
                "libaedv",
                "libcamdrv_tuning_mgr",
                "liblog",
                "libcutils",
                "libdpframework",
                "libutils",
                "libcamdrv_isp",
                "libmtkcam_imem",
                "libcamdrv_twin",
                "libmtkcam_stdutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libimageio_plat_pipe",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libimageio_plat_pipe.so",
            ],
            shared_libs: [
                "libutils",
                "liblog",
                "libcutils",
                "libaedv",
                "libimageio_plat_drv",
                "libcamdrv_isp",
                "libmtkcam_stdutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "liblpcnr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/liblpcnr.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmnl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmnl.so",
            ],
            shared_libs: [
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmsnr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmsnr.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam.atmseventmgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam.atmseventmgr.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam.eventcallback",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam.eventcallback.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libutils",
                "libmtkcam_stdutils",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam.featurepipe.capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam.featurepipe.capture.so",
            ],
            shared_libs: [
                "libcamalgo.fdft",
                "lib3a.af.core",
                "lib3a.flash",
                "liblog",
                "libutils",
                "libcutils",
                "libladder",
                "libnativewindow",
                "libmtkcam_modulehelper",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_ulog",
                "libcam.iopipe",
                "libdpframework",
                "libgralloc_extra",
                "libcameracustom",
                "libmtkcam_tuning_utils",
                "libmtkcam_metadata",
                "libcam.feature_utils",
                "libmtkcam_scenariorecorder",
                "libcamalgo.dngop",
                "libmtkcam_debugutils",
                "lib3a.ae.core",
                "libmtkcam_hwutils",
                "libfeature.face",
                "libhidlbase",
                "libmtkcam_exif",
                "libmtkcam.featurepipe.vsdof_util",
                "libmtkcam_metastore",
                "libmtkcam_3rdparty",
                "libmtkcam_3rdparty.core",
                "libmtkcam_mapping_mgr",
                "libfeature.stereo.provider",
                "lib3a.awb.core",
                "libmtkcam_sysutils",
                "libaedv",
                "libmsnr",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam.featurepipe.depthmap",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam.featurepipe.depthmap.so",
            ],
            shared_libs: [
                "libaedv",
                "liblog",
                "libnativewindow",
                "libutils",
                "libcutils",
                "libmtkcam_modulehelper",
                "libcam.iopipe",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_ulog",
                "libfeature.vsdof.hal",
                "libcamalgo.fdft",
                "libfeature.stereo.provider",
                "libeffecthal.base",
                "libgralloc_extra",
                "libfeature.face",
                "libmtkcam_metadata",
                "libmtkcam.featurepipe.vsdof_util",
                "libcameracustom",
                "libmtkcam_metastore",
                "libmtkcam_owe",
                "libfeature_3dnr",
                "libJpgEncPipe",
                "libmtkcam_exif",
                "libsync",
                "libdpframework",
                "libion",
                "libion_mtk",
                "libmtkcam_tuning_utils",
                "libcam.feature_utils",
                "libladder",
                "libfeatureiodrv_mem",
                "libmtkcam_hwutils",
                "libcamalgo.rotate",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam.featurepipe.streaming",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam.featurepipe.streaming.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libladder",
                "libnativewindow",
                "libcamalgo.warp",
                "libcamalgo.fsc",
                "libmtkcam_modulehelper",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_ulog",
                "libcam.iopipe",
                "libmtkcam_rsc",
                "libdpframework",
                "libgralloc_extra",
                "libfeature.face",
                "libcameracustom",
                "libfeature_3dnr",
                "libfeature_fsc",
                "libmtkcam_tuning_utils",
                "libcam.feature_utils",
                "libmtkcam_3rdparty",
                "libmtkcam_3rdparty.core",
                "libcamalgo.lmv",
                "libcamalgo.gyro",
                "libcamalgo.eis",
                "libmtkcam_scenariorecorder",
                "libmtkcam_hwutils",
                "libfeature.vsdof.hal",
                "libmtkcam_mfb",
                "libfeature_eis",
                "libcameracustom.eis",
                "libmtkcam.featurepipe.depthmap",
                "libmtkcam.featurepipe.vsdof_util",
                "libJpgEncPipe",
                "libmtkcam_exif",
                "libmtkcam_metadata",
                "libcamalgo.fdft",
                "libfeature.stereo.provider",
                "libhardware",
                "libion",
                "libmtkcam_debugutils",
                "libcam.utils.sensorprovider",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam.featurepipe.vsdof_util",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam.featurepipe.vsdof_util.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_modulehelper",
                "libmtkcam_ulog",
                "libgralloc_extra",
                "libeffecthal.base",
                "libcam.iopipe",
                "libion",
                "libion_mtk",
                "libdpframework",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam.logicalmodule",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam.logicalmodule.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_modulehelper",
                "libmtkcam_metadata",
                "libmtkcam_ulog",
                "libmtkcam_stdutils",
                "libcameracustom",
                "libaedv",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_3rdparty.core",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_3rdparty.core.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_imgbuf",
                "libmtkcam_metadata",
                "libmtkcam_stdutils",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_3rdparty.customer",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_3rdparty.customer.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_ulog",
                "libmtkcam_imgbuf",
                "libmtkcam_metadata",
                "libmtkcam_stdutils",
                "libmtkcam_3rdparty.core",
                "libcameracustom",
                "libmtkcam_metastore",
                "libcam.utils.sensorprovider",
                "libmorpho_video_stabilizer",
                "libui",
                "libcam.iopipe",
                "libmtkcam_modulehelper",
                "libnativewindow",
                "libhardware",
                "libcamalgo.fdft",
                "libmtkcam_streamutils",
                "libmtkcam_pipeline",
                "libcamalgo.dngop",
                "libmtkcam_sysutils",
                "libmtkcam_tuning_utils",
                "libmtkcam.atmseventmgr",
                "libmorpho_ldc_preview",
                "libmi_bokehpre",
                "libanc_night_preview",
                "libwa_rtdof",
                "libanc_dc_base",
                "hq_algoutils",
                "libmtkcam.MITPS",
                "libTrueSight",
                "libEGL",
                "libGLESv2",
                "libGLESv3",
                "libsync",
                "libOpenCL",
                "libMiVideoFilter",
                "libmorpho_MFNR",
                "libfeature.stereo.provider",
                "libmtkcam_hwutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_3rdparty.mtk",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_3rdparty.mtk.so",
            ],
            shared_libs: [
                "hq_algoutils",
                "libmorpho_HdrChecker",
                "libmialgo_sd",
                "libcamera_scene",
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_ulog",
                "libmtkcam_stdutils",
                "libmtkcam_metadata",
                "libmtkcam_metastore",
                "libmtkcam.MITPS",
                "libcamalgo.fdft",
                "libcamalgo.dngop",
                "libmtkcam_hwutils",
                "libmtkcam_imgbuf",
                "libmtkcam_modulehelper",
                "libmtkcam_3rdparty.core",
                "libmtkcam_scenariorecorder",
                "libmtkcam_tuning_utils",
                "libcam.iopipe",
                "libmtkcam_mapping_mgr",
                "libcameracustom",
                "libdpframework",
                "libmtkcam.featurepipe.vsdof_util",
                "libfeature.stereo.provider",
                "liblpcnr",
                "libmtkcam.featurepipe.depthmap",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_3rdparty",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_3rdparty.so",
            ],
            shared_libs: [
                "libmtkcam_3rdparty.core",
                "libmtkcam_3rdparty.mtk",
                "libmtkcam_3rdparty.customer",
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_ulog",
                "libmtkcam_stdutils",
                "libmtkcam_metadata",
                "libcamalgo.dngop",
                "libmtkcam_hwutils",
                "libmtkcam_imgbuf",
                "libmtkcam_modulehelper",
                "libmtkcam_tuning_utils",
                "libcam.iopipe",
                "libmtkcam_mapping_mgr",
                "libcameracustom",
                "libdpframework",
                "libmtkcam.featurepipe.vsdof_util",
                "libfeature.stereo.provider",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_calibration_convertor",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_calibration_convertor.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_calibration_provider",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_calibration_provider.so",
            ],
            shared_libs: [
                "libfeatureiodrv_mem",
                "libmtkcam_ulog",
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_modulehelper",
                "libmtkcam_stdutils",
                "libcameracustom",
                "libmtkcam_calibration_convertor",
                "libfeature.stereo.provider",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_debugutils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_debugutils.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libladder",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_device3_app",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_device3_app.so",
            ],
            shared_libs: [
                "libmtkcam_device3_utils",
                "liblog",
                "libutils",
                "libcutils",
                "libcamera_metadata",
                "libmtkcam_stdutils",
                "libmtkcam_ulog",
                "libmtkcam_metadata",
                "libmtkcam_debugutils",
                "libmtkcam_grallocutils",
                "libmtkcam_imgbuf",
                "libmtkcam_streamutils",
                "libnativewindow",
                "libmtkcam_metastore",
                "libmtkcam_modulehelper",
                "libmtkcam_hwutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_device3_hal",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_device3_hal.so",
            ],
            shared_libs: [
                "libmtkcam_device3_utils",
                "liblog",
                "libutils",
                "libcutils",
                "libladder",
                "libcamera_metadata",
                "libmtkcam_sysutils",
                "libmtkcam_stdutils",
                "libmtkcam_ulog",
                "libmtkcam_metadata",
                "libmtkcam_metastore",
                "libmtkcam_modulehelper",
                "libmtkcam_device3_app",
                "libmtkcam_devicesessionpolicy",
                "libmtkcam_pipelinemodel",
                "libcam.utils.sensorprovider",
                "libmtkcam.atmseventmgr",
                "libmtkcam_hwutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_device3_hidl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_device3_hidl.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libhardware",
                "libhidlbase",
                "libhidltransport",
                "libfmq",
                "android.hardware.camera.device@3.2",
                "android.hardware.camera.device@3.3",
                "android.hardware.camera.device@3.4",
                "android.hardware.camera.device@3.5",
                "android.hardware.camera.device@3.6",
                "libcamera_metadata",
                "libmtkcam_metadata",
                "libmtkcam_stdutils",
                "libmtkcam_debugutils",
                "libmtkcam_ulog",
                "libmtkcam_device3_hal",
                "libmtkcam_device3_hidlutils",
                "libmemunreachable",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_device3_hidlutils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_device3_hidlutils.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libhardware",
                "libhidlbase",
                "libhidltransport",
                "libfmq",
                "android.hardware.camera.device@3.2",
                "android.hardware.camera.device@3.3",
                "android.hardware.camera.device@3.4",
                "android.hardware.camera.device@3.5",
                "android.hardware.camera.device@3.6",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_grallocutils",
                "libmtkcam_hwutils",
                "libmtkcam_sysutils",
                "libmtkcam_metadata",
                "libmtkcam_modulehelper",
                "libmtkcam_streamutils",
                "libcamera_metadata",
                "libmtkcam_ulog",
                "libaedv",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_device3_utils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_device3_utils.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libsync",
                "libcamera_metadata",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_grallocutils",
                "libmtkcam_hwutils",
                "libmtkcam_sysutils",
                "libmtkcam_metadata",
                "libmtkcam_modulehelper",
                "libmtkcam_streamutils",
                "android.hardware.graphics.common@1.2",
                "libmtkcam_ulog",
                "libaedv",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_devicesessionpolicy",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_devicesessionpolicy.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libcamera_metadata",
                "libmtkcam_imgbuf",
                "libmtkcam_stdutils",
                "libmtkcam_metadata",
                "libmtkcam_metastore",
                "libmtkcam_modulehelper",
                "libmtkcam_ulog",
                "libmtkcam_device3_utils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_diputils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_diputils.so",
            ],
            shared_libs: [
                "liblog",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_exif",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_exif.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_modulehelper",
                "libmtkcam_metadata",
                "libmtkcam_stdutils",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_fdvt",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_fdvt.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libdpframework",
                "libion",
                "libdmabufheap",
                "libmtkcam_imem",
                "libmtkcam_stdutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_featurepolicy",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_featurepolicy.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_ulog",
                "libmtkcam_stdutils",
                "libmtkcam_hwutils",
                "libmtkcam_metadata",
                "libmtkcam_metastore",
                "libmtkcam_3rdparty",
                "libmtkcam_3rdparty.core",
                "libmtkcam_modulehelper",
                "libmtkcam_exif",
                "libmtkcam_sysutils",
                "libmtkcam_scenariorecorder",
                "libmtkcam_featureutils",
                "libcameracustom",
                "libfeature.stereo.provider",
                "libmtkcam.atmseventmgr",
                "libcameracustom.eis",
                "libaedv",
                "libcam.feature_utils",
                "libcam.vhdr",
                "libcam.chdr",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_featureutils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_featureutils.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_stdutils",
                "libmtkcam_debugutils",
                "libmtkcam_hwutils",
                "libmtkcam_modulehelper",
                "libmtkcam.logicalmodule",
                "libmtkcam_streamutils",
                "libfeature.stereo.provider",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_fwkutils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_fwkutils.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_grallocutils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_grallocutils.so",
            ],
            shared_libs: [
                "libgralloc_extra",
                "liblog",
                "libutils",
                "libsync",
                "libcutils",
                "libui",
                "libmtkcam_stdutils",
                "libmtkcam_ulog",
                "libhidlbase",
                "libhardware",
                "android.hardware.graphics.allocator@2.0",
                "android.hardware.graphics.allocator@4.0",
                "android.hardware.graphics.mapper@2.0",
                "android.hardware.graphics.mapper@4.0",
                "android.hardware.graphics.common@1.2",
                "libgralloctypes",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_hwnode",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_hwnode.so",
            ],
            shared_libs: [
                "libmtkcam.atmseventmgr",
                "libmtkcam_stdutils",
                "liblog",
                "libutils",
                "libcutils",
                "libhardware",
                "libgralloc_extra",
                "libdmabufheap",
                "android.hardware.camera.device@3.2",
                "libmtkcam_modulehelper",
                "libmtkcam_ulog",
                "libmtkcam_grallocutils",
                "libmtkcam_imgbuf",
                "libmtkcam_streamutils",
                "libmtkcam_hwutils",
                "libmtkcam_metadata",
                "libmtkcam_metastore",
                "libmtkcam_prerelease",
                "libcam.feature_utils",
                "libcameracustom",
                "libcam.utils.sensorprovider",
                "libcam.iopipe",
                "libfeature_lmv",
                "libfeature_3dnr",
                "libfeature_rss",
                "libfeature_fsc",
                "libion_mtk",
                "libion",
                "libmtkcam_pipeline",
                "libfeature_eis",
                "libcameracustom.eis",
                "libaedv",
                "libladder",
                "libmtkcam_exif",
                "libstereoinfoaccessor_vsdof",
                "libmtkcam_sysutils",
                "libcam.vhdr",
                "libcamalgo.dngop",
                "libcamalgo.lmv",
                "libcamalgo.gyro",
                "libcamalgo.eis",
                "libcamalgo.fdft",
                "libfeature.face",
                "libcamalgo.fsc",
                "libdpframework",
                "libmtkcam_tuning_utils",
                "libmtkcam_scenariorecorder",
                "libmtkcam_mapping_mgr",
                "libmtkcam.featurepipe.streaming",
                "libmtkcam.featurepipe.capture",
                "libmtkcam_synchelper",
                "lib3a.flash",
                "lib3a.awb.core",
                "lib3a.af.core",
                "lib3a.ae.core",
                "libfeature.stereo.provider",
                "libmediandk",
                "libexif",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_hwutils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_hwutils.so",
            ],
            shared_libs: [
                "libfeature.stereo.provider",
                "liblog",
                "libmtkcam_ulog",
                "libutils",
                "libcutils",
                "libhardware",
                "libladder",
                "libmtkcam_modulehelper",
                "libmtkcam_stdutils",
                "libmtkcam_debugutils",
                "libbwc",
                "libcameracustom",
                "libcamalgo.fdft",
                "libmtkcam_sysutils",
                "libhidlbase",
                "libhidltransport",
                "libhwbinder",
                "android.hardware.power@1.0",
                "vendor.mediatek.hardware.mtkpower@1.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_imem",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_imem.so",
            ],
            shared_libs: [
                "libaedv",
                "liblog",
                "libcutils",
                "libc++",
                "libion",
                "libdmabufheap",
                "libion_mtk",
                "libmtkcam_stdutils",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_imgbuf",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_imgbuf.so",
            ],
            shared_libs: [
                "libmtkcam_imem",
                "liblog",
                "libutils",
                "libcutils",
                "libnativewindow",
                "libion",
                "libion_mtk",
                "libaedv",
                "libdmabufheap",
                "libmtkcam_stdutils",
                "libmtkcam_debugutils",
                "libmtkcam_grallocutils",
                "libgralloc_extra",
                "libmtkcam_sysutils",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_mapping_mgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_mapping_mgr.so",
            ],
            shared_libs: [
                "libmtkcam_modulehelper",
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_stdutils",
                "libmtkcam_debugutils",
                "libmtkcam_grallocutils",
                "libmtkcam_sysutils",
                "libutilscallstack",
                "libaedv",
                "lib3a.awb.core",
                "lib3a.af.core",
                "lib3a.ae.core",
                "libmtkcam_scenariorecorder",
                "libcam.hal3a.v3.nvram.50",
                "lib3a.flash",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_metadata",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_metadata.so",
            ],
            shared_libs: [
                "libaedv",
                "liblog",
                "libmtkcam_ulog",
                "libutils",
                "libladder",
                "libcutils",
                "libhidlbase",
                "libmtkcam_stdutils",
                "libcamera_metadata",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_metastore",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_metastore.so",
            ],
            shared_libs: [
                "liblog",
                "libmtkcam_ulog",
                "libutils",
                "libcutils",
                "libcamera_metadata",
                "libmtkcam_metadata",
                "libmtkcam_modulehelper",
                "libmtkcam_stdutils",
                "libmtkcam_calibration_convertor",
                "libmtkcam_calibration_provider",
                "libfeature.stereo.provider",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_mfb",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_mfb.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libdpframework",
                "libmtkcam_tuning_utils",
                "libmtkcam_imgbuf",
                "libmtkcam_imem",
                "libmtkcam_stdutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_modulefactory_aaa",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_modulefactory_aaa.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libhardware",
                "libmtkcam_ulog",
                "libcam.hal3a.v3",
                "libcam.hal3a.v3.dng",
                "libcam.hal3a.v3.lsctbl.50",
                "libcam.hal3a.v3.nvram.50",
                "libcam.hal3a.v3.platform",
                "libcam.halisp",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_modulefactory_custom",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_modulefactory_custom.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libmtkcam_ulog",
                "libcameracustom.camera_exif",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_modulefactory_drv",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_modulefactory_drv.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libhardware",
                "libmtkcam_ulog",
                "libcam.halsensor",
                "libcam.iopipe",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_modulefactory_utils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_modulefactory_utils.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libhardware",
                "libmtkcam_ulog",
                "libmtkcam.logicalmodule",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_modulehelper",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_modulehelper.so",
            ],
            shared_libs: [
                "liblog",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_owe",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_owe.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libmtkcam_stdutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_pipeline",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_pipeline.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libhardware",
                "libaedv",
                "libmtkcam_stdutils",
                "libmtkcam_debugutils",
                "libmtkcam_ulog",
                "libmtkcam_metadata",
                "libmtkcam_streamutils",
                "libmtkcam_pipeline_fbm",
                "libmtkcam_prerelease",
                "libmtkcam_hwutils",
                "libmtkcam_scenariorecorder",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_pipeline_fbm",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_pipeline_fbm.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_debugutils",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_metadata",
                "libmtkcam_streamutils",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_pipelinemodel",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_pipelinemodel.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_stdutils",
                "libmtkcam_debugutils",
                "libmtkcam_hwutils",
                "libmtkcam_featureutils",
                "libmtkcam_modulehelper",
                "libmtkcam_metadata",
                "libmtkcam_metastore",
                "libmtkcam_pipelinemodel_session",
                "libmtkcam_pipelinemodel_adapter",
                "libmtkcam_pipelinemodel_capture",
                "libmtkcam.logicalmodule",
                "libfeature.stereo.provider",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_pipelinemodel_adapter",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_pipelinemodel_adapter.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_stdutils",
                "libmtkcam_modulehelper",
                "libmtkcam_hwutils",
                "libmtkcam_featureutils",
                "libmtkcam_ulog",
                "libaedv",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_pipelinemodel_capture",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_pipelinemodel_capture.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_stdutils",
                "libmtkcam_metadata",
                "libmtkcam_hwutils",
                "libmtkcam_streamutils",
                "libmtkcam_pipeline",
                "libmtkcam_prerelease",
                "libmtkcam_sysutils",
                "libmtkcam_pipelinemodel_utils",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_pipelinemodel_isp",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_pipelinemodel_isp.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_ulog",
                "libmtkcam_stdutils",
                "libmtkcam_debugutils",
                "libmtkcam_hwutils",
                "libmtkcam_sysutils",
                "libmtkcam_modulehelper",
                "libmtkcam_metadata",
                "libmtkcam_metastore",
                "libmtkcam_3rdparty",
                "libmtkcam_3rdparty.core",
                "libmtkcam_streamutils",
                "libmtkcam_pipeline",
                "libmtkcam_hwnode",
                "libmtkcam_scenariorecorder",
                "libcamalgo.fdft",
                "libdpframework",
                "libcam.iopipe",
                "libmtkcam.atmseventmgr",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_pipelinemodel_session",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_pipelinemodel_session.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_ulog",
                "libmtkcam_metadata",
                "libmtkcam_metastore",
                "libmtkcam_streamutils",
                "libmtkcam_hwutils",
                "libmtkcam_pipeline",
                "libmtkcam_pipelinepolicy_factory",
                "libmtkcam_pipelinemodel_utils",
                "libcameracustom",
                "libfeature.stereo.provider",
                "libmtkcam_modulehelper",
                "libbwc",
                "libmtkcam_prerelease",
                "libmtkcam_scenariorecorder",
                "libaedv",
                "libmtkcam_pipelinemodel_zsl",
                "libmtkcam_pipelinemodel_capture",
                "libhidlbase",
                "vendor.mediatek.hardware.mtkpower@1.0",
                "libmtkcam.atmseventmgr",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_pipelinemodel_utils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_pipelinemodel_utils.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_modulehelper",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_hwutils",
                "libmtkcam_sysutils",
                "libmtkcam_metadata",
                "libmtkcam_streamutils",
                "libmtkcam_pipeline",
                "libmtkcam_hwnode",
                "libmtkcam_featureutils",
                "libbwc",
                "android.hardware.power@1.0",
                "vendor.mediatek.hardware.power@2.0",
                "libcameracustom",
                "libhardware",
                "libhidlbase",
                "libhidltransport",
                "libfeature.stereo.provider",
                "libmtkcam_synchelper",
                "libmtkcam_ulog",
                "libaedv",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_pipelinemodel_zsl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_pipelinemodel_zsl.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_stdutils",
                "libmtkcam_debugutils",
                "libmtkcam_pipelinemodel_utils",
                "libmtkcam_pipeline",
                "libmtkcam_imgbuf",
                "libmtkcam_metadata",
                "libmtkcam_metastore",
                "libmtkcam_streamutils",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_pipelinepolicy-security",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_pipelinepolicy-security.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_stdutils",
                "libmtkcam_hwutils",
                "libmtkcam_metadata",
                "libmtkcam_metastore",
                "libmtkcam_modulehelper",
                "libmtkcam_streamutils",
                "libmtkcam_pipelinepolicy",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_pipelinepolicy-smvr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_pipelinepolicy-smvr.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_stdutils",
                "libmtkcam_hwutils",
                "libmtkcam_metadata",
                "libmtkcam_metastore",
                "libmtkcam_modulehelper",
                "libmtkcam_streamutils",
                "libmtkcam_pipelinepolicy",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_pipelinepolicy",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_pipelinepolicy.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_stdutils",
                "libmtkcam_hwutils",
                "libmtkcam_featureutils",
                "libmtkcam_metadata",
                "libmtkcam_metastore",
                "libmtkcam_streamutils",
                "libmtkcam_modulehelper",
                "libmtkcam_pipelinemodel_utils",
                "libmtkcam_ulog",
                "libcameracustom",
                "libfeature.stereo.provider",
                "libcameracustom.eis",
                "libaedv",
                "libmtkcam_featurepolicy",
                "libmtkcam_3rdparty",
                "libmtkcam_3rdparty.core",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_pipelinepolicy_factory",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_pipelinepolicy_factory.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_stdutils",
                "libmtkcam_metadata",
                "libmtkcam_metastore",
                "libmtkcam_modulehelper",
                "libmtkcam_featurepolicy",
                "libmtkcam_pipelinepolicy",
                "libmtkcam_pipelinepolicy-smvr",
                "libmtkcam_pipelinepolicy-security",
                "libmtkcam_pipelinepolicy-aov",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_prerelease",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_prerelease.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libaedv",
                "libmtkcam_metadata",
                "libmtkcam_stdutils",
                "libmtkcam.eventcallback",
                "libmtkcam_ulog",
                "libmtkcam_streamutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_rsc",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_rsc.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libmtkcam_stdutils",
                "libmtkcam_imem",
                "libion",
                "libion_mtk",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_scenariorecorder",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_scenariorecorder.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_debugutils",
                "libladder",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_stdutils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_stdutils.so",
            ],
            shared_libs: [
                "liblog",
                "libutils-v32",
                "libcutils",
                "libsync",
                "libladder",
                "libmtkcam_ulog",
                "libmtkcam.atmseventmgr",
                "libaedv",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_streamutils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_streamutils.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libhardware",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_metadata",
                "libmtkcam_ulog",
                "libmtkcam_debugutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_synchelper",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_synchelper.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libhardware",
                "libmtkcam_stdutils",
                "libmtkcam_imgbuf",
                "libmtkcam_metadata",
                "libmtkcam_ulog",
                "libmtkcam_metastore",
                "libmtkcam.logicalmodule",
                "libmtkcam_modulehelper",
                "libmtkcam_hwutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_sysutils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_sysutils.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libsync",
                "libmtkcam_stdutils",
                "libhidlbase",
                "libhidltransport",
                "libhwbinder",
                "android.hardware.power@1.0",
                "vendor.mediatek.hardware.mtkpower@1.0",
                "libladder",
                "libmtkcam_ulog",
                "libcameracustom",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_tuning_utils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_tuning_utils.so",
            ],
            shared_libs: [
                "libmtkcam_modulehelper",
                "libmtkcam_metadata",
                "liblog",
                "libmtkcam_stdutils",
                "libutils",
                "libmtkcam_sysutils",
                "libcutils",
                "libhardware",
                "libmtkcam_ulog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_ulog",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libmtkcam_ulog.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libladder",
                "libaedv",
                "libmtkcam_debugutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libneuralnetworks_sl_driver_mtk_prebuilt",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libneuralnetworks_sl_driver_mtk_prebuilt.so",
            ],
            shared_libs: [
                "libbase_shim",
                "libcutils",
                "liblog",
                "libnativewindow",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libneuron_adapter_mgvi",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libneuron_adapter_mgvi.so",
            ],
            shared_libs: [
                "liblog",
                "libnativewindow",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libneuron_runtime.5",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libneuron_runtime.5.so",
            ],
            shared_libs: [
                "libm",
                "libdl",
                "libz",
                "liblog",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libnir_neon_driver",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libnir_neon_driver.so",
            ],
            shared_libs: [
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libpq_cust_base",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libpq_cust_base.so",
            ],
            shared_libs: [
                "liblog",
                "libdl",
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libpq_prot",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libpq_prot.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libpqparamparser",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libpqparamparser.so",
            ],
            shared_libs: [
                "libutils",
                "libcutils",
                "liblog",
                "libhardware",
                "libhidlbase",
                "libgralloc_extra",
                "libhidlmemory",
                "vendor.mediatek.hardware.pq@2.15",
                "libmml",
                "libdmabufheap",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libstereoinfoaccessor_vsdof",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libstereoinfoaccessor_vsdof.so",
            ],
            shared_libs: [
                "libutils",
                "libcutils",
                "liblog",
                "libexpat",
                "libz",
                "libpng",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libvainr_model",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/libvainr_model.so",
            ],
            shared_libs: [
                "libm",
                "libdl",
                "libc",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "ov02b10_aac_macro_mipi_raw_IdxMgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/ov02b10_aac_macro_mipi_raw_IdxMgr.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "ov02b10_aac_macro_mipi_raw_tuning",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/ov02b10_aac_macro_mipi_raw_tuning.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libCamera_ov02b10aacmacromipiraw_Flash_Capture",
                "libCamera_ov02b10aacmacromipiraw_Flash_Capture_ZOOM",
                "libCamera_ov02b10aacmacromipiraw_Scene_Capture",
                "libCamera_ov02b10aacmacromipiraw_Scene_Preview",
                "libCamera_ov02b10aacmacromipiraw_Video_720",
                "libCamera_ov02b10aacmacromipiraw_Video_720_ZOOM",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "ov02b10_truly_macro_mipi_raw_IdxMgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/ov02b10_truly_macro_mipi_raw_IdxMgr.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "ov02b10_truly_macro_mipi_raw_n6r_IdxMgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/ov02b10_truly_macro_mipi_raw_n6r_IdxMgr.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "ov02b10_truly_macro_mipi_raw_n6r_tuning",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/ov02b10_truly_macro_mipi_raw_n6r_tuning.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libCamera_ov02b10trulymacromipirawn6r_Flash_Capture",
                "libCamera_ov02b10trulymacromipirawn6r_Flash_Capture_ZOOM",
                "libCamera_ov02b10trulymacromipirawn6r_Scene_Capture",
                "libCamera_ov02b10trulymacromipirawn6r_Scene_Preview",
                "libCamera_ov02b10trulymacromipirawn6r_Video_720",
                "libCamera_ov02b10trulymacromipirawn6r_Video_720_ZOOM",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "ov02b10_truly_macro_mipi_raw_tuning",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/ov02b10_truly_macro_mipi_raw_tuning.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libCamera_ov02b10trulymacromipiraw_Flash_Capture",
                "libCamera_ov02b10trulymacromipiraw_Flash_Capture_ZOOM",
                "libCamera_ov02b10trulymacromipiraw_Scene_Capture",
                "libCamera_ov02b10trulymacromipiraw_Scene_Preview",
                "libCamera_ov02b10trulymacromipiraw_Video_720",
                "libCamera_ov02b10trulymacromipiraw_Video_720_ZOOM",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "ov08d10_aac_ultra_mipi_raw_IdxMgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/ov08d10_aac_ultra_mipi_raw_IdxMgr.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "ov08d10_aac_ultra_mipi_raw_tuning",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/ov08d10_aac_ultra_mipi_raw_tuning.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libCamera_ov08d10aacultramipiraw_Face_Capture",
                "libCamera_ov08d10aacultramipiraw_Face_Preview",
                "libCamera_ov08d10aacultramipiraw_Flash_Capture",
                "libCamera_ov08d10aacultramipiraw_Flash_Capture_AUTO",
                "libCamera_ov08d10aacultramipiraw_HDR_Face_Capture",
                "libCamera_ov08d10aacultramipiraw_HDR_Face_Capture_EV_N",
                "libCamera_ov08d10aacultramipiraw_HDR_Face_Capture_EV_P",
                "libCamera_ov08d10aacultramipiraw_HDR_Scene_Capture",
                "libCamera_ov08d10aacultramipiraw_HDR_Scene_Capture_EV_N",
                "libCamera_ov08d10aacultramipiraw_HDR_Scene_Capture_EV_P",
                "libCamera_ov08d10aacultramipiraw_LLHDR_Face_Capture",
                "libCamera_ov08d10aacultramipiraw_LLHDR_Scene_Capture",
                "libCamera_ov08d10aacultramipiraw_Portrait_Capture",
                "libCamera_ov08d10aacultramipiraw_Scene_Capture",
                "libCamera_ov08d10aacultramipiraw_Scene_Preview",
                "libCamera_ov08d10aacultramipiraw_SuperNightRaw_Capture",
                "libCamera_ov08d10aacultramipiraw_SuperNightRaw_Preview",
                "libCamera_ov08d10aacultramipiraw_Video_1080P",
                "libCamera_ov08d10aacultramipiraw_Video_720P",
                "libCamera_ov08d10aacultramipiraw_Zoom1_Video_1080P",
                "libCamera_ov08d10aacultramipiraw_Zoom1_Video_720P",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "ov08d10_ofilm_ultra_mipi_raw_IdxMgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/ov08d10_ofilm_ultra_mipi_raw_IdxMgr.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "ov08d10_ofilm_ultra_mipi_raw_n6r_IdxMgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/ov08d10_ofilm_ultra_mipi_raw_n6r_IdxMgr.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "ov08d10_ofilm_ultra_mipi_raw_n6r_tuning",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/ov08d10_ofilm_ultra_mipi_raw_n6r_tuning.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libCamera_ov08d10ofilmultramipirawn6r_Face_Capture",
                "libCamera_ov08d10ofilmultramipirawn6r_Face_Preview",
                "libCamera_ov08d10ofilmultramipirawn6r_Flash_Capture",
                "libCamera_ov08d10ofilmultramipirawn6r_Flash_Capture_AUTO",
                "libCamera_ov08d10ofilmultramipirawn6r_HDR_Face_Capture",
                "libCamera_ov08d10ofilmultramipirawn6r_HDR_Face_Capture_EV_N",
                "libCamera_ov08d10ofilmultramipirawn6r_HDR_Face_Capture_EV_P",
                "libCamera_ov08d10ofilmultramipirawn6r_HDR_Scene_Capture",
                "libCamera_ov08d10ofilmultramipirawn6r_HDR_Scene_Capture_EV_N",
                "libCamera_ov08d10ofilmultramipirawn6r_HDR_Scene_Capture_EV_P",
                "libCamera_ov08d10ofilmultramipirawn6r_LLHDR_Face_Capture",
                "libCamera_ov08d10ofilmultramipirawn6r_LLHDR_Scene_Capture",
                "libCamera_ov08d10ofilmultramipirawn6r_Portrait_Capture",
                "libCamera_ov08d10ofilmultramipirawn6r_Scene_Capture",
                "libCamera_ov08d10ofilmultramipirawn6r_Scene_Preview",
                "libCamera_ov08d10ofilmultramipirawn6r_SuperNightRaw_Capture",
                "libCamera_ov08d10ofilmultramipirawn6r_SuperNightRaw_Preview",
                "libCamera_ov08d10ofilmultramipirawn6r_U_Portrait_Capture",
                "libCamera_ov08d10ofilmultramipirawn6r_Video_1080P",
                "libCamera_ov08d10ofilmultramipirawn6r_Video_720P",
                "libCamera_ov08d10ofilmultramipirawn6r_Zoom1_Video_1080P",
                "libCamera_ov08d10ofilmultramipirawn6r_Zoom1_Video_720P",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "ov08d10_ofilm_ultra_mipi_raw_tuning",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/ov08d10_ofilm_ultra_mipi_raw_tuning.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libCamera_ov08d10ofilmultramipiraw_Face_Capture",
                "libCamera_ov08d10ofilmultramipiraw_Face_Preview",
                "libCamera_ov08d10ofilmultramipiraw_Flash_Capture",
                "libCamera_ov08d10ofilmultramipiraw_Flash_Capture_AUTO",
                "libCamera_ov08d10ofilmultramipiraw_HDR_Face_Capture",
                "libCamera_ov08d10ofilmultramipiraw_HDR_Face_Capture_EV_N",
                "libCamera_ov08d10ofilmultramipiraw_HDR_Face_Capture_EV_P",
                "libCamera_ov08d10ofilmultramipiraw_HDR_Scene_Capture",
                "libCamera_ov08d10ofilmultramipiraw_HDR_Scene_Capture_EV_N",
                "libCamera_ov08d10ofilmultramipiraw_HDR_Scene_Capture_EV_P",
                "libCamera_ov08d10ofilmultramipiraw_LLHDR_Face_Capture",
                "libCamera_ov08d10ofilmultramipiraw_LLHDR_Scene_Capture",
                "libCamera_ov08d10ofilmultramipiraw_Portrait_Capture",
                "libCamera_ov08d10ofilmultramipiraw_Scene_Capture",
                "libCamera_ov08d10ofilmultramipiraw_Scene_Preview",
                "libCamera_ov08d10ofilmultramipiraw_SuperNightRaw_Capture",
                "libCamera_ov08d10ofilmultramipiraw_SuperNightRaw_Preview",
                "libCamera_ov08d10ofilmultramipiraw_Video_1080P",
                "libCamera_ov08d10ofilmultramipiraw_Video_720P",
                "libCamera_ov08d10ofilmultramipiraw_Zoom1_Video_1080P",
                "libCamera_ov08d10ofilmultramipiraw_Zoom1_Video_720P",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "ov16a1q_aac_front_mipi_raw_IdxMgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/ov16a1q_aac_front_mipi_raw_IdxMgr.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "ov16a1q_aac_front_mipi_raw_tuning",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/ov16a1q_aac_front_mipi_raw_tuning.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libCamera_ov16a1qaacfrontmipiraw_3rd_party_Capture",
                "libCamera_ov16a1qaacfrontmipiraw_3rd_party_Peview",
                "libCamera_ov16a1qaacfrontmipiraw_Default_Capture_XTS",
                "libCamera_ov16a1qaacfrontmipiraw_Facebook_Capture",
                "libCamera_ov16a1qaacfrontmipiraw_Facebook_Preview",
                "libCamera_ov16a1qaacfrontmipiraw_Flash_Capture",
                "libCamera_ov16a1qaacfrontmipiraw_HDR_Capture_EV_NEG",
                "libCamera_ov16a1qaacfrontmipiraw_HDR_Capture_EV_POS",
                "libCamera_ov16a1qaacfrontmipiraw_HDR_Capture_EV_ZERO",
                "libCamera_ov16a1qaacfrontmipiraw_LLHDR_Capture_EV0",
                "libCamera_ov16a1qaacfrontmipiraw_Line_Capture",
                "libCamera_ov16a1qaacfrontmipiraw_Line_Preview",
                "libCamera_ov16a1qaacfrontmipiraw_P1_YUV",
                "libCamera_ov16a1qaacfrontmipiraw_Panorama",
                "libCamera_ov16a1qaacfrontmipiraw_Portrait_Capture",
                "libCamera_ov16a1qaacfrontmipiraw_Portrait_Peview",
                "libCamera_ov16a1qaacfrontmipiraw_QQ_Capture",
                "libCamera_ov16a1qaacfrontmipiraw_QQ_Preview",
                "libCamera_ov16a1qaacfrontmipiraw_Scene_Capture",
                "libCamera_ov16a1qaacfrontmipiraw_Scene_Preview",
                "libCamera_ov16a1qaacfrontmipiraw_ShortVideo_1080",
                "libCamera_ov16a1qaacfrontmipiraw_ShortVideo_720",
                "libCamera_ov16a1qaacfrontmipiraw_Skype_Capture",
                "libCamera_ov16a1qaacfrontmipiraw_Skype_Preview",
                "libCamera_ov16a1qaacfrontmipiraw_SlimVideo_720",
                "libCamera_ov16a1qaacfrontmipiraw_Supernight_Capture",
                "libCamera_ov16a1qaacfrontmipiraw_Supernight_Peview",
                "libCamera_ov16a1qaacfrontmipiraw_Video_1080_30fps",
                "libCamera_ov16a1qaacfrontmipiraw_Video_1080_60fps",
                "libCamera_ov16a1qaacfrontmipiraw_Video_720",
                "libCamera_ov16a1qaacfrontmipiraw_Wechat_Capture",
                "libCamera_ov16a1qaacfrontmipiraw_Wechat_Preview",
                "libCamera_ov16a1qaacfrontmipiraw_xm_HDCamera_Capture",
                "libCamera_ov16a1qaacfrontmipiraw_xm_HDCamera_Peview",
                "libCamera_ov16a1qaacfrontmipiraw_xm_Instagram_Capture",
                "libCamera_ov16a1qaacfrontmipiraw_xm_Instagram_Peview",
                "libCamera_ov16a1qaacfrontmipiraw_xm_Snapchat_Capture",
                "libCamera_ov16a1qaacfrontmipiraw_xm_Snapchat_Peview",
                "libCamera_ov16a1qaacfrontmipiraw_xm_TikTok_Capture",
                "libCamera_ov16a1qaacfrontmipiraw_xm_TikTok_Peview",
                "libCamera_ov16a1qaacfrontmipiraw_xm_Twitter_Capture",
                "libCamera_ov16a1qaacfrontmipiraw_xm_Twitter_Peview",
                "libCamera_ov16a1qaacfrontmipiraw_xm_Zalo_Capture",
                "libCamera_ov16a1qaacfrontmipiraw_xm_Zalo_Peview",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "ov16a1q_ofilm_front_mipi_raw_IdxMgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/ov16a1q_ofilm_front_mipi_raw_IdxMgr.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "ov16a1q_ofilm_front_mipi_raw_tuning",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/ov16a1q_ofilm_front_mipi_raw_tuning.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libCamera_ov16a1qofilmfrontmipiraw_3rd_party_Capture",
                "libCamera_ov16a1qofilmfrontmipiraw_3rd_party_Capture_mfnr",
                "libCamera_ov16a1qofilmfrontmipiraw_3rd_party_Peview",
                "libCamera_ov16a1qofilmfrontmipiraw_Default_Capture_XTS",
                "libCamera_ov16a1qofilmfrontmipiraw_Flash_Capture",
                "libCamera_ov16a1qofilmfrontmipiraw_Flash_Preview",
                "libCamera_ov16a1qofilmfrontmipiraw_HDR_Capture_EV_NEG",
                "libCamera_ov16a1qofilmfrontmipiraw_HDR_Capture_EV_POS",
                "libCamera_ov16a1qofilmfrontmipiraw_HDR_Capture_EV_ZERO",
                "libCamera_ov16a1qofilmfrontmipiraw_LLHDR_Capture_EV0",
                "libCamera_ov16a1qofilmfrontmipiraw_P1_YUV",
                "libCamera_ov16a1qofilmfrontmipiraw_Panorama",
                "libCamera_ov16a1qofilmfrontmipiraw_Portrait_Peview",
                "libCamera_ov16a1qofilmfrontmipiraw_Scene_Capture",
                "libCamera_ov16a1qofilmfrontmipiraw_Scene_Preview",
                "libCamera_ov16a1qofilmfrontmipiraw_SlimVideo_720",
                "libCamera_ov16a1qofilmfrontmipiraw_Supernight_Capture",
                "libCamera_ov16a1qofilmfrontmipiraw_Supernight_Peview",
                "libCamera_ov16a1qofilmfrontmipiraw_Video_1080_30fps",
                "libCamera_ov16a1qofilmfrontmipiraw_Video_1080_60fps",
                "libCamera_ov16a1qofilmfrontmipiraw_Video_720",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "ov64b40_sunny_main_mipi_raw_IdxMgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/ov64b40_sunny_main_mipi_raw_IdxMgr.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "ov64b40_sunny_main_mipi_raw_tuning",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/ov64b40_sunny_main_mipi_raw_tuning.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libCamera_ov64b40sunnymainmipiraw_3rd_Capture",
                "libCamera_ov64b40sunnymainmipiraw_3rd_Capture_MFNR",
                "libCamera_ov64b40sunnymainmipiraw_3rd_Preview",
                "libCamera_ov64b40sunnymainmipiraw_3rd_Video",
                "libCamera_ov64b40sunnymainmipiraw_Capture_Face_professional",
                "libCamera_ov64b40sunnymainmipiraw_Capture_Zoom1",
                "libCamera_ov64b40sunnymainmipiraw_Capture_Zoom2",
                "libCamera_ov64b40sunnymainmipiraw_Capture_portrait",
                "libCamera_ov64b40sunnymainmipiraw_Capture_professional",
                "libCamera_ov64b40sunnymainmipiraw_Capture_professional_Zoom1",
                "libCamera_ov64b40sunnymainmipiraw_Capture_professional_Zoom2",
                "libCamera_ov64b40sunnymainmipiraw_Capture_superNS",
                "libCamera_ov64b40sunnymainmipiraw_Capture_superNS_Zoom1",
                "libCamera_ov64b40sunnymainmipiraw_Capture_superNS_Zoom2",
                "libCamera_ov64b40sunnymainmipiraw_Default_Capture",
                "libCamera_ov64b40sunnymainmipiraw_Default_Capture_XTS",
                "libCamera_ov64b40sunnymainmipiraw_Default_Preview",
                "libCamera_ov64b40sunnymainmipiraw_Default_Video",
                "libCamera_ov64b40sunnymainmipiraw_Face_Capture",
                "libCamera_ov64b40sunnymainmipiraw_Face_Capture_64M",
                "libCamera_ov64b40sunnymainmipiraw_Face_Capture_64M_Zoom1",
                "libCamera_ov64b40sunnymainmipiraw_Face_Preview",
                "libCamera_ov64b40sunnymainmipiraw_Face_Preview_64M",
                "libCamera_ov64b40sunnymainmipiraw_Face_Preview_64M_Zoom1",
                "libCamera_ov64b40sunnymainmipiraw_Flash_Capture",
                "libCamera_ov64b40sunnymainmipiraw_Flash_Capture_Zoom1",
                "libCamera_ov64b40sunnymainmipiraw_Flash_Capture_Zoom2",
                "libCamera_ov64b40sunnymainmipiraw_Flash_Preview",
                "libCamera_ov64b40sunnymainmipiraw_HDR_Capture",
                "libCamera_ov64b40sunnymainmipiraw_HDR_Capture_NEGATIVE",
                "libCamera_ov64b40sunnymainmipiraw_HDR_Capture_POSITIVE",
                "libCamera_ov64b40sunnymainmipiraw_HDR_Face_Capture",
                "libCamera_ov64b40sunnymainmipiraw_HDR_Face_Capture_NEGATIVE",
                "libCamera_ov64b40sunnymainmipiraw_HDR_Face_Capture_POSITIVE",
                "libCamera_ov64b40sunnymainmipiraw_LLHDR_Capture",
                "libCamera_ov64b40sunnymainmipiraw_LLHDR_Face_Capture",
                "libCamera_ov64b40sunnymainmipiraw_N3D_Capture",
                "libCamera_ov64b40sunnymainmipiraw_N3D_Preview",
                "libCamera_ov64b40sunnymainmipiraw_N3D_Video",
                "libCamera_ov64b40sunnymainmipiraw_Preview_Face_professional",
                "libCamera_ov64b40sunnymainmipiraw_Preview_Vlog",
                "libCamera_ov64b40sunnymainmipiraw_Preview_Zoom1",
                "libCamera_ov64b40sunnymainmipiraw_Preview_Zoom2",
                "libCamera_ov64b40sunnymainmipiraw_Preview_panorama",
                "libCamera_ov64b40sunnymainmipiraw_Preview_portrait",
                "libCamera_ov64b40sunnymainmipiraw_Preview_professional",
                "libCamera_ov64b40sunnymainmipiraw_Preview_professional_Zoom1",
                "libCamera_ov64b40sunnymainmipiraw_Preview_professional_Zoom2",
                "libCamera_ov64b40sunnymainmipiraw_Preview_superNS",
                "libCamera_ov64b40sunnymainmipiraw_Preview_superNS_Zoom1",
                "libCamera_ov64b40sunnymainmipiraw_Preview_superNS_Zoom2",
                "libCamera_ov64b40sunnymainmipiraw_Scanner_Preview",
                "libCamera_ov64b40sunnymainmipiraw_Scene_Capture",
                "libCamera_ov64b40sunnymainmipiraw_Scene_Capture_64M",
                "libCamera_ov64b40sunnymainmipiraw_Scene_Capture_64M_Zoom1",
                "libCamera_ov64b40sunnymainmipiraw_Scene_Preview",
                "libCamera_ov64b40sunnymainmipiraw_Scene_Preview_64M",
                "libCamera_ov64b40sunnymainmipiraw_Scene_Preview_64M_Zoom1",
                "libCamera_ov64b40sunnymainmipiraw_Video_1080",
                "libCamera_ov64b40sunnymainmipiraw_Video_1080_30_Zoom1",
                "libCamera_ov64b40sunnymainmipiraw_Video_1080_30_Zoom2",
                "libCamera_ov64b40sunnymainmipiraw_Video_1080_60",
                "libCamera_ov64b40sunnymainmipiraw_Video_1080_60_Zoom1",
                "libCamera_ov64b40sunnymainmipiraw_Video_1080_60_Zoom2",
                "libCamera_ov64b40sunnymainmipiraw_Video_720_120",
                "libCamera_ov64b40sunnymainmipiraw_Video_720_120_Zoom1",
                "libCamera_ov64b40sunnymainmipiraw_Video_720_120_Zoom2",
                "libCamera_ov64b40sunnymainmipiraw_Video_720_30",
                "libCamera_ov64b40sunnymainmipiraw_Video_720_30_Zoom1",
                "libCamera_ov64b40sunnymainmipiraw_Video_720_30_Zoom2",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "s5khp3_ofilm_main_mipi_raw_IdxMgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/s5khp3_ofilm_main_mipi_raw_IdxMgr.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "s5khp3_ofilm_main_mipi_raw_n6r_IdxMgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/s5khp3_ofilm_main_mipi_raw_n6r_IdxMgr.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "s5khp3_ofilm_main_mipi_raw_n6r_tuning",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/s5khp3_ofilm_main_mipi_raw_n6r_tuning.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libCamera_s5khp3ofilmmainmipirawn6r_3rd_Party_MFNR_Capture",
                "libCamera_s5khp3ofilmmainmipirawn6r_3rd_Party_camera_Capture",
                "libCamera_s5khp3ofilmmainmipirawn6r_3rd_Party_camera_Preview",
                "libCamera_s5khp3ofilmmainmipirawn6r_Capture_200M_Remosaic",
                "libCamera_s5khp3ofilmmainmipirawn6r_Capture_200M_Remosaic_Zoom1",
                "libCamera_s5khp3ofilmmainmipirawn6r_Capture_Face_Zoom1",
                "libCamera_s5khp3ofilmmainmipirawn6r_Capture_Face_Zoom2",
                "libCamera_s5khp3ofilmmainmipirawn6r_Capture_Face_portrait",
                "libCamera_s5khp3ofilmmainmipirawn6r_Capture_Face_professional",
                "libCamera_s5khp3ofilmmainmipirawn6r_Capture_SE",
                "libCamera_s5khp3ofilmmainmipirawn6r_Capture_SE_Zoom1",
                "libCamera_s5khp3ofilmmainmipirawn6r_Capture_SE_Zoom2",
                "libCamera_s5khp3ofilmmainmipirawn6r_Capture_Scene_portrait",
                "libCamera_s5khp3ofilmmainmipirawn6r_Capture_Zoom1",
                "libCamera_s5khp3ofilmmainmipirawn6r_Capture_Zoom2",
                "libCamera_s5khp3ofilmmainmipirawn6r_Capture_professional",
                "libCamera_s5khp3ofilmmainmipirawn6r_Capture_professional_Zoom1",
                "libCamera_s5khp3ofilmmainmipirawn6r_Capture_professional_Zoom2",
                "libCamera_s5khp3ofilmmainmipirawn6r_Capture_superNS",
                "libCamera_s5khp3ofilmmainmipirawn6r_Capture_superNS_Zoom1",
                "libCamera_s5khp3ofilmmainmipirawn6r_Capture_superNS_Zoom2",
                "libCamera_s5khp3ofilmmainmipirawn6r_Default_Capture_XTS",
                "libCamera_s5khp3ofilmmainmipirawn6r_Default_Preview_XTS",
                "libCamera_s5khp3ofilmmainmipirawn6r_Dual_Video",
                "libCamera_s5khp3ofilmmainmipirawn6r_Face_200M_Remosaic",
                "libCamera_s5khp3ofilmmainmipirawn6r_Face_200M_Remosaic_Zoom1",
                "libCamera_s5khp3ofilmmainmipirawn6r_Face_Capture",
                "libCamera_s5khp3ofilmmainmipirawn6r_Face_Capture_200M",
                "libCamera_s5khp3ofilmmainmipirawn6r_Face_Capture_200M_Zoom1",
                "libCamera_s5khp3ofilmmainmipirawn6r_Face_Preview",
                "libCamera_s5khp3ofilmmainmipirawn6r_Face_Preview_200M",
                "libCamera_s5khp3ofilmmainmipirawn6r_Flash_Capture",
                "libCamera_s5khp3ofilmmainmipirawn6r_HDR_EV0_Capture",
                "libCamera_s5khp3ofilmmainmipirawn6r_HDR_EV0_Capture_face",
                "libCamera_s5khp3ofilmmainmipirawn6r_HDR_EV_Neg_Capture",
                "libCamera_s5khp3ofilmmainmipirawn6r_HDR_EV_Pos_Capture",
                "libCamera_s5khp3ofilmmainmipirawn6r_Half_bokeh_Face_capture",
                "libCamera_s5khp3ofilmmainmipirawn6r_Half_bokeh_Face_preview",
                "libCamera_s5khp3ofilmmainmipirawn6r_Half_bokeh_capture",
                "libCamera_s5khp3ofilmmainmipirawn6r_Half_bokeh_preview",
                "libCamera_s5khp3ofilmmainmipirawn6r_LLHDR_Capture",
                "libCamera_s5khp3ofilmmainmipirawn6r_M_bokeh_half",
                "libCamera_s5khp3ofilmmainmipirawn6r_N3D_Capture",
                "libCamera_s5khp3ofilmmainmipirawn6r_N3D_Preview",
                "libCamera_s5khp3ofilmmainmipirawn6r_N3D_Video",
                "libCamera_s5khp3ofilmmainmipirawn6r_P1_YUV",
                "libCamera_s5khp3ofilmmainmipirawn6r_Preview_Face_Zoom1",
                "libCamera_s5khp3ofilmmainmipirawn6r_Preview_Face_Zoom2",
                "libCamera_s5khp3ofilmmainmipirawn6r_Preview_Face_professional",
                "libCamera_s5khp3ofilmmainmipirawn6r_Preview_Vlog",
                "libCamera_s5khp3ofilmmainmipirawn6r_Preview_Zoom1",
                "libCamera_s5khp3ofilmmainmipirawn6r_Preview_Zoom2",
                "libCamera_s5khp3ofilmmainmipirawn6r_Preview_panorama",
                "libCamera_s5khp3ofilmmainmipirawn6r_Preview_portrait",
                "libCamera_s5khp3ofilmmainmipirawn6r_Preview_professional",
                "libCamera_s5khp3ofilmmainmipirawn6r_Preview_professional_Zoom1",
                "libCamera_s5khp3ofilmmainmipirawn6r_Preview_professional_Zoom2",
                "libCamera_s5khp3ofilmmainmipirawn6r_Preview_superNS",
                "libCamera_s5khp3ofilmmainmipirawn6r_Preview_superNS_Zoom1",
                "libCamera_s5khp3ofilmmainmipirawn6r_Preview_superNS_Zoom2",
                "libCamera_s5khp3ofilmmainmipirawn6r_Scanner_Preview",
                "libCamera_s5khp3ofilmmainmipirawn6r_Scene_Capture",
                "libCamera_s5khp3ofilmmainmipirawn6r_Scene_Capture_200M",
                "libCamera_s5khp3ofilmmainmipirawn6r_Scene_Capture_200M_Zoom1",
                "libCamera_s5khp3ofilmmainmipirawn6r_Scene_Preview",
                "libCamera_s5khp3ofilmmainmipirawn6r_Scene_Preview_200M",
                "libCamera_s5khp3ofilmmainmipirawn6r_Video_1080",
                "libCamera_s5khp3ofilmmainmipirawn6r_Video_1080_30_Zoom1",
                "libCamera_s5khp3ofilmmainmipirawn6r_Video_1080_30_Zoom2",
                "libCamera_s5khp3ofilmmainmipirawn6r_Video_1080_60",
                "libCamera_s5khp3ofilmmainmipirawn6r_Video_1080_60_Zoom1",
                "libCamera_s5khp3ofilmmainmipirawn6r_Video_1080_60_Zoom2",
                "libCamera_s5khp3ofilmmainmipirawn6r_Video_720_120",
                "libCamera_s5khp3ofilmmainmipirawn6r_Video_720_120_Zoom1",
                "libCamera_s5khp3ofilmmainmipirawn6r_Video_720_120_Zoom2",
                "libCamera_s5khp3ofilmmainmipirawn6r_Video_720_30",
                "libCamera_s5khp3ofilmmainmipirawn6r_Video_720_30_Zoom1",
                "libCamera_s5khp3ofilmmainmipirawn6r_Video_720_30_Zoom2",
                "libCamera_s5khp3ofilmmainmipirawn6r_capture_panorama",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "s5khp3_ofilm_main_mipi_raw_tuning",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/s5khp3_ofilm_main_mipi_raw_tuning.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libCamera_s5khp3ofilmmainmipiraw_3rd_Party_MFNR_Capture",
                "libCamera_s5khp3ofilmmainmipiraw_3rd_Party_camera_Capture",
                "libCamera_s5khp3ofilmmainmipiraw_3rd_Party_camera_Preview",
                "libCamera_s5khp3ofilmmainmipiraw_Capture_200M_Remosaic",
                "libCamera_s5khp3ofilmmainmipiraw_Capture_200M_Remosaic_Zoom1",
                "libCamera_s5khp3ofilmmainmipiraw_Capture_Face_Zoom1",
                "libCamera_s5khp3ofilmmainmipiraw_Capture_Face_Zoom2",
                "libCamera_s5khp3ofilmmainmipiraw_Capture_Face_portrait",
                "libCamera_s5khp3ofilmmainmipiraw_Capture_Face_professional",
                "libCamera_s5khp3ofilmmainmipiraw_Capture_SE",
                "libCamera_s5khp3ofilmmainmipiraw_Capture_SE_Zoom1",
                "libCamera_s5khp3ofilmmainmipiraw_Capture_SE_Zoom2",
                "libCamera_s5khp3ofilmmainmipiraw_Capture_Scene_portrait",
                "libCamera_s5khp3ofilmmainmipiraw_Capture_Zoom1",
                "libCamera_s5khp3ofilmmainmipiraw_Capture_Zoom2",
                "libCamera_s5khp3ofilmmainmipiraw_Capture_professional",
                "libCamera_s5khp3ofilmmainmipiraw_Capture_professional_Zoom1",
                "libCamera_s5khp3ofilmmainmipiraw_Capture_professional_Zoom2",
                "libCamera_s5khp3ofilmmainmipiraw_Capture_superNS",
                "libCamera_s5khp3ofilmmainmipiraw_Capture_superNS_Zoom1",
                "libCamera_s5khp3ofilmmainmipiraw_Capture_superNS_Zoom2",
                "libCamera_s5khp3ofilmmainmipiraw_Default_Capture_XTS",
                "libCamera_s5khp3ofilmmainmipiraw_Default_Preview_XTS",
                "libCamera_s5khp3ofilmmainmipiraw_Face_200M_Remosaic",
                "libCamera_s5khp3ofilmmainmipiraw_Face_200M_Remosaic_Zoom1",
                "libCamera_s5khp3ofilmmainmipiraw_Face_Capture",
                "libCamera_s5khp3ofilmmainmipiraw_Face_Capture_200M",
                "libCamera_s5khp3ofilmmainmipiraw_Face_Capture_200M_Zoom1",
                "libCamera_s5khp3ofilmmainmipiraw_Face_Preview",
                "libCamera_s5khp3ofilmmainmipiraw_Face_Preview_200M",
                "libCamera_s5khp3ofilmmainmipiraw_Flash_Capture",
                "libCamera_s5khp3ofilmmainmipiraw_HDR_EV0_Capture",
                "libCamera_s5khp3ofilmmainmipiraw_HDR_EV_Neg_Capture",
                "libCamera_s5khp3ofilmmainmipiraw_HDR_EV_Pos_Capture",
                "libCamera_s5khp3ofilmmainmipiraw_LLHDR_Capture",
                "libCamera_s5khp3ofilmmainmipiraw_N3D_Capture",
                "libCamera_s5khp3ofilmmainmipiraw_N3D_Preview",
                "libCamera_s5khp3ofilmmainmipiraw_N3D_Video",
                "libCamera_s5khp3ofilmmainmipiraw_P1_YUV",
                "libCamera_s5khp3ofilmmainmipiraw_Preview_Face_Zoom1",
                "libCamera_s5khp3ofilmmainmipiraw_Preview_Face_Zoom2",
                "libCamera_s5khp3ofilmmainmipiraw_Preview_Face_professional",
                "libCamera_s5khp3ofilmmainmipiraw_Preview_Vlog",
                "libCamera_s5khp3ofilmmainmipiraw_Preview_Zoom1",
                "libCamera_s5khp3ofilmmainmipiraw_Preview_Zoom2",
                "libCamera_s5khp3ofilmmainmipiraw_Preview_panorama",
                "libCamera_s5khp3ofilmmainmipiraw_Preview_portrait",
                "libCamera_s5khp3ofilmmainmipiraw_Preview_professional",
                "libCamera_s5khp3ofilmmainmipiraw_Preview_professional_Zoom1",
                "libCamera_s5khp3ofilmmainmipiraw_Preview_professional_Zoom2",
                "libCamera_s5khp3ofilmmainmipiraw_Preview_superNS",
                "libCamera_s5khp3ofilmmainmipiraw_Preview_superNS_Zoom1",
                "libCamera_s5khp3ofilmmainmipiraw_Preview_superNS_Zoom2",
                "libCamera_s5khp3ofilmmainmipiraw_Scanner_Preview",
                "libCamera_s5khp3ofilmmainmipiraw_Scene_Capture",
                "libCamera_s5khp3ofilmmainmipiraw_Scene_Capture_200M",
                "libCamera_s5khp3ofilmmainmipiraw_Scene_Capture_200M_Zoom1",
                "libCamera_s5khp3ofilmmainmipiraw_Scene_Preview",
                "libCamera_s5khp3ofilmmainmipiraw_Scene_Preview_200M",
                "libCamera_s5khp3ofilmmainmipiraw_Video_1080",
                "libCamera_s5khp3ofilmmainmipiraw_Video_1080_30_Zoom1",
                "libCamera_s5khp3ofilmmainmipiraw_Video_1080_30_Zoom2",
                "libCamera_s5khp3ofilmmainmipiraw_Video_1080_60",
                "libCamera_s5khp3ofilmmainmipiraw_Video_1080_60_Zoom1",
                "libCamera_s5khp3ofilmmainmipiraw_Video_1080_60_Zoom2",
                "libCamera_s5khp3ofilmmainmipiraw_Video_720_120",
                "libCamera_s5khp3ofilmmainmipiraw_Video_720_120_Zoom1",
                "libCamera_s5khp3ofilmmainmipiraw_Video_720_120_Zoom2",
                "libCamera_s5khp3ofilmmainmipiraw_Video_720_30",
                "libCamera_s5khp3ofilmmainmipiraw_Video_720_30_Zoom1",
                "libCamera_s5khp3ofilmmainmipiraw_Video_720_30_Zoom2",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "s5khp3_samsung_main_mipi_raw_IdxMgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/s5khp3_samsung_main_mipi_raw_IdxMgr.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "s5khp3_samsung_main_mipi_raw_tuning",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/s5khp3_samsung_main_mipi_raw_tuning.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libCamera_s5khp3samsungmainmipiraw_3rd_Party_MFNR_Capture",
                "libCamera_s5khp3samsungmainmipiraw_3rd_Party_camera_Capture",
                "libCamera_s5khp3samsungmainmipiraw_3rd_Party_camera_Preview",
                "libCamera_s5khp3samsungmainmipiraw_Capture_200M_Remosaic",
                "libCamera_s5khp3samsungmainmipiraw_Capture_200M_Remosaic_Zoom1",
                "libCamera_s5khp3samsungmainmipiraw_Capture_Face_Zoom1",
                "libCamera_s5khp3samsungmainmipiraw_Capture_Face_Zoom2",
                "libCamera_s5khp3samsungmainmipiraw_Capture_Face_portrait",
                "libCamera_s5khp3samsungmainmipiraw_Capture_Face_professional",
                "libCamera_s5khp3samsungmainmipiraw_Capture_SE",
                "libCamera_s5khp3samsungmainmipiraw_Capture_SE_Zoom1",
                "libCamera_s5khp3samsungmainmipiraw_Capture_SE_Zoom2",
                "libCamera_s5khp3samsungmainmipiraw_Capture_Scene_portrait",
                "libCamera_s5khp3samsungmainmipiraw_Capture_Zoom1",
                "libCamera_s5khp3samsungmainmipiraw_Capture_Zoom2",
                "libCamera_s5khp3samsungmainmipiraw_Capture_professional",
                "libCamera_s5khp3samsungmainmipiraw_Capture_professional_Zoom1",
                "libCamera_s5khp3samsungmainmipiraw_Capture_professional_Zoom2",
                "libCamera_s5khp3samsungmainmipiraw_Capture_superNS",
                "libCamera_s5khp3samsungmainmipiraw_Capture_superNS_Zoom1",
                "libCamera_s5khp3samsungmainmipiraw_Capture_superNS_Zoom2",
                "libCamera_s5khp3samsungmainmipiraw_Default_Capture_XTS",
                "libCamera_s5khp3samsungmainmipiraw_Default_Preview_XTS",
                "libCamera_s5khp3samsungmainmipiraw_Face_200M_Remosaic",
                "libCamera_s5khp3samsungmainmipiraw_Face_200M_Remosaic_Zoom1",
                "libCamera_s5khp3samsungmainmipiraw_Face_Capture",
                "libCamera_s5khp3samsungmainmipiraw_Face_Capture_200M",
                "libCamera_s5khp3samsungmainmipiraw_Face_Capture_200M_Zoom1",
                "libCamera_s5khp3samsungmainmipiraw_Face_Preview",
                "libCamera_s5khp3samsungmainmipiraw_Face_Preview_200M",
                "libCamera_s5khp3samsungmainmipiraw_Flash_Capture",
                "libCamera_s5khp3samsungmainmipiraw_HDR_EV0_Capture",
                "libCamera_s5khp3samsungmainmipiraw_HDR_EV_Neg_Capture",
                "libCamera_s5khp3samsungmainmipiraw_HDR_EV_Pos_Capture",
                "libCamera_s5khp3samsungmainmipiraw_LLHDR_Capture",
                "libCamera_s5khp3samsungmainmipiraw_N3D_Capture",
                "libCamera_s5khp3samsungmainmipiraw_N3D_Preview",
                "libCamera_s5khp3samsungmainmipiraw_N3D_Video",
                "libCamera_s5khp3samsungmainmipiraw_P1_YUV",
                "libCamera_s5khp3samsungmainmipiraw_Preview_Face_Zoom1",
                "libCamera_s5khp3samsungmainmipiraw_Preview_Face_Zoom2",
                "libCamera_s5khp3samsungmainmipiraw_Preview_Face_professional",
                "libCamera_s5khp3samsungmainmipiraw_Preview_Vlog",
                "libCamera_s5khp3samsungmainmipiraw_Preview_Zoom1",
                "libCamera_s5khp3samsungmainmipiraw_Preview_Zoom2",
                "libCamera_s5khp3samsungmainmipiraw_Preview_panorama",
                "libCamera_s5khp3samsungmainmipiraw_Preview_portrait",
                "libCamera_s5khp3samsungmainmipiraw_Preview_professional",
                "libCamera_s5khp3samsungmainmipiraw_Preview_professional_Zoom1",
                "libCamera_s5khp3samsungmainmipiraw_Preview_professional_Zoom2",
                "libCamera_s5khp3samsungmainmipiraw_Preview_superNS",
                "libCamera_s5khp3samsungmainmipiraw_Preview_superNS_Zoom1",
                "libCamera_s5khp3samsungmainmipiraw_Preview_superNS_Zoom2",
                "libCamera_s5khp3samsungmainmipiraw_Scanner_Preview",
                "libCamera_s5khp3samsungmainmipiraw_Scene_Capture",
                "libCamera_s5khp3samsungmainmipiraw_Scene_Capture_200M",
                "libCamera_s5khp3samsungmainmipiraw_Scene_Capture_200M_Zoom1",
                "libCamera_s5khp3samsungmainmipiraw_Scene_Preview",
                "libCamera_s5khp3samsungmainmipiraw_Scene_Preview_200M",
                "libCamera_s5khp3samsungmainmipiraw_Video_1080",
                "libCamera_s5khp3samsungmainmipiraw_Video_1080_30_Zoom1",
                "libCamera_s5khp3samsungmainmipiraw_Video_1080_30_Zoom2",
                "libCamera_s5khp3samsungmainmipiraw_Video_1080_60",
                "libCamera_s5khp3samsungmainmipiraw_Video_1080_60_Zoom1",
                "libCamera_s5khp3samsungmainmipiraw_Video_1080_60_Zoom2",
                "libCamera_s5khp3samsungmainmipiraw_Video_720_120",
                "libCamera_s5khp3samsungmainmipiraw_Video_720_120_Zoom1",
                "libCamera_s5khp3samsungmainmipiraw_Video_720_120_Zoom2",
                "libCamera_s5khp3samsungmainmipiraw_Video_720_30",
                "libCamera_s5khp3samsungmainmipiraw_Video_720_30_Zoom1",
                "libCamera_s5khp3samsungmainmipiraw_Video_720_30_Zoom2",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "s5khpx_sunny_main_mipi_raw_IdxMgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/s5khpx_sunny_main_mipi_raw_IdxMgr.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "s5khpx_sunny_main_mipi_raw_tuning",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mt6789/s5khpx_sunny_main_mipi_raw_tuning.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libCamera_s5khpxsunnymainmipiraw_3rd_Party_MFNR_Capture",
                "libCamera_s5khpxsunnymainmipiraw_3rd_Party_camera_Capture",
                "libCamera_s5khpxsunnymainmipiraw_3rd_Party_camera_Preview",
                "libCamera_s5khpxsunnymainmipiraw_Capture_200M_Remosaic",
                "libCamera_s5khpxsunnymainmipiraw_Capture_200M_Remosaic_Zoom1",
                "libCamera_s5khpxsunnymainmipiraw_Capture_Face_Zoom1",
                "libCamera_s5khpxsunnymainmipiraw_Capture_Face_Zoom2",
                "libCamera_s5khpxsunnymainmipiraw_Capture_Face_portrait",
                "libCamera_s5khpxsunnymainmipiraw_Capture_Face_professional",
                "libCamera_s5khpxsunnymainmipiraw_Capture_SE",
                "libCamera_s5khpxsunnymainmipiraw_Capture_SE_Zoom1",
                "libCamera_s5khpxsunnymainmipiraw_Capture_SE_Zoom2",
                "libCamera_s5khpxsunnymainmipiraw_Capture_Scene_portrait",
                "libCamera_s5khpxsunnymainmipiraw_Capture_Zoom1",
                "libCamera_s5khpxsunnymainmipiraw_Capture_Zoom2",
                "libCamera_s5khpxsunnymainmipiraw_Capture_professional",
                "libCamera_s5khpxsunnymainmipiraw_Capture_professional_Zoom1",
                "libCamera_s5khpxsunnymainmipiraw_Capture_professional_Zoom2",
                "libCamera_s5khpxsunnymainmipiraw_Capture_superNS",
                "libCamera_s5khpxsunnymainmipiraw_Capture_superNS_Zoom1",
                "libCamera_s5khpxsunnymainmipiraw_Capture_superNS_Zoom2",
                "libCamera_s5khpxsunnymainmipiraw_Default_Capture_XTS",
                "libCamera_s5khpxsunnymainmipiraw_Default_Preview_XTS",
                "libCamera_s5khpxsunnymainmipiraw_Face_200M_Remosaic",
                "libCamera_s5khpxsunnymainmipiraw_Face_200M_Remosaic_Zoom1",
                "libCamera_s5khpxsunnymainmipiraw_Face_Capture",
                "libCamera_s5khpxsunnymainmipiraw_Face_Capture_200M",
                "libCamera_s5khpxsunnymainmipiraw_Face_Capture_200M_Zoom1",
                "libCamera_s5khpxsunnymainmipiraw_Face_Preview",
                "libCamera_s5khpxsunnymainmipiraw_Face_Preview_200M",
                "libCamera_s5khpxsunnymainmipiraw_Flash_Capture",
                "libCamera_s5khpxsunnymainmipiraw_HDR_EV0_Capture",
                "libCamera_s5khpxsunnymainmipiraw_HDR_EV_Neg_Capture",
                "libCamera_s5khpxsunnymainmipiraw_HDR_EV_Pos_Capture",
                "libCamera_s5khpxsunnymainmipiraw_LLHDR_Capture",
                "libCamera_s5khpxsunnymainmipiraw_N3D_Capture",
                "libCamera_s5khpxsunnymainmipiraw_N3D_Preview",
                "libCamera_s5khpxsunnymainmipiraw_N3D_Video",
                "libCamera_s5khpxsunnymainmipiraw_P1_YUV",
                "libCamera_s5khpxsunnymainmipiraw_Preview_Face_Zoom1",
                "libCamera_s5khpxsunnymainmipiraw_Preview_Face_Zoom2",
                "libCamera_s5khpxsunnymainmipiraw_Preview_Face_professional",
                "libCamera_s5khpxsunnymainmipiraw_Preview_Vlog",
                "libCamera_s5khpxsunnymainmipiraw_Preview_Zoom1",
                "libCamera_s5khpxsunnymainmipiraw_Preview_Zoom2",
                "libCamera_s5khpxsunnymainmipiraw_Preview_panorama",
                "libCamera_s5khpxsunnymainmipiraw_Preview_portrait",
                "libCamera_s5khpxsunnymainmipiraw_Preview_professional",
                "libCamera_s5khpxsunnymainmipiraw_Preview_professional_Zoom1",
                "libCamera_s5khpxsunnymainmipiraw_Preview_professional_Zoom2",
                "libCamera_s5khpxsunnymainmipiraw_Preview_superNS",
                "libCamera_s5khpxsunnymainmipiraw_Preview_superNS_Zoom1",
                "libCamera_s5khpxsunnymainmipiraw_Preview_superNS_Zoom2",
                "libCamera_s5khpxsunnymainmipiraw_Scanner_Preview",
                "libCamera_s5khpxsunnymainmipiraw_Scene_Capture",
                "libCamera_s5khpxsunnymainmipiraw_Scene_Capture_200M",
                "libCamera_s5khpxsunnymainmipiraw_Scene_Capture_200M_Zoom1",
                "libCamera_s5khpxsunnymainmipiraw_Scene_Preview",
                "libCamera_s5khpxsunnymainmipiraw_Scene_Preview_200M",
                "libCamera_s5khpxsunnymainmipiraw_Video_1080",
                "libCamera_s5khpxsunnymainmipiraw_Video_1080_30_Zoom1",
                "libCamera_s5khpxsunnymainmipiraw_Video_1080_30_Zoom2",
                "libCamera_s5khpxsunnymainmipiraw_Video_1080_60",
                "libCamera_s5khpxsunnymainmipiraw_Video_1080_60_Zoom1",
                "libCamera_s5khpxsunnymainmipiraw_Video_1080_60_Zoom2",
                "libCamera_s5khpxsunnymainmipiraw_Video_720_120",
                "libCamera_s5khpxsunnymainmipiraw_Video_720_120_Zoom1",
                "libCamera_s5khpxsunnymainmipiraw_Video_720_120_Zoom2",
                "libCamera_s5khpxsunnymainmipiraw_Video_720_30",
                "libCamera_s5khpxsunnymainmipiraw_Video_720_30_Zoom1",
                "libCamera_s5khpxsunnymainmipiraw_Video_720_30_Zoom2",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmtkcam_streaminfo_plugin-p1stt",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/mtkcam/mt6789/libmtkcam_streaminfo_plugin-p1stt.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libmtkcam_stdutils",
                "libmtkcam_hwutils",
                "libmtkcam_modulehelper",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "mtkcam/mt6789",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libmisoundfx",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/soundfx/libmisoundfx.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libstagefright_foundation",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "soundfx",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libswdap",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/soundfx/libswdap.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libaudioutils",
                "libdapparamstorage",
                "libhidlbase",
                "vendor.dolby.hardware.dms@2.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "soundfx",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.dolby.hardware.dms@2.0-impl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.dolby.hardware.dms@2.0-impl.so",
            ],
            shared_libs: [
                "libhidlbase",
                "libutils",
                "liblog",
                "libdapparamstorage",
                "libdlbdsservice",
                "vendor.dolby.hardware.dms@2.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.dolby.hardware.dms@2.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.dolby.hardware.dms@2.0.so",
            ],
            shared_libs: [
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.apuware.apusys@2.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.apuware.apusys@2.0.so",
            ],
            shared_libs: [
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.apuware.apusys@2.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.apuware.apusys@2.1.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.apuware.apusys@2.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.apuware.hmp@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.apuware.hmp@1.0.so",
            ],
            shared_libs: [
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.apuware.utils@2.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.apuware.utils@2.0.so",
            ],
            shared_libs: [
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.audio@6.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.audio@6.1.so",
            ],
            shared_libs: [
                "android.hardware.audio.common@6.0",
                "android.hardware.audio.effect@6.0",
                "android.hardware.audio@6.0",
                "android.hidl.safe_union@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.audio@7.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.audio@7.1.so",
            ],
            shared_libs: [
                "android.hardware.audio.common@7.0",
                "android.hardware.audio.effect@7.0",
                "android.hardware.audio@7.0",
                "android.hidl.safe_union@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.camera.atms@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.camera.atms@1.0.so",
            ],
            shared_libs: [
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.camera.bgservice@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.camera.bgservice@1.0.so",
            ],
            shared_libs: [
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.camera.bgservice@1.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.camera.bgservice@1.1.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.camera.bgservice@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.camera.ccap@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.camera.ccap@1.0.so",
            ],
            shared_libs: [
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.camera.frhandler@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.camera.frhandler@1.0.so",
            ],
            shared_libs: [
                "android.hardware.camera.common@1.0",
                "android.hardware.camera.device@3.2",
                "android.hardware.graphics.common@1.0",
                "android.hidl.memory@1.0",
                "vendor.mediatek.hardware.camera.security@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.camera.isphal@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.camera.isphal@1.0.so",
            ],
            shared_libs: [
                "android.hardware.graphics.common@1.0",
                "android.hardware.graphics.common@1.1",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.camera.isphal@1.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.camera.isphal@1.1.so",
            ],
            shared_libs: [
                "android.hardware.graphics.common@1.0",
                "android.hardware.graphics.common@1.2",
                "vendor.mediatek.hardware.camera.isphal@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.camera.lomoeffect@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.camera.lomoeffect@1.0.so",
            ],
            shared_libs: [
                "android.hardware.camera.common@1.0",
                "android.hardware.camera.device@3.2",
                "android.hardware.graphics.common@1.0",
                "android.hidl.memory@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.camera.postproc@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.camera.postproc@1.0.so",
            ],
            shared_libs: [
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.camera.security@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.camera.security@1.0.so",
            ],
            shared_libs: [
                "android.hardware.camera.common@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.clientapi@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.clientapi@1.0.so",
            ],
            shared_libs: [
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.composer_ext@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.composer_ext@1.0.so",
            ],
            shared_libs: [
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.mmagent@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.mmagent@1.0.so",
            ],
            shared_libs: [
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.mmagent@1.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.mmagent@1.1.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.mmagent@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.mms@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.mms@1.0.so",
            ],
            shared_libs: [
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.mms@1.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.mms@1.1.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.mms@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.mms@1.2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.mms@1.2.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.mms@1.0",
                "vendor.mediatek.hardware.mms@1.1",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.mms@1.3",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.mms@1.3.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.mms@1.0",
                "vendor.mediatek.hardware.mms@1.1",
                "vendor.mediatek.hardware.mms@1.2",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.mms@1.4",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.mms@1.4.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.mms@1.0",
                "vendor.mediatek.hardware.mms@1.1",
                "vendor.mediatek.hardware.mms@1.2",
                "vendor.mediatek.hardware.mms@1.3",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.mms@1.5",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.mms@1.5.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.mms@1.0",
                "vendor.mediatek.hardware.mms@1.1",
                "vendor.mediatek.hardware.mms@1.2",
                "vendor.mediatek.hardware.mms@1.3",
                "vendor.mediatek.hardware.mms@1.4",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.mms@1.6",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.mms@1.6.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.mms@1.0",
                "vendor.mediatek.hardware.mms@1.1",
                "vendor.mediatek.hardware.mms@1.2",
                "vendor.mediatek.hardware.mms@1.3",
                "vendor.mediatek.hardware.mms@1.4",
                "vendor.mediatek.hardware.mms@1.5",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.mtkradioex@2.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.mtkradioex@2.0.so",
            ],
            shared_libs: [
                "android.hardware.radio@1.0",
                "android.hardware.radio@1.1",
                "android.hardware.radio@1.2",
                "android.hardware.radio@1.4",
                "android.hardware.radio@1.5",
                "android.hidl.safe_union@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.mtkradioex@3.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.mtkradioex@3.0.so",
            ],
            shared_libs: [
                "android.hardware.radio@1.0",
                "android.hardware.radio@1.1",
                "android.hardware.radio@1.2",
                "android.hardware.radio@1.4",
                "android.hardware.radio@1.5",
                "android.hidl.safe_union@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.netdagent@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.netdagent@1.0.so",
            ],
            shared_libs: [
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.neuropilot.agent@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.neuropilot.agent@1.0.so",
            ],
            shared_libs: [
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.neuropilot.agent@1.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.neuropilot.agent@1.1.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.neuropilot.agent@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.neuropilot.agent@1.2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.neuropilot.agent@1.2.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.neuropilot.agent@1.0",
                "vendor.mediatek.hardware.neuropilot.agent@1.1",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.nvram@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.nvram@1.0.so",
            ],
            shared_libs: [
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.nvram@1.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.nvram@1.1.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.nvram@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.power@1.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.power@1.1.so",
            ],
            shared_libs: [
                "android.hardware.power@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.power@2.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.power@2.0.so",
            ],
            shared_libs: [
                "android.hardware.power@1.0",
                "android.hardware.power@1.1",
                "android.hardware.power@1.2",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.pq@2.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.pq@2.0.so",
            ],
            shared_libs: [
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.pq@2.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.pq@2.1.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.pq@2.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.pq@2.10",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.pq@2.10.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.pq@2.0",
                "vendor.mediatek.hardware.pq@2.1",
                "vendor.mediatek.hardware.pq@2.2",
                "vendor.mediatek.hardware.pq@2.3",
                "vendor.mediatek.hardware.pq@2.4",
                "vendor.mediatek.hardware.pq@2.5",
                "vendor.mediatek.hardware.pq@2.6",
                "vendor.mediatek.hardware.pq@2.7",
                "vendor.mediatek.hardware.pq@2.8",
                "vendor.mediatek.hardware.pq@2.9",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.pq@2.11",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.pq@2.11.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.pq@2.0",
                "vendor.mediatek.hardware.pq@2.1",
                "vendor.mediatek.hardware.pq@2.10",
                "vendor.mediatek.hardware.pq@2.2",
                "vendor.mediatek.hardware.pq@2.3",
                "vendor.mediatek.hardware.pq@2.4",
                "vendor.mediatek.hardware.pq@2.5",
                "vendor.mediatek.hardware.pq@2.6",
                "vendor.mediatek.hardware.pq@2.7",
                "vendor.mediatek.hardware.pq@2.8",
                "vendor.mediatek.hardware.pq@2.9",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.pq@2.12",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.pq@2.12.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.pq@2.0",
                "vendor.mediatek.hardware.pq@2.1",
                "vendor.mediatek.hardware.pq@2.10",
                "vendor.mediatek.hardware.pq@2.11",
                "vendor.mediatek.hardware.pq@2.2",
                "vendor.mediatek.hardware.pq@2.3",
                "vendor.mediatek.hardware.pq@2.4",
                "vendor.mediatek.hardware.pq@2.5",
                "vendor.mediatek.hardware.pq@2.6",
                "vendor.mediatek.hardware.pq@2.7",
                "vendor.mediatek.hardware.pq@2.8",
                "vendor.mediatek.hardware.pq@2.9",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.pq@2.13",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.pq@2.13.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.pq@2.0",
                "vendor.mediatek.hardware.pq@2.1",
                "vendor.mediatek.hardware.pq@2.10",
                "vendor.mediatek.hardware.pq@2.11",
                "vendor.mediatek.hardware.pq@2.12",
                "vendor.mediatek.hardware.pq@2.2",
                "vendor.mediatek.hardware.pq@2.3",
                "vendor.mediatek.hardware.pq@2.4",
                "vendor.mediatek.hardware.pq@2.5",
                "vendor.mediatek.hardware.pq@2.6",
                "vendor.mediatek.hardware.pq@2.7",
                "vendor.mediatek.hardware.pq@2.8",
                "vendor.mediatek.hardware.pq@2.9",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.pq@2.14",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.pq@2.14.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.pq@2.0",
                "vendor.mediatek.hardware.pq@2.1",
                "vendor.mediatek.hardware.pq@2.10",
                "vendor.mediatek.hardware.pq@2.11",
                "vendor.mediatek.hardware.pq@2.12",
                "vendor.mediatek.hardware.pq@2.13",
                "vendor.mediatek.hardware.pq@2.2",
                "vendor.mediatek.hardware.pq@2.3",
                "vendor.mediatek.hardware.pq@2.4",
                "vendor.mediatek.hardware.pq@2.5",
                "vendor.mediatek.hardware.pq@2.6",
                "vendor.mediatek.hardware.pq@2.7",
                "vendor.mediatek.hardware.pq@2.8",
                "vendor.mediatek.hardware.pq@2.9",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.pq@2.15",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.pq@2.15.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.pq@2.0",
                "vendor.mediatek.hardware.pq@2.1",
                "vendor.mediatek.hardware.pq@2.10",
                "vendor.mediatek.hardware.pq@2.11",
                "vendor.mediatek.hardware.pq@2.12",
                "vendor.mediatek.hardware.pq@2.13",
                "vendor.mediatek.hardware.pq@2.14",
                "vendor.mediatek.hardware.pq@2.2",
                "vendor.mediatek.hardware.pq@2.3",
                "vendor.mediatek.hardware.pq@2.4",
                "vendor.mediatek.hardware.pq@2.5",
                "vendor.mediatek.hardware.pq@2.6",
                "vendor.mediatek.hardware.pq@2.7",
                "vendor.mediatek.hardware.pq@2.8",
                "vendor.mediatek.hardware.pq@2.9",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.pq@2.2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.pq@2.2.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.pq@2.0",
                "vendor.mediatek.hardware.pq@2.1",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.pq@2.3",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.pq@2.3.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.pq@2.0",
                "vendor.mediatek.hardware.pq@2.1",
                "vendor.mediatek.hardware.pq@2.2",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.pq@2.4",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.pq@2.4.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.pq@2.0",
                "vendor.mediatek.hardware.pq@2.1",
                "vendor.mediatek.hardware.pq@2.2",
                "vendor.mediatek.hardware.pq@2.3",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.pq@2.5",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.pq@2.5.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.pq@2.0",
                "vendor.mediatek.hardware.pq@2.1",
                "vendor.mediatek.hardware.pq@2.2",
                "vendor.mediatek.hardware.pq@2.3",
                "vendor.mediatek.hardware.pq@2.4",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.pq@2.6",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.pq@2.6.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.pq@2.0",
                "vendor.mediatek.hardware.pq@2.1",
                "vendor.mediatek.hardware.pq@2.2",
                "vendor.mediatek.hardware.pq@2.3",
                "vendor.mediatek.hardware.pq@2.4",
                "vendor.mediatek.hardware.pq@2.5",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.pq@2.7",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.pq@2.7.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.pq@2.0",
                "vendor.mediatek.hardware.pq@2.1",
                "vendor.mediatek.hardware.pq@2.2",
                "vendor.mediatek.hardware.pq@2.3",
                "vendor.mediatek.hardware.pq@2.4",
                "vendor.mediatek.hardware.pq@2.5",
                "vendor.mediatek.hardware.pq@2.6",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.pq@2.8",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.pq@2.8.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.pq@2.0",
                "vendor.mediatek.hardware.pq@2.1",
                "vendor.mediatek.hardware.pq@2.2",
                "vendor.mediatek.hardware.pq@2.3",
                "vendor.mediatek.hardware.pq@2.4",
                "vendor.mediatek.hardware.pq@2.5",
                "vendor.mediatek.hardware.pq@2.6",
                "vendor.mediatek.hardware.pq@2.7",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.pq@2.9",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.pq@2.9.so",
            ],
            shared_libs: [
                "vendor.mediatek.hardware.pq@2.0",
                "vendor.mediatek.hardware.pq@2.1",
                "vendor.mediatek.hardware.pq@2.2",
                "vendor.mediatek.hardware.pq@2.3",
                "vendor.mediatek.hardware.pq@2.4",
                "vendor.mediatek.hardware.pq@2.5",
                "vendor.mediatek.hardware.pq@2.6",
                "vendor.mediatek.hardware.pq@2.7",
                "vendor.mediatek.hardware.pq@2.8",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.mediatek.hardware.videotelephony@1.0_vendor",
    stem: "vendor.mediatek.hardware.videotelephony@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.mediatek.hardware.videotelephony@1.0.so",
            ],
            shared_libs: [
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.xiaomi.sensor.citsensorservice@1.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.xiaomi.sensor.citsensorservice@1.1.so",
            ],
            shared_libs: [
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.xiaomi.sensor.citsensorservice@2.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.xiaomi.sensor.citsensorservice@2.0.so",
            ],
            shared_libs: [
                "vendor.xiaomi.sensor.citsensorservice@1.1",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libaudiotoolkit",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libaudiotoolkit.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libutils",
                "libaudioclient",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libem_aoltest_jni",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libem_aoltest_jni.so",
            ],
            shared_libs: [
                "libnativehelper",
                "libandroid_runtime",
                "libutils",
                "libui",
                "libcutils",
                "liblog",
                "libnl",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libem_audio_jni",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libem_audio_jni.so",
            ],
            shared_libs: [
                "libnativehelper",
                "libandroid_runtime",
                "libutils",
                "libui",
                "libcutils",
                "libaudioclient",
                "liblog",
                "libaudiotoolkit",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libem_bleoffload_jni",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libem_bleoffload_jni.so",
            ],
            shared_libs: [
                "libnativehelper",
                "libandroid_runtime",
                "libutils",
                "libui",
                "libcutils",
                "liblog",
                "libnl",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libem_support_jni",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libem_support_jni.so",
            ],
            shared_libs: [
                "libandroid_runtime",
                "liblog",
                "libutils",
                "libgui",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libem_wifi_jni",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libem_wifi_jni.so",
            ],
            shared_libs: [
                "libandroid_runtime",
                "libui",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

android_app_import {
    name: "EngineerMode",
    owner: "xiaomi",
    apk: "proprietary/system_ext/app/EngineerMode/EngineerMode.apk",
    certificate: "platform",
    dex_preopt: {
        enabled: false,
    },
    system_ext_specific: true,
}

prebuilt_etc_xml {
    name: "android.hardware.neuralnetworks-shim-service-mtk.xml",
    owner: "xiaomi",
    src: "proprietary/vendor/etc/vintf/manifest/android.hardware.neuralnetworks-shim-service-mtk.xml",
    filename_from_src: true,
    sub_dir: "vintf/manifest",
    soc_specific: true,
}

prebuilt_etc_xml {
    name: "android.hardware.security.keymint-service.mitee.xml",
    owner: "xiaomi",
    src: "proprietary/vendor/etc/vintf/manifest/android.hardware.security.keymint-service.mitee.xml",
    filename_from_src: true,
    sub_dir: "vintf/manifest",
    soc_specific: true,
}

prebuilt_etc_xml {
    name: "android.hardware.security.secureclock-service.mitee.xml",
    owner: "xiaomi",
    src: "proprietary/vendor/etc/vintf/manifest/android.hardware.security.secureclock-service.mitee.xml",
    filename_from_src: true,
    sub_dir: "vintf/manifest",
    soc_specific: true,
}

prebuilt_etc_xml {
    name: "android.hardware.security.sharedsecret-service.mitee.xml",
    owner: "xiaomi",
    src: "proprietary/vendor/etc/vintf/manifest/android.hardware.security.sharedsecret-service.mitee.xml",
    filename_from_src: true,
    sub_dir: "vintf/manifest",
    soc_specific: true,
}

prebuilt_etc_xml {
    name: "gnss-mtk.xml",
    owner: "xiaomi",
    src: "proprietary/vendor/etc/vintf/manifest/gnss-mtk.xml",
    filename_from_src: true,
    sub_dir: "vintf/manifest",
    soc_specific: true,
}

prebuilt_etc_xml {
    name: "gnss@2.1-service.xml",
    owner: "xiaomi",
    src: "proprietary/vendor/etc/vintf/manifest/gnss@2.1-service.xml",
    filename_from_src: true,
    sub_dir: "vintf/manifest",
    soc_specific: true,
}

prebuilt_etc_xml {
    name: "manifest_android.hardware.drm@1.4-service.widevine.xml",
    owner: "xiaomi",
    src: "proprietary/vendor/etc/vintf/manifest/manifest_android.hardware.drm@1.4-service.widevine.xml",
    filename_from_src: true,
    sub_dir: "vintf/manifest",
    soc_specific: true,
}

prebuilt_etc_xml {
    name: "manifest_apuware_apusys.xml",
    owner: "xiaomi",
    src: "proprietary/vendor/etc/vintf/manifest/manifest_apuware_apusys.xml",
    filename_from_src: true,
    sub_dir: "vintf/manifest",
    soc_specific: true,
}

prebuilt_etc_xml {
    name: "manifest_apuware_hmp.xml",
    owner: "xiaomi",
    src: "proprietary/vendor/etc/vintf/manifest/manifest_apuware_hmp.xml",
    filename_from_src: true,
    sub_dir: "vintf/manifest",
    soc_specific: true,
}

prebuilt_etc_xml {
    name: "manifest_apuware_utils.xml",
    owner: "xiaomi",
    src: "proprietary/vendor/etc/vintf/manifest/manifest_apuware_utils.xml",
    filename_from_src: true,
    sub_dir: "vintf/manifest",
    soc_specific: true,
}

prebuilt_etc_xml {
    name: "manifest_media_c2_V1_2_default.xml",
    owner: "xiaomi",
    src: "proprietary/vendor/etc/vintf/manifest/manifest_media_c2_V1_2_default.xml",
    filename_from_src: true,
    sub_dir: "vintf/manifest",
    soc_specific: true,
}

prebuilt_etc_xml {
    name: "manifest_vendor.dolby.hardware.dms.xml",
    owner: "xiaomi",
    src: "proprietary/vendor/etc/vintf/manifest/manifest_vendor.dolby.hardware.dms.xml",
    filename_from_src: true,
    sub_dir: "vintf/manifest",
    soc_specific: true,
}

prebuilt_etc_xml {
    name: "vendor.xiaomi.sensor.citsensorservice@2.0-service.xml",
    owner: "xiaomi",
    src: "proprietary/vendor/etc/vintf/manifest/vendor.xiaomi.sensor.citsensorservice@2.0-service.xml",
    filename_from_src: true,
    sub_dir: "vintf/manifest",
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "batterysecret",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/batterysecret",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "libbinder",
                "libbase",
                "liblog",
                "libhidlbase",
                "libhidltransport",
                "android.hardware.health@1.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "ccci_mdinit",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/ccci_mdinit",
            ],
            shared_libs: [
                "libsysenv",
                "liblog",
                "libnvram",
                "libcutils",
                "libstorage_otp",
                "libhardware_legacy",
                "libccci_util",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "ccci_rpcd",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/ccci_rpcd",
            ],
            shared_libs: [
                "libc",
                "liblog",
                "libcutils",
                "libhardware_legacy",
                "libsysenv",
                "libccci_util",
                "libc++",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "conninfra_loader",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/conninfra_loader",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "gsm0710muxd",
    owner: "xiaomi",
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/bin/gsm0710muxd",
            ],
            shared_libs: [
                "libmtkcutils",
                "libmtkrillog",
                "libmtkproperty",
                "libaedv",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "android.hardware.drm@1.4-service.widevine",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/android.hardware.drm@1.4-service.widevine",
            ],
            shared_libs: [
                "android.hardware.drm@1.0",
                "android.hardware.drm@1.1",
                "android.hardware.drm@1.2",
                "android.hardware.drm@1.3",
                "libbase",
                "libhidlbase",
                "liblog",
                "libutils",
                "libbinder",
                "android.hardware.drm@1.4",
                "libwvhidl",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    relative_install_path: "hw",
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "android.hardware.gnss-service.mediatek",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/android.hardware.gnss-service.mediatek",
            ],
            shared_libs: [
                "libbase",
                "libbinder_ndk",
                "libhidlbase",
                "libutils",
                "liblog",
                "libhardware",
                "android.hardware.gnss@2.1",
                "android.hardware.gnss@2.0",
                "android.hardware.gnss@1.1",
                "android.hardware.gnss@1.0",
                "android.hardware.gnss.measurement_corrections@1.1",
                "android.hardware.gnss.measurement_corrections@1.0",
                "android.hardware.gnss.visibility_control@1.0",
                "android.hardware.gnss-V1-ndk",
                "android.hardware.gnss-impl-mediatek",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    relative_install_path: "hw",
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "android.hardware.media.c2@1.2-mediatek-64b",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/android.hardware.media.c2@1.2-mediatek-64b",
            ],
            shared_libs: [
                "libstagefright_foundation-v33",
                "libbase",
                "liblog",
                "libcodec2",
                "libutils",
                "android.hardware.media.c2@1.0",
                "android.hardware.media.c2@1.1",
                "android.hardware.media.c2@1.2",
                "libcodec2_hidl@1.0",
                "libcodec2_hidl@1.1",
                "libcodec2_hidl@1.2",
                "libcodec2_vndk",
                "libhidlbase",
                "libavservices_minijail",
                "libbinder",
                "libcodec2_mtk_c2store",
                "libcodec2_mtk_vdec",
                "libcodec2_mtk_venc",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    check_elf_files: false,
    strip: {
        none: true,
    },
    prefer: true,
    relative_install_path: "hw",
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "android.hardware.neuralnetworks-shim-service-mtk",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/android.hardware.neuralnetworks-shim-service-mtk",
            ],
            shared_libs: [
                "libbase",
                "libbinder_ndk",
                "libhidlbase",
                "libhidlmemory",
                "liblog",
                "libnativewindow",
                "libutils",
                "libneuralnetworks_sl_driver_mtk_prebuilt",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    relative_install_path: "hw",
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "android.hardware.security.keymint@1.0-service.mitee",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/android.hardware.security.keymint@1.0-service.mitee",
            ],
            shared_libs: [
                "android.hardware.security.rkp-V3-ndk",
                "libteecli",
                "libhardware",
                "libhidlbase",
                "android.hardware.keymaster@4.0",
                "android.hardware.security.keymint-V3-ndk-v34",
                "android.hardware.security.sharedsecret-V1-ndk",
                "android.hardware.security.secureclock-V1-ndk",
                "lib_android_keymaster_keymint_utils",
                "libbase",
                "libbinder_ndk",
                "libcrypto",
                "libkeymaster_messages",
                "libkeymaster_portable",
                "libkeymint",
                "liblog",
                "libutils",
                "libcutils",
                "libcppbor_external",
                "libcppcose_rkp",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    relative_install_path: "hw",
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "android.hardware.graphics.allocator@4.0-service-mediatek.mt6789",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/mt6789/android.hardware.graphics.allocator@4.0-service-mediatek.mt6789",
            ],
            shared_libs: [
                "android.hardware.graphics.allocator@4.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    relative_install_path: "hw/mt6789",
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "camerahalserver",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/mt6789/camerahalserver",
            ],
            shared_libs: [
                "libudf",
                "liblog",
                "libutils",
                "libcutils",
                "libbinder",
                "libhwbinder",
                "libhidlbase",
                "libhidltransport",
                "libmtkcam_stdutils",
                "libmtkcam_ulog",
                "libmtkcam_scenariorecorder",
                "libmtkcam_modulehelper",
                "android.hardware.camera.provider@2.4",
                "android.hardware.camera.provider@2.5",
                "android.hardware.camera.provider@2.6",
                "vendor.mediatek.hardware.camera.frhandler@1.0",
                "vendor.mediatek.hardware.camera.postproc@1.0",
                "vendor.mediatek.hardware.camera.isphal@1.0",
                "vendor.mediatek.hardware.camera.isphal@1.1",
                "vendor.mediatek.hardware.camera.bgservice@1.0",
                "vendor.mediatek.hardware.camera.bgservice@1.1",
                "libhardware",
                "libmtkcam_grallocutils",
                "vendor.mediatek.hardware.camera.atms@1.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    relative_install_path: "hw/mt6789",
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "mtkfusionrild",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/mtkfusionrild",
            ],
            shared_libs: [
                "libutils-v32",
                "libmtkrillog",
                "libmtkproperty",
                "libmtkcutils",
                "librilfusion",
                "libmtkrilutils",
                "libsysenv",
                "libmtkconfigutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    relative_install_path: "hw",
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "tetheroffloadservice",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/tetheroffloadservice",
            ],
            shared_libs: [
                "libhwbinder",
                "libhidlbase",
                "libhidltransport",
                "liblog",
                "libforkexecwrap",
                "libcutils",
                "libbase",
                "libutils",
                "libnetutils",
                "libhardware_legacy",
                "libhardware",
                "android.hardware.tetheroffload.config@1.0",
                "android.hardware.tetheroffload.control@1.0",
                "android.hardware.tetheroffload.control@1.1",
                "vendor.mediatek.hardware.netdagent@1.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    relative_install_path: "hw",
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "vendor.dolby.hardware.dms@2.0-service",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/vendor.dolby.hardware.dms@2.0-service",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libhidlbase",
                "libdapparamstorage",
                "libdlbdsservice",
                "vendor.dolby.hardware.dms@2.0",
                "vendor.dolby.hardware.dms@2.0-impl",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    relative_install_path: "hw",
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "vendor.mediatek.hardware.mmagent@1.1-service",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/vendor.mediatek.hardware.mmagent@1.1-service",
            ],
            shared_libs: [
                "libmmagent",
                "libbase",
                "libhidlbase",
                "liblog",
                "libutils",
                "libgralloc_extra",
                "vendor.mediatek.hardware.mmagent@1.0",
                "vendor.mediatek.hardware.mmagent@1.1",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    relative_install_path: "hw",
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "vendor.mediatek.hardware.mms@1.6-service",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/vendor.mediatek.hardware.mms@1.6-service",
            ],
            shared_libs: [
                "libhidlbase",
                "libhidltransport",
                "liblog",
                "libutils",
                "libhardware",
                "vendor.mediatek.hardware.mms@1.6",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    relative_install_path: "hw",
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "vendor.mediatek.hardware.nvram@1.1-service",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/vendor.mediatek.hardware.nvram@1.1-service",
            ],
            shared_libs: [
                "libutils",
                "libcutils",
                "libhardware",
                "libhidlbase",
                "libhidltransport",
                "libbinder",
                "libnvram",
                "liblog",
                "vendor.mediatek.hardware.nvram@1.1",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    relative_install_path: "hw",
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "vendor.mediatek.hardware.pq@2.2-service",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/vendor.mediatek.hardware.pq@2.2-service",
            ],
            shared_libs: [
                "libhidlbase",
                "libhidltransport",
                "liblog",
                "libutils",
                "libhardware",
                "vendor.mediatek.hardware.pq@2.15",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    relative_install_path: "hw",
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "vendor.xiaomi.sensor.citsensorservice@2.0-service",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/vendor.xiaomi.sensor.citsensorservice@2.0-service",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libbase",
                "libutils",
                "libssccalapi@2.0",
                "libhidlbase",
                "libhidltransport",
                "vendor.xiaomi.sensor.citsensorservice@1.1",
                "vendor.xiaomi.sensor.citsensorservice@2.0",
                "android.frameworks.sensorservice@1.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    relative_install_path: "hw",
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "vtservice_hidl",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/vtservice_hidl",
            ],
            shared_libs: [
                "libutils",
                "libcutils",
                "liblog",
                "libbase",
                "libfmq",
                "vendor.mediatek.hardware.videotelephony@1.0_vendor",
                "libhardware",
                "libhwbinder",
                "libhidlbase",
                "libhidltransport",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    relative_install_path: "hw",
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "ipsec_mon",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/ipsec_mon",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libforkexecwrap",
                "libifcutils_mtk",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "mi_thermald",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/mi_thermald",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libcrypto",
                "libssl",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "miteelog",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/miteelog",
            ],
            shared_libs: [
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "mnld",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/mnld",
            ],
            shared_libs: [
                "libmnl",
                "libcurl",
                "libcutils",
                "libnvram",
                "libcrypto",
                "libssl",
                "libz",
                "liblog",
                "libhardware",
                "libladder",
                "libDR",
                "libutils",
                "android.frameworks.sensorservice@1.0",
                "android.hardware.sensors@1.0",
                "libhidlbase",
                "libhidltransport",
                "android.hardware.sensors@1.0-convert-shared",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "mtk_agpsd",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/mtk_agpsd",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libutils",
                "libandroid_net",
                "libcrypto-v33",
                "libexpat",
                "libssl",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "netdagent",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/netdagent",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libforkexecwrap",
                "libutils",
                "libhidlbase",
                "libifcutils_mtk",
                "vendor.mediatek.hardware.netdagent@1.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "nvram_daemon",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/nvram_daemon",
            ],
            shared_libs: [
                "libcutils",
                "libnvram",
                "libfile_op",
                "liblog",
                "libconnfem",
                "libhwm",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "tee-supplicant",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/tee-supplicant",
            ],
            shared_libs: [
                "libteecli",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "v3avpud",
    owner: "xiaomi",
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/bin/v3avpud",
            ],
            shared_libs: [
                "libcutils",
                "libvpudv3a_vcodec",
                "libvcodec_utility_v3a",
                "liblog",
                "libion",
                "libaedv",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "volte_imcb",
    owner: "xiaomi",
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/bin/volte_imcb",
            ],
            shared_libs: [
                "libvolte_core_shr",
                "libvolte_xdmc_shr",
                "libverno",
                "libcutils",
                "liblog",
                "libc",
                "libdl",
                "libm",
            ],
        },
    },
    compile_multilib: "32",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "volte_imsm_93",
    owner: "xiaomi",
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/bin/volte_imsm_93",
            ],
            shared_libs: [
                "libcutils",
                "libverno",
                "liblog",
                "libc",
                "libdl",
                "libm",
            ],
        },
    },
    compile_multilib: "32",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "volte_md_status",
    owner: "xiaomi",
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/bin/volte_md_status",
            ],
            shared_libs: [
                "libcutils",
                "libverno",
                "liblog",
                "libc",
                "libdl",
                "libm",
            ],
        },
    },
    compile_multilib: "32",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "volte_stack",
    owner: "xiaomi",
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/bin/volte_stack",
            ],
            shared_libs: [
                "libvolte_core_shr",
                "libvolte_xdmc_shr",
                "libipsec_ims_shr",
                "libverno",
                "libcutils",
                "liblog",
                "libc",
                "libdl",
                "libm",
            ],
        },
    },
    compile_multilib: "32",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "volte_ua",
    owner: "xiaomi",
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/bin/volte_ua",
            ],
            shared_libs: [
                "libvolte_core_shr",
                "libvolte_xdmc_shr",
                "libverno",
                "libcutils",
                "liblog",
                "libc",
                "libdl",
                "libm",
            ],
        },
    },
    compile_multilib: "32",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "wlan_assistant",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/wlan_assistant",
            ],
            shared_libs: [
                "libc",
                "liblog",
                "libcutils",
                "libnl",
                "libc++",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "wmt_launcher",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/wmt_launcher",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "wmt_loader",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/wmt_loader",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}
