1"""Loads a lightweight subset of the ICU library for Unicode processing.""" 2 3load("//third_party:repo.bzl", "tf_http_archive", "tf_mirror_urls") 4 5# NOTE: If you upgrade this, generate the data files by following the 6# instructions in third_party/icu/data/BUILD 7def repo(): 8 tf_http_archive( 9 name = "icu", 10 strip_prefix = "icu-release-69-1", 11 sha256 = "3144e17a612dda145aa0e4acb3caa27a5dae4e26edced64bc351c43d5004af53", 12 urls = tf_mirror_urls("https://github.com/unicode-org/icu/archive/release-69-1.zip"), 13 build_file = "//third_party/icu:icu.BUILD", 14 system_build_file = "//third_party/icu:BUILD.system", 15 patch_file = ["//third_party/icu:udata.patch"], 16 ) 17