Skip to content

Commit

Permalink
Merge pull request tensorflow#22796 from perfinion:icu
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 217200066
  • Loading branch information
tensorflower-gardener committed Oct 15, 2018
2 parents 63f4fcd + 7a138d9 commit 4a78017
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
25 changes: 25 additions & 0 deletions third_party/icu/BUILD.system
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
licenses(["notice"]) # Apache 2.0

filegroup(
name = "icu4c/LICENSE",
visibility = ["//visibility:public"],
)

filegroup(
name = "icu4j/main/shared/licenses/LICENSE",
visibility = ["//visibility:public"],
)

cc_library(
name = "common",
deps = [
":icuuc",
],
visibility = ["//visibility:public"],
)

cc_library(
name = "icuuc",
linkopts = ["-licuuc"],
visibility = ["//visibility:private"],
)
1 change: 1 addition & 0 deletions third_party/icu/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ def repo():
"https://github.com/unicode-org/icu/archive/release-62-1.tar.gz",
],
build_file = "//third_party/icu:BUILD.bazel",
system_build_file = "//third_party/icu:BUILD.system",
)
1 change: 1 addition & 0 deletions third_party/systemlibs/syslibs_configure.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ VALID_LIBS = [
"gast_archive",
"gif_archive",
"grpc",
"icu",
"jpeg",
"jsoncpp_git",
"lmdb",
Expand Down

0 comments on commit 4a78017

Please sign in to comment.