diff options
Diffstat (limited to 'third_party/systemlibs')
-rw-r--r-- | third_party/systemlibs/absl_py.BUILD | 1 | ||||
-rw-r--r-- | third_party/systemlibs/absl_py.absl.flags.BUILD | 11 | ||||
-rw-r--r-- | third_party/systemlibs/absl_py.absl.testing.BUILD | 7 | ||||
-rw-r--r-- | third_party/systemlibs/boringssl.BUILD | 21 | ||||
-rw-r--r-- | third_party/systemlibs/double_conversion.BUILD | 12 | ||||
-rw-r--r-- | third_party/systemlibs/gast.BUILD | 12 | ||||
-rw-r--r-- | third_party/systemlibs/google_cloud_cpp.BUILD | 6 | ||||
-rw-r--r-- | third_party/systemlibs/google_cloud_cpp.google.cloud.bigtable.BUILD | 7 | ||||
-rw-r--r-- | third_party/systemlibs/googleapis.BUILD | 12 | ||||
-rw-r--r-- | third_party/systemlibs/jsoncpp.BUILD | 2 | ||||
-rw-r--r-- | third_party/systemlibs/syslibs_configure.bzl | 6 |
11 files changed, 96 insertions, 1 deletions
diff --git a/third_party/systemlibs/absl_py.BUILD b/third_party/systemlibs/absl_py.BUILD new file mode 100644 index 0000000000..fe756e1be2 --- /dev/null +++ b/third_party/systemlibs/absl_py.BUILD @@ -0,0 +1 @@ +licenses(["notice"]) # Apache 2.0 diff --git a/third_party/systemlibs/absl_py.absl.flags.BUILD b/third_party/systemlibs/absl_py.absl.flags.BUILD new file mode 100644 index 0000000000..95ec92b887 --- /dev/null +++ b/third_party/systemlibs/absl_py.absl.flags.BUILD @@ -0,0 +1,11 @@ +licenses(["notice"]) # Apache 2.0 + +package(default_visibility = ["//visibility:public"]) + +filegroup( + name = "LICENSE", +) + +py_library( + name = "flags", +) diff --git a/third_party/systemlibs/absl_py.absl.testing.BUILD b/third_party/systemlibs/absl_py.absl.testing.BUILD new file mode 100644 index 0000000000..c1b794c1e9 --- /dev/null +++ b/third_party/systemlibs/absl_py.absl.testing.BUILD @@ -0,0 +1,7 @@ +licenses(["notice"]) # Apache 2.0 + +py_library( + name = "parameterized", + testonly = 1, + visibility = ["//visibility:public"], +) diff --git a/third_party/systemlibs/boringssl.BUILD b/third_party/systemlibs/boringssl.BUILD new file mode 100644 index 0000000000..bc4c533403 --- /dev/null +++ b/third_party/systemlibs/boringssl.BUILD @@ -0,0 +1,21 @@ +licenses(["notice"]) + +filegroup( + name = "LICENSE", + visibility = ["//visibility:public"], +) + +cc_library( + name = "crypto", + linkopts = ["-lcrypto"], + visibility = ["//visibility:public"], +) + +cc_library( + name = "ssl", + linkopts = ["-lssl"], + visibility = ["//visibility:public"], + deps = [ + ":crypto", + ], +) diff --git a/third_party/systemlibs/double_conversion.BUILD b/third_party/systemlibs/double_conversion.BUILD new file mode 100644 index 0000000000..568460181a --- /dev/null +++ b/third_party/systemlibs/double_conversion.BUILD @@ -0,0 +1,12 @@ +licenses(["notice"]) + +filegroup( + name = "LICENSE", + visibility = ["//visibility:public"], +) + +cc_library( + name = "double-conversion", + linkopts = ["-ldouble-conversion"], + visibility = ["//visibility:public"], +) diff --git a/third_party/systemlibs/gast.BUILD b/third_party/systemlibs/gast.BUILD new file mode 100644 index 0000000000..c6e1d0c4e0 --- /dev/null +++ b/third_party/systemlibs/gast.BUILD @@ -0,0 +1,12 @@ +licenses(["notice"]) # BSD 3-clause + +filegroup( + name = "PKG-INFO", + visibility = ["//visibility:public"], +) + +py_library( + name = "gast", + srcs_version = "PY2AND3", + visibility = ["//visibility:public"], +) diff --git a/third_party/systemlibs/google_cloud_cpp.BUILD b/third_party/systemlibs/google_cloud_cpp.BUILD new file mode 100644 index 0000000000..cbe6e10ba5 --- /dev/null +++ b/third_party/systemlibs/google_cloud_cpp.BUILD @@ -0,0 +1,6 @@ +licenses(["notice"]) # Apache 2.0 + +filegroup( + name = "LICENSE", + visibility = ["//visibility:public"], +) diff --git a/third_party/systemlibs/google_cloud_cpp.google.cloud.bigtable.BUILD b/third_party/systemlibs/google_cloud_cpp.google.cloud.bigtable.BUILD new file mode 100644 index 0000000000..b59d565390 --- /dev/null +++ b/third_party/systemlibs/google_cloud_cpp.google.cloud.bigtable.BUILD @@ -0,0 +1,7 @@ +licenses(["notice"]) # Apache 2.0 + +cc_library( + name = "bigtable_client", + linkopts = ["-lbigtable_client"], + visibility = ["//visibility:public"], +) diff --git a/third_party/systemlibs/googleapis.BUILD b/third_party/systemlibs/googleapis.BUILD new file mode 100644 index 0000000000..7687745df9 --- /dev/null +++ b/third_party/systemlibs/googleapis.BUILD @@ -0,0 +1,12 @@ +licenses(["notice"]) # Apache 2.0 + +filegroup( + name = "LICENSE", + visibility = ["//visibility:public"], +) + +cc_library( + name = "bigtable_protos", + linkopts = ["-lbigtable_protos"], + visibility = ["//visibility:public"], +) diff --git a/third_party/systemlibs/jsoncpp.BUILD b/third_party/systemlibs/jsoncpp.BUILD index cf91917cfb..526fd0c418 100644 --- a/third_party/systemlibs/jsoncpp.BUILD +++ b/third_party/systemlibs/jsoncpp.BUILD @@ -23,7 +23,7 @@ genrule( cmd = """ for i in $(OUTS); do i=$${i##*/} - ln -vsf /usr/include/jsoncpp/json/$$i $(@D)/include/json/$$i + ln -sf $(INCLUDEDIR)/jsoncpp/json/$$i $(@D)/include/json/$$i done """, ) diff --git a/third_party/systemlibs/syslibs_configure.bzl b/third_party/systemlibs/syslibs_configure.bzl index 8b09c9ac1f..8b0ab39eaf 100644 --- a/third_party/systemlibs/syslibs_configure.bzl +++ b/third_party/systemlibs/syslibs_configure.bzl @@ -10,11 +10,17 @@ _TF_SYSTEM_LIBS = "TF_SYSTEM_LIBS" VALID_LIBS = [ + "absl_py", "astor_archive", + "boringssl", + "com_github_googleapis_googleapis", + "com_github_googlecloudplatform_google_cloud_cpp", "com_googlesource_code_re2", "curl", "cython", + "double_conversion", "flatbuffers", + "gast_archive", "gif_archive", "grpc", "jemalloc", |