diff --git a/tensorflow/contrib/data/python/ops/BUILD b/tensorflow/contrib/data/python/ops/BUILD index 08a2774ece2..f49350505ae 100644 --- a/tensorflow/contrib/data/python/ops/BUILD +++ b/tensorflow/contrib/data/python/ops/BUILD @@ -11,10 +11,23 @@ py_library( deps = [ "//tensorflow/contrib/data/python/framework:function", "//tensorflow/contrib/data/python/util:nest", - "//tensorflow/contrib/util:util_py", + "//tensorflow/python:array_ops", + "//tensorflow/python:constant_op", + "//tensorflow/python:control_flow_ops", "//tensorflow/python:dataset_ops_gen", - "//tensorflow/python:framework", + "//tensorflow/python:dtypes", + "//tensorflow/python:framework_ops", + "//tensorflow/python:logging_ops", + "//tensorflow/python:math_ops", "//tensorflow/python:parsing_ops", + "//tensorflow/python:platform", + "//tensorflow/python:random_ops", + "//tensorflow/python:random_seed", + "//tensorflow/python:resource_variable_ops", + "//tensorflow/python:sparse_tensor", + "//tensorflow/python:tensor_shape", + "//tensorflow/python:tensor_util", + "//third_party/py/numpy", ], ) diff --git a/tensorflow/contrib/data/python/util/BUILD b/tensorflow/contrib/data/python/util/BUILD index b9691c8e491..a2b80590bac 100644 --- a/tensorflow/contrib/data/python/util/BUILD +++ b/tensorflow/contrib/data/python/util/BUILD @@ -12,6 +12,7 @@ py_library( srcs_version = "PY2AND3", deps = [ "//tensorflow/python:util", + "@six_archive//:six", ], ) @@ -26,7 +27,6 @@ py_test( "//tensorflow/python:client_testlib", "//tensorflow/python:framework_for_generated_wrappers", "//tensorflow/python:math_ops", - "//tensorflow/python:util", "//third_party/py/numpy", ], ) diff --git a/tensorflow/contrib/image/BUILD b/tensorflow/contrib/image/BUILD index a095f0e048a..a857f947ea5 100755 --- a/tensorflow/contrib/image/BUILD +++ b/tensorflow/contrib/image/BUILD @@ -122,7 +122,11 @@ py_library( data = [":python/ops/_single_image_random_dot_stereograms.so"], srcs_version = "PY2AND3", deps = [ - ":single_image_random_dot_stereograms_ops", + ":image_py", + "//tensorflow/contrib/util:util_py", + "//tensorflow/python:framework_ops", + "//tensorflow/python:platform", + "//tensorflow/python:util", ], )