cc_library_shared {
    name: "libuapi_rm",
    proprietary: true,
    compile_multilib: "both",

    srcs: [
        "*.c",
    ],

    include_dirs: [
        "vendor/platform/secure_c/include",
    ],

    header_libs: [
        "drv_generic_headers",
        "drv_rm_headers",
        "libuapi_rm_headers",
    ],

    export_header_lib_headers: [
        "libuapi_rm_headers",
    ],

    shared_libs: [
        "libuapi_common",
        "libuapi_securec",
    ],

    cflags: [
        "-DLOG_TAG=\"libuapi_rm\"",
        "-DCONFIG_SOCT_LOG_SUPPORT",
        "-Wformat",
        "-Wlong-long",
        "-Wpointer-arith",
    ],
    clang: true,
}