-
Notifications
You must be signed in to change notification settings - Fork 75.3k
Expand file tree
/
Copy pathworkspace.bzl
More file actions
23 lines (21 loc) · 1008 Bytes
/
workspace.bzl
File metadata and controls
23 lines (21 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
"""Loads a lightweight subset of the ICU library for Unicode processing."""
load("//third_party:repo.bzl", "tf_http_archive", "tf_mirror_urls")
# NOTE: If you upgrade this, generate the data files by following the
# instructions in third_party/icu/data/BUILD
def repo():
tf_http_archive(
name = "icu",
strip_prefix = "icu",
sha256 = "588e431f77327c39031ffbb8843c0e3bc122c211374485fa87dc5f3faff24061",
urls = tf_mirror_urls("https://github.com/unicode-org/icu/releases/download/release-77-1/icu4c-77_1-src.tgz"),
build_file = "//third_party/icu:icu.BUILD",
patch_file = ["//third_party/icu:udata.patch"],
patch_cmds = [
"rm -f source/common/BUILD.bazel",
"rm -f source/stubdata/BUILD.bazel",
"rm -f source/i18n/BUILD.bazel",
"rm -f source/tools/gennorm2/BUILD.bazel",
"rm -f source/tools/toolutil/BUILD.bazel",
"rm -f source/data/unidata/norm2/BUILD.bazel",
],
)