diff --git a/tensorflow/lite/toco/python/BUILD b/tensorflow/lite/toco/python/BUILD index 60e3d258abc..73b049a1861 100644 --- a/tensorflow/lite/toco/python/BUILD +++ b/tensorflow/lite/toco/python/BUILD @@ -39,15 +39,15 @@ cc_library( "//tensorflow/core:lib", "//tensorflow/lite/python/interpreter_wrapper:python_utils", "//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/logging:toco_conversion_log_proto", - "//tensorflow/lite/toco:toco_flags_proto", + "//tensorflow/lite/toco/logging:toco_conversion_log_proto_cc", + "//tensorflow/lite/toco:toco_flags_proto_cc", "//tensorflow/lite/toco:toco_graphviz_dump_options", "//tensorflow/lite/toco:toco_port", "//tensorflow/lite/toco:toco_tooling", "//tensorflow/lite/toco:tooling_util", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//tensorflow/compiler/mlir/lite/python:graphdef_to_tfl_flatbuffer", ] + select({ # This is required when running `tflite_convert` from `bazel`. diff --git a/tensorflow/lite/toco/tensorflow_graph_matching/BUILD b/tensorflow/lite/toco/tensorflow_graph_matching/BUILD index b12e5910005..0ec0ac44a25 100644 --- a/tensorflow/lite/toco/tensorflow_graph_matching/BUILD +++ b/tensorflow/lite/toco/tensorflow_graph_matching/BUILD @@ -31,7 +31,7 @@ cc_library( ], deps = [ ":cluster_utils", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//tensorflow/lite/toco:model", "//tensorflow/lite/toco:tooling_util", ], @@ -50,7 +50,7 @@ cc_library( ":cluster", ":cluster_utils", "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//tensorflow/lite/toco:model", "//tensorflow/lite/toco:toco_port", "//tensorflow/lite/toco:tooling_util", @@ -67,7 +67,7 @@ tf_cc_test( ":resolve_cluster", ":resolve_svdf", "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "@com_google_googletest//:gtest_main", ], ) @@ -85,7 +85,7 @@ cc_library( ":cluster", ":cluster_utils", ":resolve_svdf", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//tensorflow/lite/toco:tooling_util", ], ) diff --git a/tensorflow/lite/toco/tflite/BUILD b/tensorflow/lite/toco/tflite/BUILD index b116c6a98d0..43cb88de4f6 100644 --- a/tensorflow/lite/toco/tflite/BUILD +++ b/tensorflow/lite/toco/tflite/BUILD @@ -26,7 +26,7 @@ cc_library( deps = [ ":types", "//tensorflow/core:framework", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//tensorflow/core:ptr_util", "//tensorflow/lite/delegates/flex:whitelisted_flex_ops_lib", "//tensorflow/lite/schema:schema_fbs", @@ -46,7 +46,7 @@ tf_cc_test( deps = [ ":operator", "//tensorflow/core:ops", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//tensorflow/lite/toco:tooling_util", "@com_google_googletest//:gtest_main", "@flatbuffers", diff --git a/tensorflow/python/BUILD b/tensorflow/python/BUILD index df3cb4b6548..b1cd03f35b9 100644 --- a/tensorflow/python/BUILD +++ b/tensorflow/python/BUILD @@ -315,7 +315,7 @@ cc_library( hdrs = ["grappler/cost_analyzer.h"], deps = [ "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//tensorflow/core/grappler:grappler_item", "//tensorflow/core/grappler/clusters:cluster", "//tensorflow/core/grappler/costs:analytical_cost_estimator", @@ -332,7 +332,7 @@ cc_library( deps = [ "//tensorflow/core:framework", "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//tensorflow/core/grappler:grappler_item", "//tensorflow/core/grappler/costs:graph_properties", ], @@ -375,7 +375,7 @@ cc_library( ":numpy_lib", "//tensorflow/c:c_api", "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", ], ) @@ -418,7 +418,7 @@ cc_library( features = ["-parse_headers"], deps = [ "//tensorflow/core:lib_internal", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//third_party/python_runtime:headers", "@pybind11", ], @@ -441,7 +441,7 @@ cc_library( deps = [ "//tensorflow/core:framework", "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", ], alwayslink = 1, ) @@ -482,7 +482,7 @@ tf_python_pybind_extension( ":pybind11_lib", "//tensorflow/core:framework", "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//third_party/python_runtime:headers", "@pybind11", ], @@ -502,7 +502,7 @@ tf_python_pybind_extension( "//tensorflow/core:core_cpu_headers_lib", "//tensorflow/core:framework", "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//third_party/python_runtime:headers", "@com_google_absl//absl/strings", "@pybind11", @@ -515,7 +515,7 @@ tf_python_pybind_extension( module_name = "_pywrap_stat_summarizer", deps = [ "//tensorflow/core:framework", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//third_party/python_runtime:headers", "@com_google_absl//absl/memory", "@pybind11", @@ -544,7 +544,7 @@ tf_python_pybind_extension( ":pybind11_status", "//tensorflow/core:framework", "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//third_party/python_runtime:headers", "@com_google_absl//absl/strings", "@pybind11", @@ -561,7 +561,7 @@ tf_python_pybind_extension( ":pybind11_status", "//tensorflow/core:framework", "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//third_party/python_runtime:headers", "@com_google_absl//absl/strings", "@pybind11", @@ -605,7 +605,7 @@ tf_python_pybind_extension( ":pybind11_status", "//tensorflow/core:framework", "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//third_party/python_runtime:headers", "@pybind11", ], @@ -648,7 +648,7 @@ tf_python_pybind_extension( module_name = "_pywrap_py_exception_registry", deps = [ "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//third_party/python_runtime:headers", "@pybind11", ], @@ -695,7 +695,7 @@ cc_library( "//tensorflow/c/eager:c_api_internal", "//tensorflow/core:framework", "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//tensorflow/core:script_ops_op_lib", "//tensorflow/python:ndarray_tensor", "//tensorflow/python/eager:pywrap_tfe_lib", @@ -908,7 +908,7 @@ cc_library( "//tensorflow/core:lib", "//tensorflow/core:lib_internal", "//tensorflow/core:op_gen_lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "@com_google_absl//absl/strings", ], alwayslink = 1, @@ -924,7 +924,7 @@ cc_library( "//tensorflow/core:lib", "//tensorflow/core:lib_internal", "//tensorflow/core:op_gen_lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", ], alwayslink = 1, ) @@ -1246,7 +1246,7 @@ tf_python_pybind_extension( deps = [ ":pybind11_status", "//tensorflow/core:framework_headers_lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "@pybind11", ], ) @@ -2000,7 +2000,7 @@ cc_library( deps = [ "//tensorflow/core:framework", "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", ], alwayslink = 1, ) @@ -5190,7 +5190,7 @@ tf_python_pybind_extension( ":pybind11_status", "//tensorflow/core:core_cpu_headers_lib", "//tensorflow/core:framework_internal_headers_lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//third_party/python_runtime:headers", "@pybind11", ], @@ -5219,7 +5219,7 @@ cc_library( "//tensorflow/core:core_cpu", "//tensorflow/core:lib", "//tensorflow/core:master_proto_cc", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//tensorflow/core:replay_log_proto_cc", ], ) @@ -5246,7 +5246,7 @@ tf_cuda_library( "//tensorflow/core:framework_internal", "//tensorflow/core:graph", "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//third_party/py/numpy:headers", "//third_party/python_runtime:headers", ], @@ -5674,7 +5674,7 @@ tf_cuda_library( "//tensorflow/core", "//tensorflow/core:framework", "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", ], alwayslink = 1, ) diff --git a/tensorflow/python/eager/BUILD b/tensorflow/python/eager/BUILD index 678c2bd95cf..4a76bd79513 100644 --- a/tensorflow/python/eager/BUILD +++ b/tensorflow/python/eager/BUILD @@ -36,7 +36,7 @@ cc_library( "//tensorflow/c/eager:tape", "//tensorflow/core:framework", "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//tensorflow/core/common_runtime/eager:tensor_handle", "//tensorflow/core/platform:logging", "//tensorflow/core/platform:types", diff --git a/tensorflow/stream_executor/lib/BUILD b/tensorflow/stream_executor/lib/BUILD index ef2d613d431..e1c2a72577b 100644 --- a/tensorflow/stream_executor/lib/BUILD +++ b/tensorflow/stream_executor/lib/BUILD @@ -32,7 +32,7 @@ cc_library( hdrs = glob(["**/*.h"]), deps = [ "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//tensorflow/stream_executor/platform", "@com_google_absl//absl/strings", "@com_google_absl//absl/strings:str_format", diff --git a/tensorflow/tools/graph_transforms/BUILD b/tensorflow/tools/graph_transforms/BUILD index bb8893c4c71..06390ce9945 100644 --- a/tensorflow/tools/graph_transforms/BUILD +++ b/tensorflow/tools/graph_transforms/BUILD @@ -32,7 +32,7 @@ cc_library( "//tensorflow/core:framework_internal", "//tensorflow/core:lib", "//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_internal", "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//tensorflow/core:tensorflow", "//tensorflow/core:test", "//tensorflow/core:test_main", @@ -67,7 +67,7 @@ cc_library( visibility = ["//visibility:public"], deps = [ "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", ], ) @@ -129,7 +129,7 @@ cc_library( "//tensorflow/core:framework_internal", "//tensorflow/core:graph", "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//tensorflow/core:tensorflow", "//tensorflow/core/kernels:quantization_utils", ] + if_not_windows([ @@ -197,7 +197,7 @@ tf_cc_test( "//tensorflow/core:bitwise_ops_op_lib", "//tensorflow/core:core_cpu", "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//tensorflow/core:test", "//tensorflow/core:test_main", "//tensorflow/core:testlib", @@ -232,7 +232,7 @@ cc_library( "//tensorflow/core:framework_internal", "//tensorflow/core:lib", "//tensorflow/core:lib_internal", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", ], alwayslink = 1, ) @@ -274,7 +274,7 @@ tf_cc_test( "//tensorflow/core:core_cpu", "//tensorflow/core:framework", "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//tensorflow/core:test", "//tensorflow/core:test_main", "//tensorflow/core:testlib", @@ -294,7 +294,7 @@ cc_library( "//tensorflow/core:framework", "//tensorflow/core:framework_internal", "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", ], ) diff --git a/tensorflow/tools/optimization/BUILD b/tensorflow/tools/optimization/BUILD index 071e7939d0e..73a8a15b121 100644 --- a/tensorflow/tools/optimization/BUILD +++ b/tensorflow/tools/optimization/BUILD @@ -25,7 +25,7 @@ tf_cuda_library( "//tensorflow/core:framework_internal", "//tensorflow/core:framework_lite", "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//tensorflow/core:tensorflow", ], ) @@ -44,7 +44,7 @@ tf_cc_binary( "//tensorflow/core:framework_internal", "//tensorflow/core:framework_lite", "//tensorflow/core:lib", - "//tensorflow/core:protos_all", + "//tensorflow/core:protos_all_cc", "//tensorflow/core:tensorflow", "@com_google_absl//absl/strings", ],