diff --git a/third_party/icu/BUILD.system b/third_party/icu/BUILD.system index 328e412a8c2..8a88a6ef7e0 100644 --- a/third_party/icu/BUILD.system +++ b/third_party/icu/BUILD.system @@ -1,13 +1,19 @@ +package( + default_visibility = ["//visibility:public"], +) + 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 = "headers", ) cc_library( @@ -15,7 +21,6 @@ cc_library( deps = [ ":icuuc", ], - visibility = ["//visibility:public"], ) cc_library( diff --git a/third_party/keras_applications_archive/BUILD.system b/third_party/keras_applications_archive/BUILD.system new file mode 100644 index 00000000000..a3b58f15030 --- /dev/null +++ b/third_party/keras_applications_archive/BUILD.system @@ -0,0 +1,13 @@ +# Description: Keras Applications: set of pre-trained deep learning models. + +licenses(["notice"]) # MIT + +filegroup( + name = "LICENSE", + visibility = ["//visibility:public"], +) + +py_library( + name = "keras_applications", + visibility = ["//visibility:public"], +) diff --git a/third_party/keras_applications_archive/workspace.bzl b/third_party/keras_applications_archive/workspace.bzl index e90630fa974..cf9d15ca288 100644 --- a/third_party/keras_applications_archive/workspace.bzl +++ b/third_party/keras_applications_archive/workspace.bzl @@ -12,4 +12,5 @@ def repo(): "https://github.com/keras-team/keras-applications/archive/1.0.6.tar.gz", ], build_file = "//third_party/keras_applications_archive:BUILD.bazel", + system_build_file = "//third_party/keras_applications_archive:BUILD.system", ) diff --git a/third_party/systemlibs/syslibs_configure.bzl b/third_party/systemlibs/syslibs_configure.bzl index 645d242c96c..1b971eca8ad 100644 --- a/third_party/systemlibs/syslibs_configure.bzl +++ b/third_party/systemlibs/syslibs_configure.bzl @@ -28,6 +28,7 @@ VALID_LIBS = [ "icu", "jpeg", "jsoncpp_git", + "keras_applications_archive", "lmdb", "nasm", "nsync",