diff options
Diffstat (limited to 'tensorflow/compiler/xla/BUILD')
-rw-r--r-- | tensorflow/compiler/xla/BUILD | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tensorflow/compiler/xla/BUILD b/tensorflow/compiler/xla/BUILD index bf114fdeff..7ac08cf3b5 100644 --- a/tensorflow/compiler/xla/BUILD +++ b/tensorflow/compiler/xla/BUILD @@ -18,6 +18,7 @@ package_group( ], ) +load("//tensorflow:tensorflow.bzl", "cc_header_only_library") load("//tensorflow/compiler/xla:xla.bzl", "xla_proto_library") # Filegroup used to collect source files for dependency checking. @@ -45,6 +46,24 @@ xla_proto_library( ], ) +# TODO(jhseu): Restore +# This is a headers target that extra XLA devices can use to prevent +# circular dependencies. Devices that are compiled as separate shared +# objects can also use it to prevent linking of library code. +#cc_header_only_library( +# name = "xla_headers_lib", +# visibility = ["//visibility:public"], +# deps = [ +# "//tensorflow/compiler/xla:xla_data_proto", +# "//tensorflow/compiler/xla:xla_proto", +# "//tensorflow/compiler/xla/client:client_library", +# "//tensorflow/compiler/xla/legacy_flags:layout_util_flags", +# "//tensorflow/compiler/xla/service:hlo", +# "//tensorflow/core:framework_headers_lib", +# "//tensorflow/core:stream_executor_headers_lib", +# ], +#) + cc_library( name = "test", testonly = 1, |