cc_library(
    name = "utf",
    srcs = [
        "libutf/rune.c",
        "libutf/runestrcat.c",
        "libutf/runestrchr.c",
        "libutf/runestrcmp.c",
        "libutf/runestrcpy.c",
        "libutf/runestrdup.c",
        "libutf/runestrecpy.c",
        "libutf/runestrlen.c",
        "libutf/runestrncat.c",
        "libutf/runestrncmp.c",
        "libutf/runestrncpy.c",
        "libutf/runestrrchr.c",
        "libutf/runestrstr.c",
        "libutf/runetype.c",
        "libutf/utfecpy.c",
        "libutf/utflen.c",
        "libutf/utfnlen.c",
        "libutf/utfrrune.c",
        "libutf/utfrune.c",
        "libutf/utfutf.c",
    ],
    hdrs = [
        "libutf/utf.h",
        "libutf/utfdef.h",
        "libutf/plan9.h",
    ],
    includes = [
        ".",
        "libutf",
    ],
    copts = [
        "-Wno-parentheses",
    ],
    visibility = ["//visibility:public"],
)

