internal BUILD file cleanup

PiperOrigin-RevId: 278836075
Change-Id: Ib0dce6bef29ee947bae10a6006444aab9e9f1ba3
This commit is contained in:
Adrian Kuegel 2019-11-06 05:18:57 -08:00 committed by TensorFlower Gardener
parent 7cb4c8ee35
commit cf615ecdfe
8 changed files with 43 additions and 43 deletions

View File

@ -39,15 +39,15 @@ cc_library(
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/lite/python/interpreter_wrapper:python_utils", "//tensorflow/lite/python/interpreter_wrapper:python_utils",
"//tensorflow/lite/toco/logging:conversion_log_util", "//tensorflow/lite/toco/logging:conversion_log_util",
"//tensorflow/lite/toco:model_flags_proto", "//tensorflow/lite/toco:model_flags_proto_cc",
"//tensorflow/lite/toco:toco_convert", "//tensorflow/lite/toco:toco_convert",
"//tensorflow/lite/toco/logging:toco_conversion_log_proto", "//tensorflow/lite/toco/logging:toco_conversion_log_proto_cc",
"//tensorflow/lite/toco:toco_flags_proto", "//tensorflow/lite/toco:toco_flags_proto_cc",
"//tensorflow/lite/toco:toco_graphviz_dump_options", "//tensorflow/lite/toco:toco_graphviz_dump_options",
"//tensorflow/lite/toco:toco_port", "//tensorflow/lite/toco:toco_port",
"//tensorflow/lite/toco:toco_tooling", "//tensorflow/lite/toco:toco_tooling",
"//tensorflow/lite/toco:tooling_util", "//tensorflow/lite/toco:tooling_util",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//tensorflow/compiler/mlir/lite/python:graphdef_to_tfl_flatbuffer", "//tensorflow/compiler/mlir/lite/python:graphdef_to_tfl_flatbuffer",
] + select({ ] + select({
# This is required when running `tflite_convert` from `bazel`. # This is required when running `tflite_convert` from `bazel`.

View File

@ -31,7 +31,7 @@ cc_library(
], ],
deps = [ deps = [
":cluster_utils", ":cluster_utils",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//tensorflow/lite/toco:model", "//tensorflow/lite/toco:model",
"//tensorflow/lite/toco:tooling_util", "//tensorflow/lite/toco:tooling_util",
], ],
@ -50,7 +50,7 @@ cc_library(
":cluster", ":cluster",
":cluster_utils", ":cluster_utils",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//tensorflow/lite/toco:model", "//tensorflow/lite/toco:model",
"//tensorflow/lite/toco:toco_port", "//tensorflow/lite/toco:toco_port",
"//tensorflow/lite/toco:tooling_util", "//tensorflow/lite/toco:tooling_util",
@ -67,7 +67,7 @@ tf_cc_test(
":resolve_cluster", ":resolve_cluster",
":resolve_svdf", ":resolve_svdf",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"@com_google_googletest//:gtest_main", "@com_google_googletest//:gtest_main",
], ],
) )
@ -85,7 +85,7 @@ cc_library(
":cluster", ":cluster",
":cluster_utils", ":cluster_utils",
":resolve_svdf", ":resolve_svdf",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//tensorflow/lite/toco:tooling_util", "//tensorflow/lite/toco:tooling_util",
], ],
) )

View File

@ -26,7 +26,7 @@ cc_library(
deps = [ deps = [
":types", ":types",
"//tensorflow/core:framework", "//tensorflow/core:framework",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//tensorflow/core:ptr_util", "//tensorflow/core:ptr_util",
"//tensorflow/lite/delegates/flex:whitelisted_flex_ops_lib", "//tensorflow/lite/delegates/flex:whitelisted_flex_ops_lib",
"//tensorflow/lite/schema:schema_fbs", "//tensorflow/lite/schema:schema_fbs",
@ -46,7 +46,7 @@ tf_cc_test(
deps = [ deps = [
":operator", ":operator",
"//tensorflow/core:ops", "//tensorflow/core:ops",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//tensorflow/lite/toco:tooling_util", "//tensorflow/lite/toco:tooling_util",
"@com_google_googletest//:gtest_main", "@com_google_googletest//:gtest_main",
"@flatbuffers", "@flatbuffers",

View File

@ -315,7 +315,7 @@ cc_library(
hdrs = ["grappler/cost_analyzer.h"], hdrs = ["grappler/cost_analyzer.h"],
deps = [ deps = [
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//tensorflow/core/grappler:grappler_item", "//tensorflow/core/grappler:grappler_item",
"//tensorflow/core/grappler/clusters:cluster", "//tensorflow/core/grappler/clusters:cluster",
"//tensorflow/core/grappler/costs:analytical_cost_estimator", "//tensorflow/core/grappler/costs:analytical_cost_estimator",
@ -332,7 +332,7 @@ cc_library(
deps = [ deps = [
"//tensorflow/core:framework", "//tensorflow/core:framework",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//tensorflow/core/grappler:grappler_item", "//tensorflow/core/grappler:grappler_item",
"//tensorflow/core/grappler/costs:graph_properties", "//tensorflow/core/grappler/costs:graph_properties",
], ],
@ -375,7 +375,7 @@ cc_library(
":numpy_lib", ":numpy_lib",
"//tensorflow/c:c_api", "//tensorflow/c:c_api",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
], ],
) )
@ -418,7 +418,7 @@ cc_library(
features = ["-parse_headers"], features = ["-parse_headers"],
deps = [ deps = [
"//tensorflow/core:lib_internal", "//tensorflow/core:lib_internal",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//third_party/python_runtime:headers", "//third_party/python_runtime:headers",
"@pybind11", "@pybind11",
], ],
@ -441,7 +441,7 @@ cc_library(
deps = [ deps = [
"//tensorflow/core:framework", "//tensorflow/core:framework",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
], ],
alwayslink = 1, alwayslink = 1,
) )
@ -482,7 +482,7 @@ tf_python_pybind_extension(
":pybind11_lib", ":pybind11_lib",
"//tensorflow/core:framework", "//tensorflow/core:framework",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//third_party/python_runtime:headers", "//third_party/python_runtime:headers",
"@pybind11", "@pybind11",
], ],
@ -502,7 +502,7 @@ tf_python_pybind_extension(
"//tensorflow/core:core_cpu_headers_lib", "//tensorflow/core:core_cpu_headers_lib",
"//tensorflow/core:framework", "//tensorflow/core:framework",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//third_party/python_runtime:headers", "//third_party/python_runtime:headers",
"@com_google_absl//absl/strings", "@com_google_absl//absl/strings",
"@pybind11", "@pybind11",
@ -515,7 +515,7 @@ tf_python_pybind_extension(
module_name = "_pywrap_stat_summarizer", module_name = "_pywrap_stat_summarizer",
deps = [ deps = [
"//tensorflow/core:framework", "//tensorflow/core:framework",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//third_party/python_runtime:headers", "//third_party/python_runtime:headers",
"@com_google_absl//absl/memory", "@com_google_absl//absl/memory",
"@pybind11", "@pybind11",
@ -544,7 +544,7 @@ tf_python_pybind_extension(
":pybind11_status", ":pybind11_status",
"//tensorflow/core:framework", "//tensorflow/core:framework",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//third_party/python_runtime:headers", "//third_party/python_runtime:headers",
"@com_google_absl//absl/strings", "@com_google_absl//absl/strings",
"@pybind11", "@pybind11",
@ -561,7 +561,7 @@ tf_python_pybind_extension(
":pybind11_status", ":pybind11_status",
"//tensorflow/core:framework", "//tensorflow/core:framework",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//third_party/python_runtime:headers", "//third_party/python_runtime:headers",
"@com_google_absl//absl/strings", "@com_google_absl//absl/strings",
"@pybind11", "@pybind11",
@ -605,7 +605,7 @@ tf_python_pybind_extension(
":pybind11_status", ":pybind11_status",
"//tensorflow/core:framework", "//tensorflow/core:framework",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//third_party/python_runtime:headers", "//third_party/python_runtime:headers",
"@pybind11", "@pybind11",
], ],
@ -648,7 +648,7 @@ tf_python_pybind_extension(
module_name = "_pywrap_py_exception_registry", module_name = "_pywrap_py_exception_registry",
deps = [ deps = [
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//third_party/python_runtime:headers", "//third_party/python_runtime:headers",
"@pybind11", "@pybind11",
], ],
@ -695,7 +695,7 @@ cc_library(
"//tensorflow/c/eager:c_api_internal", "//tensorflow/c/eager:c_api_internal",
"//tensorflow/core:framework", "//tensorflow/core:framework",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//tensorflow/core:script_ops_op_lib", "//tensorflow/core:script_ops_op_lib",
"//tensorflow/python:ndarray_tensor", "//tensorflow/python:ndarray_tensor",
"//tensorflow/python/eager:pywrap_tfe_lib", "//tensorflow/python/eager:pywrap_tfe_lib",
@ -908,7 +908,7 @@ cc_library(
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:lib_internal", "//tensorflow/core:lib_internal",
"//tensorflow/core:op_gen_lib", "//tensorflow/core:op_gen_lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"@com_google_absl//absl/strings", "@com_google_absl//absl/strings",
], ],
alwayslink = 1, alwayslink = 1,
@ -924,7 +924,7 @@ cc_library(
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:lib_internal", "//tensorflow/core:lib_internal",
"//tensorflow/core:op_gen_lib", "//tensorflow/core:op_gen_lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
], ],
alwayslink = 1, alwayslink = 1,
) )
@ -1246,7 +1246,7 @@ tf_python_pybind_extension(
deps = [ deps = [
":pybind11_status", ":pybind11_status",
"//tensorflow/core:framework_headers_lib", "//tensorflow/core:framework_headers_lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"@pybind11", "@pybind11",
], ],
) )
@ -2000,7 +2000,7 @@ cc_library(
deps = [ deps = [
"//tensorflow/core:framework", "//tensorflow/core:framework",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
], ],
alwayslink = 1, alwayslink = 1,
) )
@ -5190,7 +5190,7 @@ tf_python_pybind_extension(
":pybind11_status", ":pybind11_status",
"//tensorflow/core:core_cpu_headers_lib", "//tensorflow/core:core_cpu_headers_lib",
"//tensorflow/core:framework_internal_headers_lib", "//tensorflow/core:framework_internal_headers_lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//third_party/python_runtime:headers", "//third_party/python_runtime:headers",
"@pybind11", "@pybind11",
], ],
@ -5219,7 +5219,7 @@ cc_library(
"//tensorflow/core:core_cpu", "//tensorflow/core:core_cpu",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:master_proto_cc", "//tensorflow/core:master_proto_cc",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//tensorflow/core:replay_log_proto_cc", "//tensorflow/core:replay_log_proto_cc",
], ],
) )
@ -5246,7 +5246,7 @@ tf_cuda_library(
"//tensorflow/core:framework_internal", "//tensorflow/core:framework_internal",
"//tensorflow/core:graph", "//tensorflow/core:graph",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//third_party/py/numpy:headers", "//third_party/py/numpy:headers",
"//third_party/python_runtime:headers", "//third_party/python_runtime:headers",
], ],
@ -5674,7 +5674,7 @@ tf_cuda_library(
"//tensorflow/core", "//tensorflow/core",
"//tensorflow/core:framework", "//tensorflow/core:framework",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
], ],
alwayslink = 1, alwayslink = 1,
) )

View File

@ -36,7 +36,7 @@ cc_library(
"//tensorflow/c/eager:tape", "//tensorflow/c/eager:tape",
"//tensorflow/core:framework", "//tensorflow/core:framework",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//tensorflow/core/common_runtime/eager:tensor_handle", "//tensorflow/core/common_runtime/eager:tensor_handle",
"//tensorflow/core/platform:logging", "//tensorflow/core/platform:logging",
"//tensorflow/core/platform:types", "//tensorflow/core/platform:types",

View File

@ -32,7 +32,7 @@ cc_library(
hdrs = glob(["**/*.h"]), hdrs = glob(["**/*.h"]),
deps = [ deps = [
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//tensorflow/stream_executor/platform", "//tensorflow/stream_executor/platform",
"@com_google_absl//absl/strings", "@com_google_absl//absl/strings",
"@com_google_absl//absl/strings:str_format", "@com_google_absl//absl/strings:str_format",

View File

@ -32,7 +32,7 @@ cc_library(
"//tensorflow/core:framework_internal", "//tensorflow/core:framework_internal",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:lib_internal", "//tensorflow/core:lib_internal",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
], ],
) )
@ -47,7 +47,7 @@ tf_cc_test(
"//tensorflow/core:framework", "//tensorflow/core:framework",
"//tensorflow/core:framework_internal", "//tensorflow/core:framework_internal",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//tensorflow/core:tensorflow", "//tensorflow/core:tensorflow",
"//tensorflow/core:test", "//tensorflow/core:test",
"//tensorflow/core:test_main", "//tensorflow/core:test_main",
@ -67,7 +67,7 @@ cc_library(
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
], ],
) )
@ -129,7 +129,7 @@ cc_library(
"//tensorflow/core:framework_internal", "//tensorflow/core:framework_internal",
"//tensorflow/core:graph", "//tensorflow/core:graph",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//tensorflow/core:tensorflow", "//tensorflow/core:tensorflow",
"//tensorflow/core/kernels:quantization_utils", "//tensorflow/core/kernels:quantization_utils",
] + if_not_windows([ ] + if_not_windows([
@ -197,7 +197,7 @@ tf_cc_test(
"//tensorflow/core:bitwise_ops_op_lib", "//tensorflow/core:bitwise_ops_op_lib",
"//tensorflow/core:core_cpu", "//tensorflow/core:core_cpu",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//tensorflow/core:test", "//tensorflow/core:test",
"//tensorflow/core:test_main", "//tensorflow/core:test_main",
"//tensorflow/core:testlib", "//tensorflow/core:testlib",
@ -232,7 +232,7 @@ cc_library(
"//tensorflow/core:framework_internal", "//tensorflow/core:framework_internal",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:lib_internal", "//tensorflow/core:lib_internal",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
], ],
alwayslink = 1, alwayslink = 1,
) )
@ -274,7 +274,7 @@ tf_cc_test(
"//tensorflow/core:core_cpu", "//tensorflow/core:core_cpu",
"//tensorflow/core:framework", "//tensorflow/core:framework",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//tensorflow/core:test", "//tensorflow/core:test",
"//tensorflow/core:test_main", "//tensorflow/core:test_main",
"//tensorflow/core:testlib", "//tensorflow/core:testlib",
@ -294,7 +294,7 @@ cc_library(
"//tensorflow/core:framework", "//tensorflow/core:framework",
"//tensorflow/core:framework_internal", "//tensorflow/core:framework_internal",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
], ],
) )

View File

@ -25,7 +25,7 @@ tf_cuda_library(
"//tensorflow/core:framework_internal", "//tensorflow/core:framework_internal",
"//tensorflow/core:framework_lite", "//tensorflow/core:framework_lite",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//tensorflow/core:tensorflow", "//tensorflow/core:tensorflow",
], ],
) )
@ -44,7 +44,7 @@ tf_cc_binary(
"//tensorflow/core:framework_internal", "//tensorflow/core:framework_internal",
"//tensorflow/core:framework_lite", "//tensorflow/core:framework_lite",
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:protos_all", "//tensorflow/core:protos_all_cc",
"//tensorflow/core:tensorflow", "//tensorflow/core:tensorflow",
"@com_google_absl//absl/strings", "@com_google_absl//absl/strings",
], ],