aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party
diff options
context:
space:
mode:
authorGravatar Jason Zaman <jason@perfinion.com>2018-08-15 18:02:06 +0800
committerGravatar Jason Zaman <jason@perfinion.com>2018-09-22 10:31:26 +0800
commit57b2fbb59804497c3860106e70323405cc1871bf (patch)
tree3095437a37349d40dd0b9ba5d3bc58283bd2f9b9 /third_party
parent36c568f1fdc53376052ab354d56f33e0df4a9319 (diff)
systemlibs: Unbundle BoringSSL dependency
Signed-off-by: Jason Zaman <jason@perfinion.com>
Diffstat (limited to 'third_party')
-rw-r--r--third_party/systemlibs/boringssl.BUILD21
-rw-r--r--third_party/systemlibs/syslibs_configure.bzl1
2 files changed, 22 insertions, 0 deletions
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/syslibs_configure.bzl b/third_party/systemlibs/syslibs_configure.bzl
index 41b867e770..b22da7c251 100644
--- a/third_party/systemlibs/syslibs_configure.bzl
+++ b/third_party/systemlibs/syslibs_configure.bzl
@@ -11,6 +11,7 @@ _TF_SYSTEM_LIBS = "TF_SYSTEM_LIBS"
VALID_LIBS = [
"astor_archive",
+ "boringssl",
"com_googlesource_code_re2",
"curl",
"cython",