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

soong_namespace {
    imports: [
        "device/xiaomi/sm6150-common",
        "hardware/qcom-caf/sm8150",
        "hardware/qcom-caf/wlan",
        "hardware/xiaomi",
        "vendor/qcom/opensource/commonsys/display",
        "vendor/qcom/opensource/commonsys-intf/display",
        "vendor/qcom/opensource/dataservices",
        "vendor/qcom/opensource/display",
    ],
}

cc_prebuilt_library_shared {
    name: "eglSubDriverAndroid",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/egl/eglSubDriverAndroid.so",
            ],
            shared_libs: [
                "libEGL_adreno",
                "libcutils",
                "libhardware",
                "libgsl",
                "vendor.qti.hardware.display.mapper@2.0",
                "vendor.qti.hardware.display.mapper@3.0",
                "android.hardware.graphics.mapper@3.0",
                "vendor.qti.hardware.display.mapperextensions@1.1",
                "vendor.qti.hardware.display.mapper@4.0",
                "android.hardware.graphics.mapper@4.0",
                "android.hardware.graphics.mapper@2.0",
                "libhidlbase",
                "libutils",
                "libdl",
                "libz",
                "liblog",
                "libc++",
                "libc",
                "libm",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/egl/eglSubDriverAndroid.so",
            ],
            shared_libs: [
                "libEGL_adreno",
                "libcutils",
                "libhardware",
                "libgsl",
                "vendor.qti.hardware.display.mapper@2.0",
                "vendor.qti.hardware.display.mapper@3.0",
                "android.hardware.graphics.mapper@3.0",
                "vendor.qti.hardware.display.mapperextensions@1.1",
                "vendor.qti.hardware.display.mapper@4.0",
                "android.hardware.graphics.mapper@4.0",
                "android.hardware.graphics.mapper@2.0",
                "libhidlbase",
                "libutils",
                "libdl",
                "libz",
                "liblog",
                "libc++",
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "both",
    relative_install_path: "egl",
    prefer: true,
    soc_specific: true,
}

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

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

cc_prebuilt_library_shared {
    name: "libGLESv2_adreno",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/egl/libGLESv2_adreno.so",
            ],
            shared_libs: [
                "libadreno_utils",
                "libgsl",
                "libllvm-glnext",
                "libcutils",
                "libdl",
                "libz",
                "liblog",
                "libc++",
                "libc",
                "libm",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/egl/libGLESv2_adreno.so",
            ],
            shared_libs: [
                "libadreno_utils",
                "libgsl",
                "libllvm-glnext",
                "libcutils",
                "libdl",
                "libz",
                "liblog",
                "libc++",
                "libc",
                "libm",
            ],
        },
    },
    compile_multilib: "both",
    relative_install_path: "egl",
    prefer: true,
    soc_specific: true,
}

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

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

cc_prebuilt_library_shared {
    name: "vulkan.adreno",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/hw/vulkan.adreno.so",
            ],
            shared_libs: [
                "libadreno_utils",
                "libgsl",
                "libz",
                "liblog",
                "libllvm-glnext",
                "libcutils",
                "libhardware",
                "libnativewindow",
                "vendor.qti.hardware.display.mapper@2.0",
                "android.hardware.graphics.mapper@2.0",
                "vendor.qti.hardware.display.mapper@3.0",
                "android.hardware.graphics.mapper@3.0",
                "vendor.qti.hardware.display.mapperextensions@1.1",
                "libhidlbase",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/vulkan.adreno.so",
            ],
            shared_libs: [
                "libadreno_utils",
                "libgsl",
                "libz",
                "liblog",
                "libllvm-glnext",
                "libcutils",
                "libhardware",
                "libnativewindow",
                "vendor.qti.hardware.display.mapper@2.0",
                "android.hardware.graphics.mapper@2.0",
                "vendor.qti.hardware.display.mapper@3.0",
                "android.hardware.graphics.mapper@3.0",
                "vendor.qti.hardware.display.mapperextensions@1.1",
                "libhidlbase",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "both",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

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

cc_prebuilt_library_shared {
    name: "libCB",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libCB.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libgsl",
                "libutils",
                "libvndksupport",
                "libgralloc.qti",
                "libgralloctypes",
                "vendor.qti.hardware.display.mapper@4.0",
                "android.hardware.graphics.mapper@4.0",
                "vendor.qti.hardware.display.mapperextensions@1.0",
                "vendor.qti.hardware.display.mapperextensions@1.1",
                "libhidlbase",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libCB.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libgsl",
                "libutils",
                "libvndksupport",
                "libgralloc.qti",
                "libgralloctypes",
                "vendor.qti.hardware.display.mapper@4.0",
                "android.hardware.graphics.mapper@4.0",
                "vendor.qti.hardware.display.mapperextensions@1.0",
                "vendor.qti.hardware.display.mapperextensions@1.1",
                "libhidlbase",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "both",
    prefer: true,
    soc_specific: true,
}

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

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

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

cc_prebuilt_library_shared {
    name: "libadsprpc",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libadsprpc.so",
            ],
            shared_libs: [
                "libhidlbase",
                "libhardware",
                "libutils",
                "vendor.qti.hardware.dsp@1.0",
                "liblog",
                "libc",
                "libcutils",
                "libion",
                "libc++",
                "libm",
                "libdl",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libadsprpc.so",
            ],
            shared_libs: [
                "libhidlbase",
                "libhardware",
                "libutils",
                "vendor.qti.hardware.dsp@1.0",
                "liblog",
                "libc",
                "libcutils",
                "libion",
                "libc++",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "both",
    prefer: true,
    soc_specific: true,
}

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

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

cc_prebuilt_library_shared {
    name: "libcdsprpc",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libcdsprpc.so",
            ],
            shared_libs: [
                "libhidlbase",
                "libhardware",
                "libutils",
                "vendor.qti.hardware.dsp@1.0",
                "liblog",
                "libc",
                "libcutils",
                "libion",
                "libc++",
                "libm",
                "libdl",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcdsprpc.so",
            ],
            shared_libs: [
                "libhidlbase",
                "libhardware",
                "libutils",
                "vendor.qti.hardware.dsp@1.0",
                "liblog",
                "libc",
                "libcutils",
                "libion",
                "libc++",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "both",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcdsprpc_system",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libcdsprpc_system.so",
            ],
            shared_libs: [
                "libhidlbase",
                "libhardware",
                "libutils",
                "vendor.qti.hardware.dsp@1.0",
                "liblog",
                "libc",
                "libcutils",
                "libion",
                "libc++",
                "libm",
                "libdl",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcdsprpc_system.so",
            ],
            shared_libs: [
                "libhidlbase",
                "libhardware",
                "libutils",
                "vendor.qti.hardware.dsp@1.0",
                "liblog",
                "libc",
                "libcutils",
                "libion",
                "libc++",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "both",
    prefer: true,
    soc_specific: true,
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

cc_prebuilt_library_shared {
    name: "libvpplibrary",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libvpplibrary.so",
            ],
            shared_libs: [
                "libhidlbase",
                "libutils",
                "vendor.qti.hardware.capabilityconfigstore@1.0",
                "libcutils",
                "liblog",
                "libqdMetaData",
                "libion",
                "libvpphvx",
                "libadsprpc",
                "libC2D2",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libvpplibrary.so",
            ],
            shared_libs: [
                "libhidlbase",
                "libutils",
                "vendor.qti.hardware.capabilityconfigstore@1.0",
                "libcutils",
                "liblog",
                "libqdMetaData",
                "libion",
                "libvpphvx",
                "libadsprpc",
                "libC2D2",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "both",
    prefer: true,
    soc_specific: true,
}

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

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

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

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

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.bluetooth_audio@2.1-impl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/hw/vendor.qti.hardware.bluetooth_audio@2.1-impl.so",
            ],
            shared_libs: [
                "android.hardware.audio.common@5.0",
                "libbluetooth_audio_session_qti_2_1",
                "libbase",
                "libcutils",
                "libfmq",
                "libhidlbase",
                "libhidltransport",
                "liblog",
                "libutils",
                "vendor.qti.hardware.bluetooth_audio@2.1",
                "vendor.qti.hardware.bluetooth_audio@2.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

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

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

cc_prebuilt_library_shared {
    name: "libbluetooth_audio_session_qti",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libbluetooth_audio_session_qti.so",
            ],
            shared_libs: [
                "vendor.qti.hardware.bluetooth_audio@2.0",
                "libaudioutils",
                "libbase",
                "libcutils",
                "libfmq",
                "libhidlbase",
                "liblog",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libbluetooth_audio_session_qti_2_1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libbluetooth_audio_session_qti_2_1.so",
            ],
            shared_libs: [
                "vendor.qti.hardware.bluetooth_audio@2.1",
                "vendor.qti.hardware.bluetooth_audio@2.0",
                "libaudioutils",
                "libbase",
                "libcutils",
                "libfmq",
                "libhidlbase",
                "libhidltransport",
                "liblog",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    prefer: true,
    soc_specific: true,
}

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

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

cc_prebuilt_library_shared {
    name: "libqcodec2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libqcodec2.so",
            ],
            shared_libs: [
                "libutils",
                "libcutils",
                "liblog",
                "libcodec2_vndk",
                "libqdMetaData",
                "libhidlbase",
                "android.hardware.graphics.mapper@3.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    prefer: true,
    soc_specific: true,
}

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

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

cc_prebuilt_library_shared {
    name: "libvppclient",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libvppclient.so",
            ],
            shared_libs: [
                "libhidlbase",
                "libhidltransport",
                "liblog",
                "libhwbinder",
                "libutils",
                "libhardware",
                "vendor.qti.hardware.vpp@1.1",
                "vendor.qti.hardware.vpp@1.2",
                "vendor.qti.hardware.vpp@1.3",
                "libvpplibrary",
                "libcutils",
                "libqdMetaData",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    prefer: true,
    soc_specific: true,
}

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

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

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

cc_prebuilt_library_shared {
    name: "libwfddisplayconfig_proprietary",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libwfddisplayconfig_proprietary.so",
            ],
            shared_libs: [
                "libhidlbase",
                "libutils",
                "libcutils",
                "liblog",
                "vendor.display.config@2.0",
                "libdisplayconfig.qti",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    prefer: true,
    soc_specific: true,
}

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

cc_prebuilt_library_shared {
    name: "libwfdhdcpservice_proprietary",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libwfdhdcpservice_proprietary.so",
            ],
            shared_libs: [
                "libmmosal_vendor",
                "liblog",
                "libutils",
                "libcutils",
                "libbinder",
                "libwfdhdcpcp",
                "libc++",
                "libclang_rt.ubsan_standalone",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    prefer: true,
    soc_specific: true,
}

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

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

cc_prebuilt_library_shared {
    name: "libwfdmmsrc_proprietary",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libwfdmmsrc_proprietary.so",
            ],
            shared_libs: [
                "libbinder",
                "libmmosal_vendor",
                "liblog",
                "libutils",
                "libmmrtpencoder_proprietary",
                "libFileMux_proprietary",
                "libcutils",
                "libtinyalsa",
                "libwfdcommonutils_proprietary",
                "libwfdutils_proprietary",
                "libwfdconfigutils_proprietary",
                "libwfdaac_vendor",
                "libpng",
                "libwfdmminterface_proprietary",
                "libwfdcodecv4l2_proprietary",
                "libwfdmmservice_proprietary",
                "libhidlbase",
                "android.hardware.graphics.mapper@2.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libwfdmodulehdcpsession",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libwfdmodulehdcpsession.so",
            ],
            shared_libs: [
                "libmmosal_vendor",
                "liblog",
                "libutils",
                "libwfdhdcpcp",
                "libwfdcommonutils_proprietary",
                "libhidlbase",
                "libwfdutils_proprietary",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    prefer: true,
    soc_specific: true,
}

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

cc_prebuilt_library_shared {
    name: "libwfdsessionmodule",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libwfdsessionmodule.so",
            ],
            shared_libs: [
                "libmmosal_vendor",
                "liblog",
                "libutils",
                "libwfdsourcesession_proprietary",
                "vendor.qti.hardware.wifidisplaysession@1.0_vendor",
                "libwfdcommonutils_proprietary",
                "libhidlbase",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libwfdsourcesession_proprietary",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libwfdsourcesession_proprietary.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libbinder",
                "libmmosal_vendor",
                "libwfdcommonutils_proprietary",
                "libwfdconfigutils_proprietary",
                "libwfdmminterface_proprietary",
                "libmedia_helper",
                "libwfdmmsrc_proprietary",
                "libqdMetaData",
                "libhidlbase",
                "libwfdsourcesm_proprietary",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libwfdsourcesm_proprietary",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/libwfdsourcesm_proprietary.so",
            ],
            shared_libs: [
                "libc++",
                "libcutils",
                "libutils",
                "libwfdrtsp_proprietary",
                "libmmrtpencoder_proprietary",
                "libmmrtpdecoder_proprietary",
                "libwfduibcinterface_proprietary",
                "libwfdmmsrc_proprietary",
                "libmmosal_vendor",
                "libwfdcommonutils_proprietary",
                "libwfdconfigutils_proprietary",
                "libqdMetaData",
                "libwfdmminterface_proprietary",
                "libwfdmodulehdcpsession",
                "libhidlbase",
                "libwfddisplayconfig_proprietary",
                "liblog",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    prefer: true,
    soc_specific: true,
}

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

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

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

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

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

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

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

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

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.wifidisplaysession@1.0_vendor",
    stem: "vendor.qti.hardware.wifidisplaysession@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/vendor.qti.hardware.wifidisplaysession@1.0.so",
            ],
            shared_libs: [
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.wifidisplaysessionl@1.0-halimpl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/lib/vendor.qti.hardware.wifidisplaysessionl@1.0-halimpl.so",
            ],
            shared_libs: [
                "libhidlbase",
                "libutils",
                "libcutils",
                "vendor.qti.hardware.wifidisplaysession@1.0_vendor",
                "libwfdsessionmodule",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "com.qualcomm.qti.dpm.api@1.0_vendor",
    stem: "com.qualcomm.qti.dpm.api@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/com.qualcomm.qti.dpm.api@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: "com.qualcomm.qti.imscmservice@2.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/com.qualcomm.qti.imscmservice@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: "com.qualcomm.qti.imscmservice@2.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/com.qualcomm.qti.imscmservice@2.1.so",
            ],
            shared_libs: [
                "com.qualcomm.qti.imscmservice@2.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "com.qualcomm.qti.imscmservice@2.2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/com.qualcomm.qti.imscmservice@2.2.so",
            ],
            shared_libs: [
                "com.qualcomm.qti.imscmservice@2.0",
                "com.qualcomm.qti.imscmservice@2.1",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "com.qualcomm.qti.uceservice@2.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/com.qualcomm.qti.uceservice@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: "com.qualcomm.qti.uceservice@2.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/com.qualcomm.qti.uceservice@2.1.so",
            ],
            shared_libs: [
                "com.qualcomm.qti.uceservice@2.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "com.qualcomm.qti.uceservice@2.2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/com.qualcomm.qti.uceservice@2.2.so",
            ],
            shared_libs: [
                "com.qualcomm.qti.uceservice@2.0",
                "com.qualcomm.qti.uceservice@2.1",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "com.qualcomm.qti.uceservice@2.3",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/com.qualcomm.qti.uceservice@2.3.so",
            ],
            shared_libs: [
                "com.qualcomm.qti.uceservice@2.0",
                "com.qualcomm.qti.uceservice@2.1",
                "com.qualcomm.qti.uceservice@2.2",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "deviceInfoServiceModule",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/deviceInfoServiceModule.so",
            ],
            shared_libs: [
                "vendor.qti.hardware.radio.internal.deviceinfo@1.0",
                "libqcrilFramework",
                "libril-qc-hal-qmi",
                "libril-qc-logger",
                "libutils",
                "librilqmiservices",
                "libqmi_cci",
                "libhidlbase",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "android.hardware.bluetooth@1.0-impl-qti",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/android.hardware.bluetooth@1.0-impl-qti.so",
            ],
            shared_libs: [
                "libbase",
                "libcutils",
                "libhidlbase",
                "liblog",
                "libutils",
                "libdiag",
                "libqmiservices",
                "libqmi_cci",
                "libbtnv",
                "android.hardware.bluetooth@1.0",
                "libsoc_helper",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

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

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

cc_prebuilt_library_shared {
    name: "vendor.qti.gnss@4.0-impl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/hw/vendor.qti.gnss@4.0-impl.so",
            ],
            shared_libs: [
                "liblog",
                "libhidlbase",
                "libutils",
                "android.hardware.gnss@1.0",
                "android.hardware.gnss@1.1",
                "vendor.qti.gnss@1.0",
                "vendor.qti.gnss@1.1",
                "vendor.qti.gnss@1.2",
                "vendor.qti.gnss@2.0",
                "vendor.qti.gnss@2.1",
                "vendor.qti.gnss@3.0",
                "vendor.qti.gnss@4.0",
                "libloc_core",
                "libgps.utils",
                "liblocation_api",
                "liblocationservice_glue",
                "liblbs_core",
                "libdataitems",
                "liblocationservice",
                "libxtadapter",
                "libizat_core",
                "libizat_client_api",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    relative_install_path: "hw",
    prefer: true,
    soc_specific: true,
}

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

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

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

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

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

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

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

cc_prebuilt_library_shared {
    name: "lib-imscmservice",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/lib-imscmservice.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libbase",
                "libutils",
                "libhidlbase",
                "com.qualcomm.qti.imscmservice@2.0",
                "lib-imsdpl",
                "lib-imsqimf",
                "lib-imsxml",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib-imsdpl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/lib-imsdpl.so",
            ],
            shared_libs: [
                "libdiag",
                "libqmiservices",
                "libcutils",
                "libutils",
                "liblog",
                "libtime_genoff",
                "libcrypto",
                "libssl",
                "libandroid_net",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

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

cc_prebuilt_library_shared {
    name: "lib-imsrcs-v2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/lib-imsrcs-v2.so",
            ],
            shared_libs: [
                "lib-imsdpl",
                "lib-imsqimf",
                "lib-imsxml",
                "lib-siputility",
                "libqmi_cci",
                "liblog",
                "libcutils",
                "libbase",
                "libutils",
                "libhardware_legacy",
                "libhardware",
                "libhidlbase",
                "libqmiservices",
                "libqti_vndfwk_detect",
                "lib-rcsconfig",
                "libidl",
                "com.qualcomm.qti.imscmservice@2.0",
                "com.qualcomm.qti.uceservice@2.0",
                "com.qualcomm.qti.uceservice@2.1",
                "com.qualcomm.qti.uceservice@2.2",
                "com.qualcomm.qti.uceservice@2.3",
                "com.qualcomm.qti.imscmservice@2.1",
                "com.qualcomm.qti.imscmservice@2.2",
                "vendor.qti.ims.callinfo@1.0",
                "vendor.qti.ims.rcsconfig@2.0",
                "vendor.qti.ims.rcsconfig@2.1",
                "vendor.qti.ims.factory@1.0",
                "vendor.qti.ims.factory@1.1",
                "vendor.qti.ims.callcapability@1.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib-imsrcsbaseimpl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/lib-imsrcsbaseimpl.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libbase",
                "libutils",
                "libhardware_legacy",
                "libhardware",
                "libhidlbase",
                "libqmiservices",
                "libqmi_cci",
                "libqti_vndfwk_detect",
                "libidl",
                "com.qualcomm.qti.imscmservice@2.0",
                "com.qualcomm.qti.imscmservice@2.1",
                "com.qualcomm.qti.imscmservice@2.2",
                "com.qualcomm.qti.uceservice@2.0",
                "com.qualcomm.qti.uceservice@2.1",
                "com.qualcomm.qti.uceservice@2.2",
                "com.qualcomm.qti.uceservice@2.3",
                "vendor.qti.ims.callinfo@1.0",
                "vendor.qti.ims.factory@1.0",
                "vendor.qti.ims.factory@1.1",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib-imsvtcore",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/lib-imsvtcore.so",
            ],
            shared_libs: [
                "librcc",
                "libion",
                "libhidlbase",
                "vendor.qti.imsrtpservice@3.0_vendor",
                "vendor.qti.imsrtpservice@3.0-service-Impl",
                "libdiag",
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

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

cc_prebuilt_library_shared {
    name: "lib-rcsconfig",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/lib-rcsconfig.so",
            ],
            shared_libs: [
                "lib-imsdpl",
                "libqmi_cci",
                "libcutils",
                "libutils",
                "liblog",
                "libqmiservices",
                "libqmi_csi",
                "libdiag",
                "libhidlbase",
                "libhardware_legacy",
                "libqti_vndfwk_detect",
                "vendor.qti.ims.rcsconfig@2.0",
                "vendor.qti.ims.rcsconfig@2.1",
                "vendor.qti.ims.factory@1.0",
                "vendor.qti.ims.factory@1.1",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

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

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

cc_prebuilt_library_shared {
    name: "lib-rtpsl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/lib-rtpsl.so",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "lib-imsdpl",
                "lib-rtpcore",
                "lib-rtpcommon",
                "libqti_vndfwk_detect",
                "libdiag",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

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

cc_prebuilt_library_shared {
    name: "lib-uceservice",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/lib-uceservice.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libbase",
                "libutils",
                "libhidlbase",
                "lib-imsdpl",
                "lib-imsqimf",
                "lib-imsxml",
                "lib-siputility",
                "libqti_vndfwk_detect",
                "lib-imscmservice",
                "com.qualcomm.qti.imscmservice@2.0",
                "com.qualcomm.qti.uceservice@2.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

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

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

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

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

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

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

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

cc_prebuilt_library_shared {
    name: "libcne",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcne.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libdiag",
                "libnetutils",
                "libutils",
                "libcneapiclient",
                "libqmiservices",
                "libqmi_cci",
                "libqti_vndfwk_detect",
                "libhardware_legacy",
                "libhidlbase",
                "libnl",
                "libidl",
                "vendor.qti.hardware.data.cne.internal.server@1.0",
                "vendor.qti.hardware.data.cne.internal.api@1.0",
                "vendor.qti.hardware.data.cne.internal.constants@1.0",
                "vendor.qti.hardware.data.latency@1.0",
                "vendor.qti.hardware.data.lce@1.0",
                "libandroid_net",
                "vendor.qti.data.factory@2.0",
                "vendor.qti.data.factory@2.1",
                "vendor.qti.data.factory@2.2",
                "vendor.qti.data.factory@2.3",
                "vendor.qti.hardware.data.qmi@1.0",
                "vendor.qti.hardware.data.dynamicdds@1.0",
                "vendor.qti.ims.rcsconfig@1.0",
                "vendor.qti.ims.rcsconfig@1.1",
                "vendor.qti.latency@2.0",
                "vendor.qti.latency@2.1",
                "vendor.qti.hardware.mwqemadapter@1.0",
                "vendor.qti.data.mwqem@1.0",
                "libwpa_client",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libcneapiclient",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libcneapiclient.so",
            ],
            shared_libs: [
                "libcutils",
                "libnetutils",
                "libutils",
                "libdiag",
                "liblog",
                "libhidlbase",
                "vendor.qti.hardware.data.cne.internal.api@1.0",
                "vendor.qti.data.factory@2.0",
                "vendor.qti.data.factory@2.1",
                "vendor.qti.data.factory@2.2",
                "libandroid_net",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

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

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

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

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

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

cc_prebuilt_library_shared {
    name: "libdpmqmihal",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libdpmqmihal.so",
            ],
            shared_libs: [
                "libhidlbase",
                "liblog",
                "libcutils",
                "libbase",
                "libutils",
                "libhardware_legacy",
                "libhardware",
                "com.qualcomm.qti.dpm.api@1.0_vendor",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

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

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

cc_prebuilt_library_shared {
    name: "libdsi_netctrl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libdsi_netctrl.so",
            ],
            shared_libs: [
                "libqdi",
                "libdiag",
                "libcutils",
                "liblog",
                "libnetmgr",
                "libdsutils",
                "libconfigdb",
                "libqmiservices",
                "libqmi_cci",
                "libqmi_common_so",
                "libqmi_client_qmux",
                "libqmi_client_helper",
                "libqmi",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

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

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

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

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

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

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

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

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

cc_prebuilt_library_shared {
    name: "liblbs_core",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/liblbs_core.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libizat_core",
                "libloc_core",
                "libgps.utils",
                "libcrypto",
                "libsqlite",
                "libloc_api_v02",
                "libmdmdetect",
                "libperipheral_client",
                "libpdmapper",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

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

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

cc_prebuilt_library_shared {
    name: "liblocationservice",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/liblocationservice.so",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libloc_core",
                "libgps.utils",
                "liblbs_core",
                "libdataitems",
                "liblowi_client",
                "libizat_core",
                "liblocation_api",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "liblocationservice_glue",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/liblocationservice_glue.so",
            ],
            shared_libs: [
                "liblocationservice",
                "libcutils",
                "liblog",
                "libloc_core",
                "libgps.utils",
                "libhardware_legacy",
                "liblbs_core",
                "libdataitems",
                "liblocation_api",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

cc_prebuilt_library_shared {
    name: "libqdi",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libqdi.so",
            ],
            shared_libs: [
                "libdiag",
                "libdsutils",
                "libqmiservices",
                "libqmi_cci",
                "libqmi_common_so",
                "libqmi_client_qmux",
                "libqmi_client_helper",
                "libqmi",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libqdp",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libqdp.so",
            ],
            shared_libs: [
                "libdiag",
                "libdsutils",
                "libcutils",
                "libqmiservices",
                "libqmi_cci",
                "libqmi_common_so",
                "libqmi_client_helper",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

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

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

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

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

cc_prebuilt_library_shared {
    name: "libqtikeymaster4",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libqtikeymaster4.so",
            ],
            shared_libs: [
                "liblog",
                "libcrypto",
                "libhidlbase",
                "libutils",
                "libcutils",
                "libkeymasterdeviceutils",
                "libkeymasterutils",
                "libbase",
                "libqcbor",
                "android.hardware.keymaster@4.0",
                "android.hardware.keymaster@4.1",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

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

cc_prebuilt_library_shared {
    name: "libril-qc-hal-qmi",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libril-qc-hal-qmi.so",
            ],
            shared_libs: [
                "libhidlbase",
                "vendor.qti.hardware.radio.ims@1.0",
                "vendor.qti.hardware.radio.ims@1.1",
                "vendor.qti.hardware.radio.ims@1.2",
                "vendor.qti.hardware.radio.ims@1.3",
                "vendor.qti.hardware.radio.ims@1.4",
                "vendor.qti.hardware.radio.ims@1.5",
                "vendor.qti.hardware.radio.ims@1.6",
                "vendor.qti.hardware.radio.ims@1.7",
                "vendor.qti.hardware.radio.am@1.0",
                "vendor.qti.hardware.radio.qcrilhook@1.0",
                "vendor.qti.hardware.radio.uim@1.0",
                "vendor.qti.hardware.radio.uim@1.1",
                "vendor.qti.hardware.radio.uim@1.2",
                "vendor.qti.hardware.radio.uim_remote_server@1.0",
                "vendor.qti.hardware.radio.uim_remote_client@1.0",
                "vendor.qti.hardware.radio.uim_remote_client@1.1",
                "vendor.qti.hardware.radio.uim_remote_client@1.2",
                "vendor.qti.hardware.radio.lpa@1.0",
                "vendor.qti.hardware.radio.lpa@1.1",
                "vendor.qti.hardware.radio.qtiradio@1.0",
                "vendor.qti.hardware.radio.qtiradio@2.0",
                "vendor.qti.hardware.radio.qtiradio@2.1",
                "vendor.qti.hardware.radio.qtiradio@2.2",
                "vendor.qti.hardware.radio.qtiradio@2.3",
                "vendor.qti.hardware.radio.qtiradio@2.4",
                "android.hardware.radio@1.0",
                "android.hardware.radio.config@1.0",
                "android.hardware.radio.config@1.1",
                "android.hardware.radio.config@1.2",
                "libqcrilFramework",
                "android.hardware.secure_element@1.0",
                "android.hardware.secure_element@1.1",
                "android.hardware.secure_element@1.2",
                "vendor.qti.hardware.radio.internal.deviceinfo@1.0",
                "libdsutils",
                "libcutils",
                "liblog",
                "libutils",
                "qcrild_librilutils",
                "libqmi_cci",
                "libqmi_client_qmux",
                "libdiag",
                "libhardware_legacy",
                "libqmiservices",
                "librilqmiservices",
                "libqmi_client_helper",
                "libidl",
                "libtime_genoff",
                "libsqlite",
                "libbinder",
                "libmdmdetect",
                "libperipheral_client",
                "libril-qc-logger",
                "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.deprecated@1.0",
                "qtimutex",
                "libprotobuf-cpp-full-3.9.1-vendorcompat",
                "libvndksupport",
                "libbase",
                "libz",
                "libqdi",
                "libnetmgr",
                "libconfigdb",
                "libxml",
                "qtibus",
                "libsystem_health_mon",
                "libpdmapper",
                "libpdnotifier",
                "libxml2",
                "libdsi_netctrl",
                "libqdp",
                "liblqe",
                "vendor.qti.hardware.data.iwlan@1.0",
                "vendor.qti.hardware.data.connection@1.0",
                "vendor.qti.hardware.data.connection@1.1",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

cc_prebuilt_library_shared {
    name: "libwms",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libwms.so",
            ],
            shared_libs: [
                "libcne",
                "libqmiservices",
                "libqmi_cci",
                "liblog",
                "libcneoplookup",
                "libandroid_net",
                "libutils",
                "vendor.qti.hardware.data.cne.internal.api@1.0",
                "vendor.qti.hardware.data.cne.internal.server@1.0",
                "vendor.qti.hardware.data.latency@1.0",
                "vendor.qti.latency@2.0",
                "vendor.qti.hardware.mwqemadapter@1.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "libwqe",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libwqe.so",
            ],
            shared_libs: [
                "libbinder",
                "libcutils",
                "libnetutils",
                "libutils",
                "liblog",
                "libsqlite",
                "libcneapiclient",
                "libcne",
                "libnl",
                "libxml",
                "libxml2",
                "libandroid_net",
                "libqti_vndfwk_detect",
                "vendor.qti.hardware.data.cne.internal.server@1.0",
                "vendor.qti.hardware.data.cne.internal.api@1.0",
                "vendor.qti.hardware.mwqemadapter@1.0",
                "libwpa_client",
                "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: [
                "libcrypto_shim",
                "android.hardware.drm@1.0",
                "android.hardware.drm@1.1",
                "android.hardware.drm@1.2",
                "android.hardware.drm@1.3",
                "android.hidl.memory@1.0",
                "libbase",
                "libcrypto",
                "libhidlbase",
                "libhidlmemory",
                "liblog",
                "libprotobuf-cpp-lite-3.9.1-vendorcompat",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

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

cc_prebuilt_library_shared {
    name: "libxtadapter",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/libxtadapter.so",
            ],
            shared_libs: [
                "libgps.utils",
                "liblog",
                "libloc_core",
                "libizat_core",
                "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: [
                "libcrypto_shim",
                "libbase",
                "libcrypto",
                "liblog",
                "libprotobuf-cpp-lite-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: "qcrild_librilutils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/qcrild_librilutils.so",
            ],
            shared_libs: [
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

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

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

cc_prebuilt_library_shared {
    name: "vendor.qti.data.factory@2.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.data.factory@2.0.so",
            ],
            shared_libs: [
                "vendor.qti.hardware.data.cne.internal.api@1.0",
                "vendor.qti.hardware.data.cne.internal.constants@1.0",
                "vendor.qti.hardware.data.cne.internal.server@1.0",
                "vendor.qti.hardware.data.dynamicdds@1.0",
                "vendor.qti.hardware.data.qmi@1.0",
                "vendor.qti.ims.rcsconfig@1.0",
                "vendor.qti.latency@2.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.data.factory@2.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.data.factory@2.1.so",
            ],
            shared_libs: [
                "vendor.qti.data.factory@2.0",
                "vendor.qti.data.slm@1.0",
                "vendor.qti.hardware.data.cne.internal.api@1.0",
                "vendor.qti.hardware.data.cne.internal.constants@1.0",
                "vendor.qti.hardware.data.cne.internal.server@1.0",
                "vendor.qti.hardware.data.dynamicdds@1.0",
                "vendor.qti.hardware.data.qmi@1.0",
                "vendor.qti.ims.rcsconfig@1.0",
                "vendor.qti.ims.rcsconfig@1.1",
                "vendor.qti.latency@2.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.data.factory@2.2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.data.factory@2.2.so",
            ],
            shared_libs: [
                "vendor.qti.data.factory@2.0",
                "vendor.qti.data.factory@2.1",
                "vendor.qti.data.mwqem@1.0",
                "vendor.qti.data.slm@1.0",
                "vendor.qti.hardware.data.cne.internal.api@1.0",
                "vendor.qti.hardware.data.cne.internal.constants@1.0",
                "vendor.qti.hardware.data.cne.internal.server@1.0",
                "vendor.qti.hardware.data.dynamicdds@1.0",
                "vendor.qti.hardware.data.qmi@1.0",
                "vendor.qti.ims.rcsconfig@1.0",
                "vendor.qti.ims.rcsconfig@1.1",
                "vendor.qti.latency@2.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.data.factory@2.3",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.data.factory@2.3.so",
            ],
            shared_libs: [
                "vendor.qti.data.factory@2.0",
                "vendor.qti.data.factory@2.1",
                "vendor.qti.data.factory@2.2",
                "vendor.qti.data.mwqem@1.0",
                "vendor.qti.data.slm@1.0",
                "vendor.qti.hardware.data.cne.internal.api@1.0",
                "vendor.qti.hardware.data.cne.internal.constants@1.0",
                "vendor.qti.hardware.data.cne.internal.server@1.0",
                "vendor.qti.hardware.data.dynamicdds@1.0",
                "vendor.qti.hardware.data.lce@1.0",
                "vendor.qti.hardware.data.qmi@1.0",
                "vendor.qti.ims.rcsconfig@1.0",
                "vendor.qti.ims.rcsconfig@1.1",
                "vendor.qti.latency@2.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.data.mwqem@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.data.mwqem@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.qti.data.slm@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.data.slm@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.qti.gnss@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.gnss@1.0.so",
            ],
            shared_libs: [
                "android.hardware.gnss@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

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

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

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

cc_prebuilt_library_shared {
    name: "vendor.qti.gnss@2.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.gnss@2.1.so",
            ],
            shared_libs: [
                "android.hardware.gnss@1.0",
                "vendor.qti.gnss@1.0",
                "vendor.qti.gnss@1.1",
                "vendor.qti.gnss@1.2",
                "vendor.qti.gnss@2.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.gnss@3.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.gnss@3.0.so",
            ],
            shared_libs: [
                "android.hardware.gnss@1.0",
                "vendor.qti.gnss@1.0",
                "vendor.qti.gnss@1.1",
                "vendor.qti.gnss@1.2",
                "vendor.qti.gnss@2.0",
                "vendor.qti.gnss@2.1",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.gnss@4.0-service",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.gnss@4.0-service.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libbase",
                "libutils",
                "libgps.utils",
                "libqti_vndfwk_detect",
                "libhidlbase",
                "android.hardware.gnss@1.0",
                "android.hardware.gnss@1.1",
                "android.hardware.gnss@2.0",
                "vendor.qti.gnss@1.0",
                "vendor.qti.gnss@1.1",
                "vendor.qti.gnss@1.2",
                "vendor.qti.gnss@2.0",
                "vendor.qti.gnss@2.1",
                "vendor.qti.gnss@3.0",
                "vendor.qti.gnss@4.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.gnss@4.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.gnss@4.0.so",
            ],
            shared_libs: [
                "android.hardware.gnss@1.0",
                "vendor.qti.gnss@1.0",
                "vendor.qti.gnss@1.1",
                "vendor.qti.gnss@1.2",
                "vendor.qti.gnss@2.0",
                "vendor.qti.gnss@2.1",
                "vendor.qti.gnss@3.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.alarm@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.alarm@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.qti.hardware.bluetooth_sar@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.bluetooth_sar@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.qti.hardware.bluetooth_sar@1.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.bluetooth_sar@1.1.so",
            ],
            shared_libs: [
                "vendor.qti.hardware.bluetooth_sar@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.cacert@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.cacert@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.qti.hardware.data.cne.internal.api@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.data.cne.internal.api@1.0.so",
            ],
            shared_libs: [
                "vendor.qti.hardware.data.cne.internal.constants@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.data.cne.internal.constants@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.data.cne.internal.constants@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.qti.hardware.data.cne.internal.server@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.data.cne.internal.server@1.0.so",
            ],
            shared_libs: [
                "vendor.qti.hardware.data.cne.internal.constants@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.data.connection@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.data.connection@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.qti.hardware.data.connection@1.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.data.connection@1.1.so",
            ],
            shared_libs: [
                "vendor.qti.hardware.data.connection@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.data.dynamicdds@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.data.dynamicdds@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.qti.hardware.data.iwlan@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.data.iwlan@1.0.so",
            ],
            shared_libs: [
                "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",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.data.latency@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.data.latency@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.qti.hardware.data.lce@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.data.lce@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.qti.hardware.data.qmi@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.data.qmi@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.qti.hardware.fm@1.0_vendor",
    stem: "vendor.qti.hardware.fm@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.fm@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.qti.hardware.mwqemadapter@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.mwqemadapter@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.qti.hardware.qccsyshal@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.qccsyshal@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.qti.hardware.radio.am@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.am@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.qti.hardware.radio.atcmdfwd@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.atcmdfwd@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.qti.hardware.radio.ims@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.ims@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.qti.hardware.radio.ims@1.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.ims@1.1.so",
            ],
            shared_libs: [
                "vendor.qti.hardware.radio.ims@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

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

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

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.radio.ims@1.4",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.ims@1.4.so",
            ],
            shared_libs: [
                "vendor.qti.hardware.radio.ims@1.0",
                "vendor.qti.hardware.radio.ims@1.1",
                "vendor.qti.hardware.radio.ims@1.2",
                "vendor.qti.hardware.radio.ims@1.3",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.radio.ims@1.5",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.ims@1.5.so",
            ],
            shared_libs: [
                "vendor.qti.hardware.radio.ims@1.0",
                "vendor.qti.hardware.radio.ims@1.1",
                "vendor.qti.hardware.radio.ims@1.2",
                "vendor.qti.hardware.radio.ims@1.3",
                "vendor.qti.hardware.radio.ims@1.4",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.radio.ims@1.6",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.ims@1.6.so",
            ],
            shared_libs: [
                "vendor.qti.hardware.radio.ims@1.0",
                "vendor.qti.hardware.radio.ims@1.1",
                "vendor.qti.hardware.radio.ims@1.2",
                "vendor.qti.hardware.radio.ims@1.3",
                "vendor.qti.hardware.radio.ims@1.4",
                "vendor.qti.hardware.radio.ims@1.5",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.radio.ims@1.7",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.ims@1.7.so",
            ],
            shared_libs: [
                "vendor.qti.hardware.radio.ims@1.0",
                "vendor.qti.hardware.radio.ims@1.1",
                "vendor.qti.hardware.radio.ims@1.2",
                "vendor.qti.hardware.radio.ims@1.3",
                "vendor.qti.hardware.radio.ims@1.4",
                "vendor.qti.hardware.radio.ims@1.5",
                "vendor.qti.hardware.radio.ims@1.6",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.radio.internal.deviceinfo@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.internal.deviceinfo@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.qti.hardware.radio.lpa@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.lpa@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.qti.hardware.radio.lpa@1.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.lpa@1.1.so",
            ],
            shared_libs: [
                "vendor.qti.hardware.radio.lpa@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.radio.qcrilhook@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.qcrilhook@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.qti.hardware.radio.qtiradio@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.qtiradio@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.qti.hardware.radio.qtiradio@2.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.qtiradio@2.0.so",
            ],
            shared_libs: [
                "android.hardware.radio@1.0",
                "vendor.qti.hardware.radio.qtiradio@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

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

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.radio.qtiradio@2.2",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.qtiradio@2.2.so",
            ],
            shared_libs: [
                "android.hardware.radio@1.0",
                "vendor.qti.hardware.radio.qtiradio@1.0",
                "vendor.qti.hardware.radio.qtiradio@2.0",
                "vendor.qti.hardware.radio.qtiradio@2.1",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.radio.qtiradio@2.3",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.qtiradio@2.3.so",
            ],
            shared_libs: [
                "android.hardware.radio@1.0",
                "vendor.qti.hardware.radio.qtiradio@1.0",
                "vendor.qti.hardware.radio.qtiradio@2.0",
                "vendor.qti.hardware.radio.qtiradio@2.1",
                "vendor.qti.hardware.radio.qtiradio@2.2",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.radio.qtiradio@2.4",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.qtiradio@2.4.so",
            ],
            shared_libs: [
                "android.hardware.radio@1.0",
                "android.hardware.radio@1.1",
                "vendor.qti.hardware.radio.qtiradio@1.0",
                "vendor.qti.hardware.radio.qtiradio@2.0",
                "vendor.qti.hardware.radio.qtiradio@2.1",
                "vendor.qti.hardware.radio.qtiradio@2.2",
                "vendor.qti.hardware.radio.qtiradio@2.3",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.radio.qtiradio@2.5",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.qtiradio@2.5.so",
            ],
            shared_libs: [
                "android.hardware.radio@1.0",
                "android.hardware.radio@1.1",
                "vendor.qti.hardware.radio.qtiradio@1.0",
                "vendor.qti.hardware.radio.qtiradio@2.0",
                "vendor.qti.hardware.radio.qtiradio@2.1",
                "vendor.qti.hardware.radio.qtiradio@2.2",
                "vendor.qti.hardware.radio.qtiradio@2.3",
                "vendor.qti.hardware.radio.qtiradio@2.4",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.radio.qtiradio@2.6",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.qtiradio@2.6.so",
            ],
            shared_libs: [
                "android.hardware.radio@1.0",
                "vendor.qti.hardware.radio.qtiradio@1.0",
                "vendor.qti.hardware.radio.qtiradio@2.0",
                "vendor.qti.hardware.radio.qtiradio@2.1",
                "vendor.qti.hardware.radio.qtiradio@2.2",
                "vendor.qti.hardware.radio.qtiradio@2.3",
                "vendor.qti.hardware.radio.qtiradio@2.4",
                "vendor.qti.hardware.radio.qtiradio@2.5",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.radio.uim@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.uim@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.qti.hardware.radio.uim@1.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.uim@1.1.so",
            ],
            shared_libs: [
                "vendor.qti.hardware.radio.uim@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

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

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.radio.uim_remote_client@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.uim_remote_client@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.qti.hardware.radio.uim_remote_client@1.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.uim_remote_client@1.1.so",
            ],
            shared_libs: [
                "vendor.qti.hardware.radio.uim_remote_client@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

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

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.radio.uim_remote_server@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.radio.uim_remote_server@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.qti.hardware.soter@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.hardware.soter@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.qti.ims.callcapability@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.ims.callcapability@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.qti.ims.callinfo@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.ims.callinfo@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.qti.ims.factory@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.ims.factory@1.0.so",
            ],
            shared_libs: [
                "vendor.qti.ims.callcapability@1.0",
                "vendor.qti.ims.rcsconfig@2.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.ims.factory@1.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.ims.factory@1.1.so",
            ],
            shared_libs: [
                "vendor.qti.ims.callcapability@1.0",
                "vendor.qti.ims.factory@1.0",
                "vendor.qti.ims.rcsconfig@2.0",
                "vendor.qti.ims.rcsconfig@2.1",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.ims.rcsconfig@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.ims.rcsconfig@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.qti.ims.rcsconfig@1.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.ims.rcsconfig@1.1.so",
            ],
            shared_libs: [
                "vendor.qti.ims.rcsconfig@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.ims.rcsconfig@2.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.ims.rcsconfig@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.qti.ims.rcsconfig@2.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.ims.rcsconfig@2.1.so",
            ],
            shared_libs: [
                "vendor.qti.ims.rcsconfig@2.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.imsrtpservice@3.0-service-Impl",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.imsrtpservice@3.0-service-Impl.so",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libbase",
                "libutils",
                "libhardware_legacy",
                "libhardware",
                "libhidlbase",
                "libdiag",
                "vendor.qti.imsrtpservice@3.0_vendor",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.imsrtpservice@3.0_vendor",
    stem: "vendor.qti.imsrtpservice@3.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.imsrtpservice@3.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.qti.latency@2.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.latency@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.qti.latency@2.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/lib64/vendor.qti.latency@2.1.so",
            ],
            shared_libs: [
                "vendor.qti.latency@2.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_library_shared {
    name: "com.qualcomm.qti.dpm.api@1.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/com.qualcomm.qti.dpm.api@1.0.so",
            ],
            shared_libs: [
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "fm_helium",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/fm_helium.so",
            ],
            shared_libs: [
                "libfm-hci",
                "liblog",
                "libnativehelper",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib-imsvideocodec",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/lib-imsvideocodec.so",
            ],
            shared_libs: [
                "lib-imsvtutils",
                "lib-imsvtextutils",
                "libcutils",
                "libutils",
                "liblog",
                "libdiag_system",
                "libgui",
                "libandroid",
                "libnativewindow",
                "libmediandk",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib-imsvt",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/lib-imsvt.so",
            ],
            shared_libs: [
                "lib-imsvideocodec",
                "libmediandk",
                "libnativewindow",
                "libion",
                "libdmabufheap",
                "lib-imsvtutils",
                "libandroid",
                "libhidlbase",
                "vendor.qti.imsrtpservice@3.0",
                "vendor.qti.imsrtpservice@3.1",
                "libdiag_system",
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib-imsvtextutils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/lib-imsvtextutils.so",
            ],
            shared_libs: [
                "libutils",
                "libcutils",
                "liblog",
                "libdiag_system",
                "lib-imsvtutils",
                "libGLESv2",
                "libEGL",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "lib-imsvtutils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/lib-imsvtutils.so",
            ],
            shared_libs: [
                "libutils",
                "libcutils",
                "liblog",
                "libdiag_system",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libdiag_system",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libdiag_system.so",
            ],
            shared_libs: [
                "vendor.qti.diaghal@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "android.hidl.allocator@1.0",
                "android.hidl.memory@1.0",
                "libhidlmemory",
                "libc",
                "libcutils",
                "libc++",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libdpmctmgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libdpmctmgr.so",
            ],
            shared_libs: [
                "libdiag_system",
                "libbinder",
                "libcutils",
                "libutils",
                "libdpmframework",
                "com.qualcomm.qti.dpm.api@1.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libdpmfdmgr",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libdpmfdmgr.so",
            ],
            shared_libs: [
                "libdiag_system",
                "libbinder",
                "libcutils",
                "libutils",
                "libdpmframework",
                "com.qualcomm.qti.dpm.api@1.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libdpmframework",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libdpmframework.so",
            ],
            shared_libs: [
                "libdiag_system",
                "libbinder",
                "libcutils",
                "libutils",
                "liblog",
                "libhidlbase",
                "libhardware",
                "libhardware_legacy",
                "com.qualcomm.qti.dpm.api@1.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libdpmtcm",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libdpmtcm.so",
            ],
            shared_libs: [
                "libdiag_system",
                "libbinder",
                "libcutils",
                "libutils",
                "libdpmframework",
                "com.qualcomm.qti.dpm.api@1.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libfm-hci",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libfm-hci.so",
            ],
            shared_libs: [
                "libcutils",
                "libbase",
                "libhidlbase",
                "liblog",
                "libutils",
                "vendor.qti.hardware.fm@1.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

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

cc_prebuilt_library_shared {
    name: "libimsmedia_jni",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libimsmedia_jni.so",
            ],
            shared_libs: [
                "libnativehelper",
                "libcutils",
                "libutils",
                "libgui",
                "libbinder",
                "liblog",
                "libandroid",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

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

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

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

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

cc_prebuilt_library_shared {
    name: "libwfdavenhancements",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libwfdavenhancements.so",
            ],
            shared_libs: [
                "liblog",
                "libbinder",
                "libutils",
                "libgui",
                "libui",
                "libstagefright_foundation",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libwfdclient",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libwfdclient.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libbinder",
                "libgui",
                "libmmosal",
                "libinput",
                "libwfdsinksm",
                "libwfdcommonutils",
                "libwfdconfigutils",
                "libwfdmminterface",
                "libnativewindow",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libwfdcommonutils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libwfdcommonutils.so",
            ],
            shared_libs: [
                "libmmosal",
                "liblog",
                "libutils",
                "libcutils",
                "libbinder",
                "libnl",
                "libwfdmminterface",
                "libwfdconfigutils",
                "libui",
                "libgui",
                "libwfddisplayconfig",
                "libion",
                "libprocessgroup",
                "libdng_sdk",
                "libjpeg",
                "libpiex",
                "libpng",
                "libheif",
                "libnativewindow",
                "libEGL",
                "libGLESv2",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libwfdconfigutils",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libwfdconfigutils.so",
            ],
            shared_libs: [
                "libmmosal",
                "liblog",
                "libutils",
                "libcutils",
                "libbinder",
                "libnl",
                "libwfdmminterface",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libwfddisplayconfig",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libwfddisplayconfig.so",
            ],
            shared_libs: [
                "libhidlbase",
                "libutils",
                "libcutils",
                "liblog",
                "vendor.display.config@2.0",
                "libdisplayconfig.system.qti",
                "libbinder_ndk",
                "vendor.qti.hardware.display.config-V5-ndk",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

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

cc_prebuilt_library_shared {
    name: "libwfdmmsink",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libwfdmmsink.so",
            ],
            shared_libs: [
                "libmmosal",
                "liblog",
                "libutils",
                "libmedia",
                "libaudioclient",
                "libgui",
                "libbinder",
                "libwfdcommonutils",
                "libwfdconfigutils",
                "libui",
                "libmmparser_lite",
                "libmmrtpdecoder",
                "libcutils",
                "libwfddisplayconfig",
                "libhwui",
                "libwfdmminterface",
                "libhidlbase",
                "libhidlmemory",
                "android.hidl.allocator@1.0",
                "android.hidl.memory@1.0",
                "libandroid",
                "libmediandk",
                "libaaudio",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libwfdmmsrc_system",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libwfdmmsrc_system.so",
            ],
            shared_libs: [
                "libbinder",
                "libmmosal",
                "liblog",
                "libutils",
                "libcutils",
                "libgui",
                "libui",
                "libwfdcommonutils",
                "libwfdconfigutils",
                "libinput",
                "libwfdmminterface",
                "libwfddisplayconfig",
                "libmedia_helper",
                "libaudioclient",
                "libwfdavenhancements",
                "libhidlbase",
                "libgralloctypes",
                "android.hardware.graphics.mapper@4.0",
                "libvndksupport",
                "android.hardware.graphics.allocator@4.0",
                "android.hardware.graphics.allocator-V2-ndk",
                "libbinder_ndk",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libwfdnative",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libwfdnative.so",
            ],
            shared_libs: [
                "libandroid_runtime",
                "libui",
                "libinput",
                "libbinder",
                "libgui",
                "libnativehelper",
                "libutils",
                "liblog",
                "libwfdclient",
                "libhidlbase",
                "libhidlmemory",
                "android.hidl.token@1.0-utils",
                "android.hardware.graphics.common@1.0",
                "android.hardware.graphics.bufferqueue@1.0",
                "android.hardware.graphics.bufferqueue@2.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libwfdrtsp",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libwfdrtsp.so",
            ],
            shared_libs: [
                "libc++",
                "libcutils",
                "libutils",
                "libmmosal",
                "libwfdcommonutils",
                "libwfdconfigutils",
                "liblog",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libwfdservice",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libwfdservice.so",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libbinder",
                "libgui",
                "libwfdsinksm",
                "libmmosal",
                "libwfdcommonutils",
                "libwfdconfigutils",
                "libinput",
                "libwfdmminterface",
                "libmedia_helper",
                "libaudioclient",
                "libaudiofoundation",
                "audioclient-types-aidl-cpp",
                "android.media.audio.common.types-V4-cpp",
                "libwfdmmsrc_system",
                "libwfdavenhancements",
                "libhidlbase",
                "vendor.qti.hardware.wifidisplaysession@1.0",
                "vendor.qti.hardware.wifidisplaysession_aidl-V1-ndk",
                "libbinder_ndk",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libwfdsinksm",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libwfdsinksm.so",
            ],
            shared_libs: [
                "libc++",
                "libcutils",
                "libutils",
                "libwfdrtsp",
                "libwfduibcinterface",
                "libwfdmmsink",
                "libmmosal",
                "libmedia",
                "libwfdcommonutils",
                "libwfdconfigutils",
                "libwfdmminterface",
                "libmmrtpencoder",
                "libmmrtpdecoder",
                "libhidlbase",
                "libnativewindow",
                "libmediandk",
                "liblog",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libwfduibcinterface",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libwfduibcinterface.so",
            ],
            shared_libs: [
                "libmmosal",
                "liblog",
                "libutils",
                "libcutils",
                "libwfduibcsrcinterface",
                "libwfduibcsinkinterface",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

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

cc_prebuilt_library_shared {
    name: "libwfduibcsinkinterface",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libwfduibcsinkinterface.so",
            ],
            shared_libs: [
                "libmmosal",
                "liblog",
                "libutils",
                "libcutils",
                "libwfduibcsink",
                "libwfdcommonutils",
                "libwfdconfigutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libwfduibcsrc",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libwfduibcsrc.so",
            ],
            shared_libs: [
                "libmmosal",
                "libwfdcommonutils",
                "liblog",
                "libutils",
                "libcutils",
                "libwfdconfigutils",
                "libwfddisplayconfig",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "libwfduibcsrcinterface",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/libwfduibcsrcinterface.so",
            ],
            shared_libs: [
                "libmmosal",
                "liblog",
                "libutils",
                "libcutils",
                "libwfduibcsrc",
                "libwfdcommonutils",
                "libwfdconfigutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

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

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

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

cc_prebuilt_library_shared {
    name: "vendor.qti.hardware.wifidisplaysession_aidl-V1-ndk",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/vendor.qti.hardware.wifidisplaysession_aidl-V1-ndk.so",
            ],
            shared_libs: [
                "libbinder_ndk",
                "android.hardware.common-V2-ndk",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.imsrtpservice@3.0",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/vendor.qti.imsrtpservice@3.0.so",
            ],
            shared_libs: [
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_library_shared {
    name: "vendor.qti.imsrtpservice@3.1",
    owner: "xiaomi",
    strip: {
        none: true,
    },
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/lib64/vendor.qti.imsrtpservice@3.1.so",
            ],
            shared_libs: [
                "vendor.qti.imsrtpservice@3.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libcutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    prefer: true,
    system_ext_specific: true,
}

android_app_import {
    name: "CACertService",
    owner: "xiaomi",
    apk: "proprietary/vendor/app/CACertService/CACertService.apk",
    certificate: "platform",
    dex_preopt: {
        enabled: false,
    },
    soc_specific: true,
}

android_app_import {
    name: "CneApp",
    owner: "xiaomi",
    apk: "proprietary/vendor/app/CneApp/CneApp.apk",
    required: [
        "CneApp.libvndfwk_detect_jni.qti_symlink",
    ],
    certificate: "platform",
    dex_preopt: {
        enabled: false,
    },
    soc_specific: true,
}

android_app_import {
    name: "IWlanService",
    owner: "xiaomi",
    apk: "proprietary/vendor/app/IWlanService/IWlanService.apk",
    certificate: "platform",
    dex_preopt: {
        enabled: false,
    },
    soc_specific: true,
}

android_app_import {
    name: "SoterService",
    owner: "xiaomi",
    apk: "proprietary/vendor/app/SoterService/SoterService.apk",
    certificate: "platform",
    dex_preopt: {
        enabled: false,
    },
    soc_specific: true,
}

android_app_import {
    name: "TimeService",
    owner: "xiaomi",
    apk: "proprietary/vendor/app/TimeService/TimeService.apk",
    certificate: "platform",
    dex_preopt: {
        enabled: false,
    },
    soc_specific: true,
}

android_app_import {
    name: "PowerOffAlarm",
    owner: "xiaomi",
    apk: "proprietary/product/app/PowerOffAlarm/PowerOffAlarm.apk",
    certificate: "platform",
    dex_preopt: {
        enabled: false,
    },
    product_specific: true,
}

android_app_import {
    name: "QtiTelephonyService",
    owner: "xiaomi",
    apk: "proprietary/system_ext/app/QtiTelephonyService/QtiTelephonyService.apk",
    certificate: "platform",
    dex_preopt: {
        enabled: false,
    },
    system_ext_specific: true,
}

android_app_import {
    name: "WfdService",
    owner: "xiaomi",
    apk: "proprietary/system_ext/priv-app/WfdService/WfdService.apk",
    certificate: "platform",
    dex_preopt: {
        enabled: false,
    },
    privileged: true,
    system_ext_specific: true,
}

android_app_import {
    name: "dpmserviceapp",
    owner: "xiaomi",
    apk: "proprietary/system_ext/priv-app/dpmserviceapp/dpmserviceapp.apk",
    certificate: "platform",
    dex_preopt: {
        enabled: false,
    },
    privileged: true,
    system_ext_specific: true,
}

android_app_import {
    name: "ims",
    owner: "xiaomi",
    apk: "proprietary/system_ext/priv-app/ims/ims.apk",
    certificate: "platform",
    dex_preopt: {
        enabled: false,
    },
    privileged: true,
    system_ext_specific: true,
}

android_app_import {
    name: "qcrilmsgtunnel",
    owner: "xiaomi",
    apk: "proprietary/system_ext/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk",
    certificate: "platform",
    dex_preopt: {
        enabled: false,
    },
    privileged: true,
    system_ext_specific: true,
}

dex_import {
    name: "WfdCommon",
    owner: "xiaomi",
    jars: [
        "proprietary/system/framework/WfdCommon.jar",
    ],
}

dex_import {
    name: "tcmclient",
    owner: "xiaomi",
    jars: [
        "proprietary/system/framework/tcmclient.jar",
    ],
}

dex_import {
    name: "audiosphere",
    owner: "xiaomi",
    jars: [
        "proprietary/system_ext/framework/audiosphere.jar",
    ],
    system_ext_specific: true,
}

dex_import {
    name: "com.qti.dpmframework",
    owner: "xiaomi",
    jars: [
        "proprietary/system_ext/framework/com.qti.dpmframework.jar",
    ],
    system_ext_specific: true,
}

dex_import {
    name: "dpmapi",
    owner: "xiaomi",
    jars: [
        "proprietary/system_ext/framework/dpmapi.jar",
    ],
    system_ext_specific: true,
}

dex_import {
    name: "qcrilhook",
    owner: "xiaomi",
    jars: [
        "proprietary/system_ext/framework/qcrilhook.jar",
    ],
    system_ext_specific: true,
}

dex_import {
    name: "qti-telephony-common",
    owner: "xiaomi",
    jars: [
        "proprietary/system_ext/framework/qti-telephony-common.jar",
    ],
    system_ext_specific: true,
}

prebuilt_etc_xml {
    name: "manifest_android.hardware.drm@1.3-service.widevine.xml",
    owner: "xiaomi",
    src: "proprietary/vendor/etc/vintf/manifest/manifest_android.hardware.drm@1.3-service.widevine.xml",
    filename_from_src: true,
    sub_dir: "vintf/manifest",
    soc_specific: true,
}

prebuilt_etc_xml {
    name: "vendor.qti.gnss@4.0-service.xml",
    owner: "xiaomi",
    src: "proprietary/vendor/etc/vintf/manifest/vendor.qti.gnss@4.0-service.xml",
    filename_from_src: true,
    sub_dir: "vintf/manifest",
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "adpl",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/adpl",
            ],
            shared_libs: [
                "libc",
                "liblog",
                "libdiag",
                "libdsutils",
                "librmnetctl",
                "libqmi_cci",
                "libqmiservices",
                "libnetutils",
                "libcutils",
                "libqmi_client_qmux",
                "libqmi_encdec",
                "libqcmaputils",
                "libc++",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "adsprpcd",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/adsprpcd",
            ],
            shared_libs: [
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "cdsprpcd",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/cdsprpcd",
            ],
            shared_libs: [
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "cnd",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/cnd",
            ],
            shared_libs: [
                "libdiag",
                "libcutils",
                "liblog",
                "libnetutils",
                "libqti_vndfwk_detect",
                "libutils",
                "libcne",
                "libcneapiclient",
                "libqmiservices",
                "libhidlbase",
                "libandroid_net",
                "vendor.qti.hardware.data.cne.internal.api@1.0",
                "vendor.qti.hardware.data.cne.internal.constants@1.0",
                "vendor.qti.hardware.data.cne.internal.server@1.0",
                "vendor.qti.hardware.data.latency@1.0",
                "vendor.qti.data.factory@2.0",
                "vendor.qti.data.factory@2.1",
                "vendor.qti.data.factory@2.2",
                "vendor.qti.data.factory@2.3",
                "vendor.qti.latency@2.0",
                "vendor.qti.latency@2.1",
                "vendor.qti.hardware.mwqemadapter@1.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "cnss-daemon",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/cnss-daemon",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libqmi_cci",
                "libqmi_common_so",
                "libnl",
                "libcld80211",
                "libperipheral_client",
                "libmdmdetect",
                "libqmiservices",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "dpmQmiMgr",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/dpmQmiMgr",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libbase",
                "libutils",
                "libhardware_legacy",
                "libhardware",
                "libhidlbase",
                "libqmi_cci",
                "libqmi_client_helper",
                "libqmiservices",
                "libdpmqmihal",
                "com.qualcomm.qti.dpm.api@1.0_vendor",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "dspservice",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/dspservice",
            ],
            shared_libs: [
                "libhidlbase",
                "libhardware",
                "libutils",
                "libcutils",
                "liblog",
                "libavservices_minijail",
                "vendor.qti.hardware.dsp@1.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "hvdcp_opti",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hvdcp_opti",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "android.hardware.bluetooth@1.0-service-qti",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/android.hardware.bluetooth@1.0-service-qti",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libutils",
                "libhidlbase",
                "android.hardware.bluetooth@1.0",
                "vendor.qti.hardware.fm@1.0_vendor",
                "com.dsi.ant@1.0",
                "vendor.qti.hardware.bluetooth_sar@1.0",
                "vendor.qti.hardware.bluetooth_sar@1.1",
                "vendor.qti.hardware.btconfigstore@1.0",
                "vendor.qti.hardware.btconfigstore@2.0",
                "libqti_vndfwk_detect",
                "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.drm@1.3-service.widevine",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/android.hardware.drm@1.3-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",
                "libwvhidl",
                "libbinder",
                "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.gatekeeper@1.0-service-qti",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/android.hardware.gatekeeper@1.0-service-qti",
            ],
            shared_libs: [
                "android.hardware.gatekeeper@1.0",
                "libhardware",
                "libhidlbase",
                "libutils",
                "liblog",
                "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.keymaster@4.1-service-qti",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/android.hardware.keymaster@4.1-service-qti",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libbase",
                "libutils",
                "libhardware",
                "libhidlbase",
                "android.hardware.keymaster@4.0",
                "android.hardware.keymaster@4.1",
                "libqtikeymaster4",
                "libcrypto",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    relative_install_path: "hw",
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "qcrild",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/qcrild",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libril-qc-hal-qmi",
                "libhardware_legacy",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    relative_install_path: "hw",
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "vendor.qti.hardware.alarm@1.0-service",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/vendor.qti.hardware.alarm@1.0-service",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libbase",
                "libutils",
                "libhardware",
                "libhidlbase",
                "vendor.qti.hardware.alarm@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.qti.hardware.capabilityconfigstore@1.0-service",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/vendor.qti.hardware.capabilityconfigstore@1.0-service",
            ],
            shared_libs: [
                "liblog",
                "libcutils",
                "libbase",
                "libutils",
                "libhardware",
                "libhidlbase",
                "libxml2",
                "vendor.qti.hardware.capabilityconfigstore@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.qti.hardware.soter@1.0-service",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/hw/vendor.qti.hardware.soter@1.0-service",
            ],
            shared_libs: [
                "vendor.qti.hardware.soter@1.0",
                "libhidlbase",
                "liblog",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    relative_install_path: "hw",
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "vendor.qti.media.c2@1.0-service",
    owner: "xiaomi",
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/bin/hw/vendor.qti.media.c2@1.0-service",
            ],
            shared_libs: [
                "libqcodec2",
                "android.hardware.media.c2@1.0",
                "android.hardware.media.omx@1.0",
                "liblog",
                "libcutils",
                "libavservices_minijail",
                "libbinder",
                "libhidlbase",
                "libcodec2_vndk",
                "libstagefright_omx",
                "libstagefright_xmlparser",
                "libutils",
                "libvndksupport",
                "libcodec2_hidl@1.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    strip: {
        none: true,
    },
    prefer: true,
    relative_install_path: "hw",
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "ims_rtp_daemon",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/ims_rtp_daemon",
            ],
            shared_libs: [
                "libdiag",
                "libcutils",
                "liblog",
                "lib-imsvtcore",
                "lib-imsdpl",
                "lib-rtpsl",
                "lib-rtpcore",
                "lib-rtpcommon",
                "libqmiservices",
                "libqmi_csi",
                "libqmi_cci",
                "vendor.qti.imsrtpservice@3.0_vendor",
                "vendor.qti.imsrtpservice@3.0-service-Impl",
                "libutils",
                "libhidlbase",
                "libavservices_minijail",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "imsdatadaemon",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/imsdatadaemon",
            ],
            shared_libs: [
                "libqmi_cci",
                "libcutils",
                "liblog",
                "libqmiservices",
                "libqmi_csi",
                "libdsi_netctrl",
                "libdiag",
                "libwpa_client",
                "libcneapiclient",
                "libandroid_net",
                "libutils",
                "libhidlbase",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "imsqmidaemon",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/imsqmidaemon",
            ],
            shared_libs: [
                "libqmiservices",
                "libqmi_cci",
                "libidl",
                "libcutils",
                "libutils",
                "liblog",
                "libdiag",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "imsrcsd",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/imsrcsd",
            ],
            shared_libs: [
                "liblog",
                "libbase",
                "libhidlbase",
                "libcutils",
                "libutils",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "irsc_util",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/irsc_util",
            ],
            shared_libs: [
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "loc_launcher",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/loc_launcher",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libgps.utils",
                "libqti_vndfwk_detect",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "lowi-server",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/lowi-server",
            ],
            shared_libs: [
                "libcutils",
                "libgps.utils",
                "liblog",
                "libnl",
                "libwpa_client",
                "libqmi_cci",
                "libqmi_common_so",
                "libdiag",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "msm_irqbalance",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/msm_irqbalance",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "netmgrd",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/netmgrd",
            ],
            shared_libs: [
                "libdsutils",
                "libconfigdb",
                "libdiag",
                "libcutils",
                "liblog",
                "libnetutils",
                "librmnetctl",
                "libnlnetmgr",
                "libnetmgr",
                "libnetmgr_common",
                "libqmiservices",
                "libqmi_common_so",
                "libqmi_cci",
                "libqmi_client_qmux",
                "libqmi_client_helper",
                "libqmi",
                "libutils",
                "libhidlbase",
                "libandroid_net",
                "android.system.net.netd@1.1",
                "libqti_vndfwk_detect",
                "libcneapiclient",
                "libbinder",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "nv_mac",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/nv_mac",
            ],
            shared_libs: [
                "libcutils",
                "liblog",
                "libqmi_cci",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "pd-mapper",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/pd-mapper",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libjson",
                "libqmi_cci",
                "libqmi_common_so",
                "libqmi_encdec",
                "libqmi_csi",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "pm-proxy",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/pm-proxy",
            ],
            shared_libs: [
                "libperipheral_client",
                "libcutils",
                "liblog",
                "libmdmdetect",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "pm-service",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/pm-service",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libbinder",
                "libqmi_cci",
                "libqmi_common_so",
                "libqmi_encdec",
                "libqmi_csi",
                "libmdmdetect",
                "libperipheral_client",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "power_off_alarm",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/power_off_alarm",
            ],
            shared_libs: [
                "libc",
                "liblog",
                "libcutils",
                "libc++",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "qrtr-ns",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/qrtr-ns",
            ],
            shared_libs: [
                "libqrtr",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "qseecomd",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/qseecomd",
            ],
            shared_libs: [
                "libcutils",
                "libutils",
                "liblog",
                "libQSEEComAPI",
                "libdrmfs",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "qti",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/qti",
            ],
            shared_libs: [
                "libc",
                "liblog",
                "libdiag",
                "libdsutils",
                "librmnetctl",
                "libqmi_cci",
                "libqmiservices",
                "libnetutils",
                "libcutils",
                "libqmi_client_qmux",
                "libqmi_encdec",
                "libqcmaputils",
                "libc++",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "rmt_storage",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/rmt_storage",
            ],
            shared_libs: [
                "libqmi_csi",
                "libqmi_common_so",
                "libcutils",
                "liblog",
                "libmdmdetect",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "slim_daemon",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/slim_daemon",
            ],
            shared_libs: [
                "libgps.utils",
                "liblog",
                "libdiag",
                "libqmi_csi",
                "libqmi_cci",
                "libqmi_common_so",
                "libqmi_encdec",
                "libutils",
                "libhidlbase",
                "libsensorndkbridge",
                "android.hardware.sensors@1.0",
                "android.frameworks.sensorservice@1.0",
                "libloc_api_v02",
                "libloc_core",
                "liblbs_core",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "tftp_server",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/tftp_server",
            ],
            shared_libs: [
                "libqsocket",
                "libqrtr",
                "liblog",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "time_daemon",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/time_daemon",
            ],
            shared_libs: [
                "libc",
                "liblog",
                "libcutils",
                "libqmi_cci",
                "libqmi_common_so",
                "libc++",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "vppservice",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/vppservice",
            ],
            shared_libs: [
                "libhidlbase",
                "libhidltransport",
                "liblog",
                "libhwbinder",
                "libutils",
                "libhardware",
                "vendor.qti.hardware.vpp@1.1",
                "vendor.qti.hardware.vpp@1.2",
                "vendor.qti.hardware.vpp@1.3",
                "libcutils",
                "libvpplibrary",
                "libqdMetaData",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "wfdvndservice",
    owner: "xiaomi",
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/bin/wfdvndservice",
            ],
            shared_libs: [
                "libutils",
                "liblog",
                "libbinder",
                "libwfdhdcpservice_proprietary",
                "libavservices_minijail",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "wifidisplayhalservice",
    owner: "xiaomi",
    target: {
        android_arm: {
            srcs: [
                "proprietary/vendor/bin/wifidisplayhalservice",
            ],
            shared_libs: [
                "vendor.qti.hardware.wifidisplaysession@1.0_vendor",
                "vendor.qti.hardware.wifidisplaysessionl@1.0-halimpl",
                "libhidlbase",
                "libutils",
                "liblog",
                "libbinder",
                "libavservices_minijail",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "32",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "xtra-daemon",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/vendor/bin/xtra-daemon",
            ],
            shared_libs: [
                "libutils",
                "libcutils",
                "libcrypto",
                "libssl",
                "libsqlite",
                "libgps.utils",
                "libloc_core",
                "libizat_core",
                "liblbs_core",
                "liblog",
                "libandroid_net",
                "libavservices_minijail",
                "libcdfw_remote_api",
                "libqcc_file_agent",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    soc_specific: true,
}

cc_prebuilt_binary {
    name: "dpmd",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/bin/dpmd",
            ],
            shared_libs: [
                "libdpmframework",
                "libdiag_system",
                "libhardware_legacy",
                "libhidlbase",
                "libcutils",
                "libutils",
                "com.qualcomm.qti.dpm.api@1.0",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    system_ext_specific: true,
}

cc_prebuilt_binary {
    name: "wfdservice64",
    owner: "xiaomi",
    target: {
        android_arm64: {
            srcs: [
                "proprietary/system_ext/bin/wfdservice64",
            ],
            shared_libs: [
                "liblog",
                "libutils",
                "libcutils",
                "libbinder",
                "libwfdservice",
                "libmmosal",
                "libwfdcommonutils",
                "libwfdconfigutils",
                "libhidlbase",
                "libavservices_minijail",
                "libc++",
                "libc",
                "libm",
                "libdl",
            ],
        },
    },
    compile_multilib: "64",
    strip: {
        none: true,
    },
    prefer: true,
    system_ext_specific: true,
}

install_symlink {
    name: "system_ext_priv-app_ims_lib_arm64_libimscamera_jni_so",
    system_ext_specific: true,
    installed_location: "priv-app/ims/lib/arm64/libimscamera_jni.so",
    symlink_target: "/system_ext/lib64/libimscamera_jni.so",
}

install_symlink {
    name: "system_ext_priv-app_ims_lib_arm64_libimsmedia_jni_so",
    system_ext_specific: true,
    installed_location: "priv-app/ims/lib/arm64/libimsmedia_jni.so",
    symlink_target: "/system_ext/lib64/libimsmedia_jni.so",
}

install_symlink {
    name: "system_ext_priv-app_WfdService_lib_arm64_libwfdnative_so",
    system_ext_specific: true,
    installed_location: "priv-app/WfdService/lib/arm64/libwfdnative.so",
    symlink_target: "/system_ext/lib64/libwfdnative.so",
}

install_symlink {
    name: "vendor_lib_libEGL_adreno_so",
    soc_specific: true,
    installed_location: "lib/libEGL_adreno.so",
    symlink_target: "/vendor/lib/egl/libEGL_adreno.so",
}

install_symlink {
    name: "vendor_lib_libGLESv2_adreno_so",
    soc_specific: true,
    installed_location: "lib/libGLESv2_adreno.so",
    symlink_target: "/vendor/lib/egl/libGLESv2_adreno.so",
}

install_symlink {
    name: "vendor_lib_libq3dtools_adreno_so",
    soc_specific: true,
    installed_location: "lib/libq3dtools_adreno.so",
    symlink_target: "/vendor/lib/egl/libq3dtools_adreno.so",
}

install_symlink {
    name: "vendor_lib64_libEGL_adreno_so",
    soc_specific: true,
    installed_location: "lib64/libEGL_adreno.so",
    symlink_target: "/vendor/lib64/egl/libEGL_adreno.so",
}

install_symlink {
    name: "vendor_lib64_libGLESv2_adreno_so",
    soc_specific: true,
    installed_location: "lib64/libGLESv2_adreno.so",
    symlink_target: "/vendor/lib64/egl/libGLESv2_adreno.so",
}

install_symlink {
    name: "vendor_lib64_libq3dtools_adreno_so",
    soc_specific: true,
    installed_location: "lib64/libq3dtools_adreno.so",
    symlink_target: "/vendor/lib64/egl/libq3dtools_adreno.so",
}
