xref: /aosp_15_r20/external/tflite-support/third_party/utf.BUILD (revision b16991f985baa50654c05c5adbb3c8bbcfb40082)
1cc_library(
2    name = "utf",
3    srcs = [
4        "libutf/rune.c",
5        "libutf/runestrcat.c",
6        "libutf/runestrchr.c",
7        "libutf/runestrcmp.c",
8        "libutf/runestrcpy.c",
9        "libutf/runestrdup.c",
10        "libutf/runestrecpy.c",
11        "libutf/runestrlen.c",
12        "libutf/runestrncat.c",
13        "libutf/runestrncmp.c",
14        "libutf/runestrncpy.c",
15        "libutf/runestrrchr.c",
16        "libutf/runestrstr.c",
17        "libutf/runetype.c",
18        "libutf/utfecpy.c",
19        "libutf/utflen.c",
20        "libutf/utfnlen.c",
21        "libutf/utfrrune.c",
22        "libutf/utfrune.c",
23        "libutf/utfutf.c",
24    ],
25    hdrs = [
26        "libutf/plan9.h",
27        "libutf/utf.h",
28        "libutf/utfdef.h",
29    ],
30    copts = [
31        "-Wno-parentheses",
32    ],
33    includes = [
34        ".",
35        "libutf",
36    ],
37    visibility = ["//visibility:public"],
38)
39