Remove usage of tf_proto_library_cc rule.
All of these will be folded into just tf_proto_library PiperOrigin-RevId: 333784876 Change-Id: I6b81c933f9a71accb1f817ce5199947041a193b9
This commit is contained in:
parent
ddcfb13d36
commit
969d67175d
@ -1,5 +1,5 @@
|
||||
load("//tensorflow/core/platform:rules_cc.bzl", "cc_library")
|
||||
load("//tensorflow/core/platform:build_config.bzl", "tf_proto_library_cc")
|
||||
load("//tensorflow/core/platform:build_config.bzl", "tf_proto_library")
|
||||
load("//tensorflow:tensorflow.bzl", "tf_grpc_cc_dependency")
|
||||
load("//tensorflow:tensorflow.bzl", "tf_cc_test")
|
||||
|
||||
@ -7,7 +7,7 @@ licenses(["notice"])
|
||||
|
||||
package(default_visibility = ["//tensorflow:internal"])
|
||||
|
||||
tf_proto_library_cc(
|
||||
tf_proto_library(
|
||||
name = "protocol_proto",
|
||||
srcs = ["protocol.proto"],
|
||||
has_services = 1,
|
||||
|
@ -1,5 +1,5 @@
|
||||
load("//tensorflow/core/platform:rules_cc.bzl", "cc_library")
|
||||
load("//tensorflow/core/platform:build_config.bzl", "tf_proto_library_cc")
|
||||
load("//tensorflow/core/platform:build_config.bzl", "tf_proto_library")
|
||||
load("//tensorflow:tensorflow.bzl", "tf_grpc_cc_dependency")
|
||||
load(
|
||||
"//tensorflow/compiler/xla/python/tpu_driver:platform/external/tools.bzl",
|
||||
@ -12,14 +12,14 @@ licenses(["notice"]) # Apache 2.0
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
tf_proto_library_cc(
|
||||
tf_proto_library(
|
||||
name = "tpu_driver_proto",
|
||||
srcs = ["tpu_driver.proto"],
|
||||
cc_api_version = 2,
|
||||
protodeps = [],
|
||||
)
|
||||
|
||||
tf_proto_library_cc(
|
||||
tf_proto_library(
|
||||
name = "tpu_service_proto",
|
||||
srcs = ["tpu_service.proto"],
|
||||
has_services = 1,
|
||||
|
@ -8,7 +8,7 @@ load(
|
||||
)
|
||||
load(
|
||||
"//tensorflow/core/platform:build_config.bzl",
|
||||
"tf_proto_library_cc",
|
||||
"tf_proto_library",
|
||||
)
|
||||
load(
|
||||
"//tensorflow/compiler/xla:xla.bzl",
|
||||
@ -20,7 +20,7 @@ package(
|
||||
licenses = ["notice"], # Apache 2.0
|
||||
)
|
||||
|
||||
tf_proto_library_cc(
|
||||
tf_proto_library(
|
||||
name = "xla_service_proto",
|
||||
srcs = ["xla_service.proto"],
|
||||
has_services = 1,
|
||||
|
@ -4,7 +4,7 @@
|
||||
load("//tensorflow/core/platform:rules_cc.bzl", "cc_library")
|
||||
load(
|
||||
"//tensorflow/core/platform:build_config.bzl",
|
||||
"tf_proto_library_cc",
|
||||
"tf_proto_library",
|
||||
)
|
||||
load(
|
||||
"//tensorflow/core/platform:build_config_root.bzl",
|
||||
@ -59,7 +59,7 @@ filegroup(
|
||||
]),
|
||||
)
|
||||
|
||||
tf_proto_library_cc(
|
||||
tf_proto_library(
|
||||
name = "backend_configs",
|
||||
srcs = ["backend_configs.proto"],
|
||||
cc_api_version = 2,
|
||||
@ -1692,7 +1692,7 @@ tf_cc_test(
|
||||
],
|
||||
)
|
||||
|
||||
tf_proto_library_cc(
|
||||
tf_proto_library(
|
||||
name = "gpu_autotuning_proto",
|
||||
srcs = ["gpu_autotuning.proto"],
|
||||
cc_api_version = 2,
|
||||
|
@ -3,7 +3,6 @@ load(
|
||||
"//tensorflow/core/platform:build_config.bzl",
|
||||
"tf_additional_all_protos",
|
||||
"tf_proto_library",
|
||||
"tf_proto_library_cc",
|
||||
"tf_pyclif_proto_library",
|
||||
)
|
||||
|
||||
@ -66,7 +65,7 @@ tf_proto_library(
|
||||
],
|
||||
)
|
||||
|
||||
tf_proto_library_cc(
|
||||
tf_proto_library(
|
||||
name = "worker_proto",
|
||||
srcs = ["worker.proto"],
|
||||
cc_api_version = 2,
|
||||
@ -74,7 +73,7 @@ tf_proto_library_cc(
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
tf_proto_library_cc(
|
||||
tf_proto_library(
|
||||
name = "worker_service_proto",
|
||||
srcs = ["worker_service.proto"],
|
||||
has_services = 1,
|
||||
@ -84,7 +83,7 @@ tf_proto_library_cc(
|
||||
protodeps = [":worker_proto"],
|
||||
)
|
||||
|
||||
tf_proto_library_cc(
|
||||
tf_proto_library(
|
||||
name = "master_proto",
|
||||
srcs = ["master.proto"],
|
||||
cc_api_version = 2,
|
||||
@ -92,7 +91,7 @@ tf_proto_library_cc(
|
||||
visibility = ["//tensorflow:internal"],
|
||||
)
|
||||
|
||||
tf_proto_library_cc(
|
||||
tf_proto_library(
|
||||
name = "master_service_proto",
|
||||
srcs = ["master_service.proto"],
|
||||
has_services = 1,
|
||||
@ -102,7 +101,7 @@ tf_proto_library_cc(
|
||||
protodeps = [":master_proto"],
|
||||
)
|
||||
|
||||
tf_proto_library_cc(
|
||||
tf_proto_library(
|
||||
name = "eager_service_proto",
|
||||
srcs = ["eager_service.proto"],
|
||||
has_services = 1,
|
||||
@ -113,7 +112,7 @@ tf_proto_library_cc(
|
||||
protodeps = tf_additional_all_protos(),
|
||||
)
|
||||
|
||||
tf_proto_library_cc(
|
||||
tf_proto_library(
|
||||
name = "replay_log_proto",
|
||||
srcs = ["replay_log.proto"],
|
||||
cc_api_version = 2,
|
||||
|
@ -3,7 +3,7 @@
|
||||
load("//tensorflow/core/platform:rules_cc.bzl", "cc_library")
|
||||
load(
|
||||
"//tensorflow/core/platform:build_config.bzl",
|
||||
"tf_proto_library_cc",
|
||||
"tf_proto_library",
|
||||
)
|
||||
load("//tensorflow:tensorflow.bzl", "tf_grpc_cc_dependency") # buildifier: disable=same-origin-load
|
||||
load("//tensorflow:tensorflow.bzl", "tf_kernel_library") # buildifier: disable=same-origin-load
|
||||
@ -142,7 +142,7 @@ cc_library(
|
||||
alwayslink = True,
|
||||
)
|
||||
|
||||
tf_proto_library_cc(
|
||||
tf_proto_library(
|
||||
name = "tpu_executable_info_proto",
|
||||
srcs = ["tpu_executable_info.proto"],
|
||||
cc_api_version = 2,
|
||||
@ -153,7 +153,7 @@ tf_proto_library_cc(
|
||||
],
|
||||
)
|
||||
|
||||
tf_proto_library_cc(
|
||||
tf_proto_library(
|
||||
name = "tpu_compile_proto",
|
||||
srcs = ["tpu_compile.proto"],
|
||||
cc_api_version = 2,
|
||||
@ -594,7 +594,7 @@ cc_library(
|
||||
],
|
||||
)
|
||||
|
||||
tf_proto_library_cc(
|
||||
tf_proto_library(
|
||||
name = "tpu_compilation_cache_proto",
|
||||
srcs = ["tpu_compilation_cache.proto"],
|
||||
has_services = True,
|
||||
@ -606,7 +606,7 @@ tf_proto_library_cc(
|
||||
],
|
||||
)
|
||||
|
||||
tf_proto_library_cc(
|
||||
tf_proto_library(
|
||||
name = "tpu_compilation_cache_common_proto",
|
||||
srcs = ["tpu_compilation_cache_common.proto"],
|
||||
cc_api_version = 2,
|
||||
|
@ -18,7 +18,7 @@ load(
|
||||
# For platform specific build config
|
||||
load(
|
||||
"//tensorflow/core/platform:build_config.bzl",
|
||||
"tf_proto_library_cc",
|
||||
"tf_proto_library",
|
||||
)
|
||||
|
||||
package(
|
||||
@ -70,7 +70,7 @@ cc_library(
|
||||
] + if_ios(["//tensorflow/core/platform:logging"]),
|
||||
)
|
||||
|
||||
tf_proto_library_cc(
|
||||
tf_proto_library(
|
||||
name = "test_proto",
|
||||
srcs = ["test.proto"],
|
||||
cc_api_version = 2,
|
||||
|
Loading…
x
Reference in New Issue
Block a user