aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/contrib/BUILD')
-rw-r--r--tensorflow/contrib/BUILD32
1 files changed, 26 insertions, 6 deletions
diff --git a/tensorflow/contrib/BUILD b/tensorflow/contrib/BUILD
index 2d7916c8b1..6a4e252b44 100644
--- a/tensorflow/contrib/BUILD
+++ b/tensorflow/contrib/BUILD
@@ -7,7 +7,6 @@ package(default_visibility = ["//tensorflow:__subpackages__"])
load("//third_party/mpi:mpi.bzl", "if_mpi")
load("@local_config_cuda//cuda:build_defs.bzl", "if_cuda")
-load("@local_config_tensorrt//:build_defs.bzl", "if_tensorrt")
load("//tensorflow:tensorflow.bzl", "if_not_windows")
load("//tensorflow:tensorflow.bzl", "if_not_windows_cuda")
@@ -27,8 +26,6 @@ py_library(
"//tensorflow/contrib/bayesflow:bayesflow_py",
"//tensorflow/contrib/boosted_trees:init_py",
"//tensorflow/contrib/checkpoint/python:checkpoint",
- "//tensorflow/contrib/cloud:cloud_py",
- "//tensorflow/contrib/cluster_resolver:cluster_resolver_pip",
"//tensorflow/contrib/cluster_resolver:cluster_resolver_py",
"//tensorflow/contrib/coder:coder_py",
"//tensorflow/contrib/compiler:compiler_py",
@@ -115,18 +112,29 @@ py_library(
"//tensorflow/contrib/util:util_py",
"//tensorflow/python:util",
"//tensorflow/python/estimator:estimator_py",
- ] + if_mpi(["//tensorflow/contrib/mpi_collectives:mpi_collectives_py"]) + if_tensorrt([
- "//tensorflow/contrib/tensorrt:init_py",
- ]) + select({
+ ] + if_mpi(["//tensorflow/contrib/mpi_collectives:mpi_collectives_py"]) + select({
"//tensorflow:with_kafka_support_windows_override": [],
"//tensorflow:with_kafka_support": [
"//tensorflow/contrib/kafka",
],
"//conditions:default": [],
+ }) + select({
+ "//tensorflow:with_aws_support_windows_override": [],
+ "//tensorflow:with_aws_support": [
+ "//tensorflow/contrib/kinesis",
+ ],
+ "//conditions:default": [],
}) + if_not_windows_cuda([
"//tensorflow/contrib/fused_conv:fused_conv_py", # unresolved symbols, need to export more symbols
]) + if_not_windows([
+ "//tensorflow/contrib/bigtable", # depends on bigtable
+ "//tensorflow/contrib/cloud:cloud_py", # doesn't compile on Windows
"//tensorflow/contrib/ffmpeg:ffmpeg_ops_py",
+ # TODO(aaroey): tensorrt dependency has to appear before tflite so the
+ # build can resolve its flatbuffers symbols within the tensorrt library.
+ # This is an issue with the tensorrt static library and will be fixed by
+ # the next tensorrt release, so fix the order here after that.
+ "//tensorflow/contrib/tensorrt:init_py", # doesn't compile on windows
"//tensorflow/contrib/lite/python:lite", # unix dependency, need to fix code
]),
)
@@ -156,6 +164,12 @@ cc_library(
"//tensorflow/contrib/kafka:dataset_kernels",
],
"//conditions:default": [],
+ }) + select({
+ "//tensorflow:with_aws_support_windows_override": [],
+ "//tensorflow:with_aws_support": [
+ "//tensorflow/contrib/kinesis:dataset_kernels",
+ ],
+ "//conditions:default": [],
}),
)
@@ -185,5 +199,11 @@ cc_library(
"//tensorflow/contrib/kafka:dataset_ops_op_lib",
],
"//conditions:default": [],
+ }) + select({
+ "//tensorflow:with_aws_support_windows_override": [],
+ "//tensorflow:with_aws_support": [
+ "//tensorflow/contrib/kinesis:dataset_ops_op_lib",
+ ],
+ "//conditions:default": [],
}),
)