From 206d46704ef6d93e278a44222e2d65259b9f9bc4 Mon Sep 17 00:00:00 2001 From: Jason Zaman Date: Thu, 6 Sep 2018 22:04:03 +0800 Subject: systemlibs: unbundle absl_py dependency absl_py has rules in many dirs so this uses system_link_files to put files in the right place. Signed-off-by: Jason Zaman --- tensorflow/workspace.bzl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tensorflow/workspace.bzl') diff --git a/tensorflow/workspace.bzl b/tensorflow/workspace.bzl index ce68a46b96..f2e0c7e163 100755 --- a/tensorflow/workspace.bzl +++ b/tensorflow/workspace.bzl @@ -341,6 +341,11 @@ def tf_workspace(path_prefix = "", tf_repo_name = ""): ], sha256 = "95160f778a62c7a60ddeadc7bf2d83f85a23a27359814aca12cf949e896fa82c", strip_prefix = "abseil-py-pypi-v0.2.2", + system_build_file = clean_dep("//third_party/systemlibs:absl_py.BUILD"), + system_link_files = { + "//third_party/systemlibs:absl_py.absl.flags.BUILD": "absl/flags/BUILD", + "//third_party/systemlibs:absl_py.absl.testing.BUILD": "absl/testing/BUILD", + }, ) tf_http_archive( -- cgit v1.2.3