summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-src/source/tools/toolutil/BUILD.bazel
blob: 276c857f1246c8250a24634a1631d0c2c06b255e (plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# © 2021 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html

# This Bazel build file defines targets that are dependencies for building
# the gennorm2 and genprops binaries.

load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")

package(
    default_visibility = ["//visibility:public"],
)

cc_library(
    name = "toolutil",
    includes = ["."],
    hdrs = ["toolutil.h"],
    srcs = ["toolutil.cpp"],
    local_defines = [
        "U_TOOLUTIL_IMPLEMENTATION",
    ],
    deps = ["//icu4c/source/common:platform"],
)

cc_library(
    name = "unewdata",
    includes = ["."],
    hdrs = ["unewdata.h"],
    srcs = ["unewdata.cpp"],
    local_defines = [
        "U_TOOLUTIL_IMPLEMENTATION",
    ],
    deps = [
        ":filestrm",
        "//icu4c/source/common:platform",
    ],
)

cc_library(
    name = "uoptions",
    includes = ["."],
    hdrs = ["uoptions.h"],
    srcs = ["uoptions.cpp"],
    local_defines = [
        "U_TOOLUTIL_IMPLEMENTATION",
    ],
    deps = ["//icu4c/source/common:platform"],
)

cc_library(
    name = "writesrc",
    includes = ["."],
    hdrs = ["writesrc.h"],
    srcs = ["writesrc.cpp"],
    local_defines = [
        "U_TOOLUTIL_IMPLEMENTATION",
    ],
    deps = [
        "//icu4c/source/common:bytestream",
        "//icu4c/source/common:platform",
        "//icu4c/source/common:uniset_core",
    ],
)

cc_library(
    name = "uparse",
    includes = ["."],
    hdrs = ["uparse.h"],
    srcs = ["uparse.cpp"],
    local_defines = [
        "U_TOOLUTIL_IMPLEMENTATION",
    ],
    deps = [
        ":filestrm",
        "//icu4c/source/common:platform",
        ],
)

cc_library(
    name = "filestrm",
    includes = ["."],
    hdrs = ["filestrm.h"],
    srcs = ["filestrm.cpp"],
    local_defines = [
        "U_TOOLUTIL_IMPLEMENTATION",
    ],
    deps = ["//icu4c/source/common:platform"],
)

cc_library(
    name = "ppucd",
    includes = ["."],
    hdrs = ["ppucd.h"],
    srcs = ["ppucd.cpp"],
    local_defines = [
        "U_TOOLUTIL_IMPLEMENTATION",
    ],
    deps = [
        ":uparse",
        "//icu4c/source/common:platform",
    ],
)

cc_library(
    name = "denseranges",
    includes = ["."],
    hdrs = ["denseranges.h"],
    srcs = ["denseranges.cpp"],
    local_defines = [
        "U_TOOLUTIL_IMPLEMENTATION",
    ],
    deps = ["//icu4c/source/common:platform"],
)

cc_library(
    name = "collationinfo",
    includes = ["."],
    hdrs = ["collationinfo.h"],
    srcs = ["collationinfo.cpp"],
    local_defines = [
        "U_TOOLUTIL_IMPLEMENTATION",
    ],
    deps = [
        "//icu4c/source/common:platform",
        "//icu4c/source/i18n:headers",
    ],
)