Reorder the contrib_py dependencies so that tensorrt appear before tflite.

PiperOrigin-RevId: 209627240
This commit is contained in:
Guangda Lai 2018-08-21 11:15:35 -07:00 committed by TensorFlower Gardener
parent 0d4212397d
commit a3f3949d82

View File

@ -20,7 +20,13 @@ py_library(
),
srcs_version = "PY2AND3",
visibility = ["//visibility:public"],
deps = [
deps = if_not_windows([
# 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/all_reduce",
"//tensorflow/contrib/batching:batch_py",
"//tensorflow/contrib/bayesflow:bayesflow_py",
@ -131,11 +137,6 @@ py_library(
"//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
]),
)