Skip to content

Commit 6b7fdad

Browse files
BUILD cleanup
PiperOrigin-RevId: 166461274
1 parent 25c4f27 commit 6b7fdad

File tree

10 files changed

+20
-8
lines changed

10 files changed

+20
-8
lines changed

tensorflow/compiler/aot/tests/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ py_binary(
3333
"//tensorflow/python:framework_for_generated_wrappers",
3434
"//tensorflow/python:math_ops",
3535
"//tensorflow/python:platform",
36+
"//tensorflow/python:session",
3637
"//tensorflow/python:training",
3738
"//tensorflow/python:variables",
3839
],

tensorflow/compiler/tests/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ py_library(
4141
"//tensorflow/python:framework_for_generated_wrappers",
4242
"//tensorflow/python:platform",
4343
"//tensorflow/python:random_seed",
44+
"//tensorflow/python:session",
4445
"//tensorflow/python:variables",
4546
"//third_party/py/numpy",
4647
],

tensorflow/compiler/xla/service/gpu/llvm_gpu_backend/BUILD

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,15 @@ cc_library(
3333
"//tensorflow/core:lib",
3434
"//tensorflow/core:lib_internal",
3535
"@llvm//:analysis",
36-
"@llvm//:asm_printer",
3736
"@llvm//:bit_reader",
3837
"@llvm//:bit_writer",
3938
"@llvm//:code_gen",
4039
"@llvm//:core",
41-
"@llvm//:instrumentation",
4240
"@llvm//:ipo",
4341
"@llvm//:ir_reader",
4442
"@llvm//:linker",
45-
"@llvm//:nvptx_code_gen",
46-
"@llvm//:objc_arc",
43+
"@llvm//:nvptx_code_gen", # buildcleaner: keep
44+
"@llvm//:objc_arc", # buildcleaner: keep
4745
"@llvm//:scalar",
4846
"@llvm//:support",
4947
"@llvm//:target",

tensorflow/contrib/copy_graph/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ py_library(
1818
],
1919
srcs_version = "PY2AND3",
2020
deps = [
21-
"//tensorflow/python:client",
2221
"//tensorflow/python:framework_for_generated_wrappers",
22+
"//tensorflow/python:session",
2323
"//tensorflow/python:util",
2424
"//tensorflow/python:variables",
2525
],
@@ -34,10 +34,10 @@ py_test(
3434
":copy_graph_py",
3535
"//tensorflow/contrib/framework:framework_py",
3636
"//tensorflow/python:array_ops",
37-
"//tensorflow/python:client",
3837
"//tensorflow/python:client_testlib",
3938
"//tensorflow/python:framework_for_generated_wrappers",
4039
"//tensorflow/python:math_ops",
40+
"//tensorflow/python:session",
4141
"//tensorflow/python:variables",
4242
"//third_party/py/numpy",
4343
],

tensorflow/contrib/cudnn_rnn/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ cc_test(
146146
":cudnn_rnn_ops_op_lib",
147147
"//tensorflow/core",
148148
"//tensorflow/core:framework",
149-
"//tensorflow/core:framework_headers_lib",
149+
"//tensorflow/core:lib",
150150
"//tensorflow/core:test",
151151
"//tensorflow/core:test_main",
152152
"//tensorflow/core:testlib",

tensorflow/contrib/nn/BUILD

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,14 @@ py_library(
2323
visibility = ["//visibility:public"],
2424
deps = [
2525
"//tensorflow/python:array_ops",
26+
"//tensorflow/python:dtypes",
27+
"//tensorflow/python:embedding_ops",
2628
"//tensorflow/python:framework_ops",
2729
"//tensorflow/python:math_ops",
2830
"//tensorflow/python:nn",
31+
"//tensorflow/python:random_ops",
32+
"//tensorflow/python:tensor_shape",
33+
"//tensorflow/python:tensor_util",
2934
"//tensorflow/python:util",
3035
],
3136
)

tensorflow/contrib/rnn/BUILD

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ py_binary(
369369
"//tensorflow/python:framework_ops",
370370
"//tensorflow/python:platform",
371371
"//tensorflow/python:pywrap_tensorflow",
372+
"//tensorflow/python:session",
372373
"//tensorflow/python:training",
373374
"//tensorflow/python:variables",
374375
],
@@ -382,9 +383,9 @@ py_test(
382383
tags = ["no_pip"],
383384
deps = [
384385
":checkpoint_convert",
385-
"//tensorflow/python:client",
386386
"//tensorflow/python:client_testlib",
387387
"//tensorflow/python:framework_ops",
388+
"//tensorflow/python:session",
388389
"//tensorflow/python:training",
389390
"//tensorflow/python:variables",
390391
],

tensorflow/contrib/session_bundle/BUILD

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ py_library(
6262
"//tensorflow/python:client",
6363
"//tensorflow/python:framework",
6464
"//tensorflow/python:platform",
65+
"//tensorflow/python:session",
6566
"//tensorflow/python/saved_model:constants",
6667
"//tensorflow/python/saved_model:loader",
6768
"//tensorflow/python/saved_model:signature_constants",
@@ -140,6 +141,7 @@ py_test(
140141
"//tensorflow/python:framework_for_generated_wrappers",
141142
"//tensorflow/python:math_ops",
142143
"//tensorflow/python:platform",
144+
"//tensorflow/python:session",
143145
"//tensorflow/python:state_ops",
144146
"//tensorflow/python:training",
145147
"//tensorflow/python:variables",
@@ -266,6 +268,7 @@ py_library(
266268
"//tensorflow/python:client",
267269
"//tensorflow/python:framework_for_generated_wrappers",
268270
"//tensorflow/python:lib",
271+
"//tensorflow/python:session",
269272
"//tensorflow/python:training",
270273
"//tensorflow/python:util",
271274
],

tensorflow/contrib/signal/BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ py_library(
1212
srcs_version = "PY2AND3",
1313
deps = [
1414
"//tensorflow/python:array_ops",
15+
"//tensorflow/python:constant_op",
1516
"//tensorflow/python:control_flow_ops",
1617
"//tensorflow/python:dtypes",
1718
"//tensorflow/python:framework_ops",
1819
"//tensorflow/python:math_ops",
1920
"//tensorflow/python:spectral_ops",
21+
"//tensorflow/python:tensor_util",
2022
"//tensorflow/python:util",
2123
"//third_party/py/numpy",
2224
],

tensorflow/contrib/slim/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ py_test(
8484
"//tensorflow/python:framework_for_generated_wrappers",
8585
"//tensorflow/python:math_ops",
8686
"//tensorflow/python:random_seed",
87+
"//tensorflow/python:session",
8788
"//tensorflow/python:summary",
8889
"//tensorflow/python:training",
8990
"//tensorflow/python:variables",

0 commit comments

Comments
 (0)