systemlibs: Unbundle BoringSSL dependency

Signed-off-by: Jason Zaman <jason@perfinion.com>
This commit is contained in:
Jason Zaman 2018-08-15 18:02:06 +08:00
parent 36c568f1fd
commit 57b2fbb598
3 changed files with 23 additions and 0 deletions

View File

@ -531,6 +531,7 @@ def tf_workspace(path_prefix = "", tf_repo_name = ""):
], ],
sha256 = "1188e29000013ed6517168600fc35a010d58c5d321846d6a6dfee74e4c788b45", sha256 = "1188e29000013ed6517168600fc35a010d58c5d321846d6a6dfee74e4c788b45",
strip_prefix = "boringssl-7f634429a04abc48e2eb041c81c5235816c96514", strip_prefix = "boringssl-7f634429a04abc48e2eb041c81c5235816c96514",
system_build_file = clean_dep("//third_party/systemlibs:boringssl.BUILD"),
) )
tf_http_archive( tf_http_archive(

21
third_party/systemlibs/boringssl.BUILD vendored Normal file
View File

@ -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",
],
)

View File

@ -11,6 +11,7 @@ _TF_SYSTEM_LIBS = "TF_SYSTEM_LIBS"
VALID_LIBS = [ VALID_LIBS = [
"astor_archive", "astor_archive",
"boringssl",
"com_googlesource_code_re2", "com_googlesource_code_re2",
"curl", "curl",
"cython", "cython",