BUILD 745 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
licenses(["notice"])

# Requires --copt -funsigned-char when compiling (unsigned chars).

cc_library(
    name = "unicodetext",
    srcs = [
        "unicodetext.cc",
        "unilib.cc",
    ],
    hdrs = [
        "unicodetext.h",
        "unilib.h",
        "unilib_utf8_utils.h",
    ],
    visibility = ["//visibility:public"],
    deps = [
        "//syntaxnet:base",
        "//third_party/utf",
    ],
)

cc_test(
    name = "unicodetext_unittest",
    srcs = [
        "gtest_main.cc",
        "unicodetext_unittest.cc",
    ],
    deps = [
30
        "@org_tensorflow//tensorflow/core:testlib",
31
32
33
34
35
36
37
38
39
        ":unicodetext",
    ],
)

cc_binary(
    name = "unicodetext_main",
    srcs = ["unicodetext_main.cc"],
    deps = [":unicodetext"],
)