Remove the go_proto_library rules.
PiperOrigin-RevId: 335723139 Change-Id: I1a518eff61beb5aa99ec3a6c172c88e3be5d6102
This commit is contained in:
parent
6fdce880fa
commit
203d2f4beb
@ -5,6 +5,7 @@ load(
|
||||
"//tensorflow/compiler/xla/python/tpu_driver:platform/external/tools.bzl",
|
||||
"external_deps",
|
||||
"go_grpc_library",
|
||||
"go_proto_library",
|
||||
)
|
||||
|
||||
licenses(["notice"]) # Apache 2.0
|
||||
@ -134,6 +135,12 @@ cc_library(
|
||||
alwayslink = 1,
|
||||
)
|
||||
|
||||
go_proto_library(
|
||||
name = "tpu_service_go_proto",
|
||||
compatible_with = ["//buildenv/target:gce"],
|
||||
deps = [":tpu_service_proto"],
|
||||
)
|
||||
|
||||
go_grpc_library(
|
||||
name = "tpu_service_go_grpc",
|
||||
srcs = [":tpu_service_proto"],
|
||||
|
@ -16,6 +16,10 @@
|
||||
Build dependencies and utilities for the TPU driver interface.
|
||||
"""
|
||||
|
||||
def go_proto_library(**kwargs):
|
||||
# A dummy macro placeholder for compatibility reason.
|
||||
pass
|
||||
|
||||
def go_grpc_library(**kwargs):
|
||||
# A dummy macro placeholder for compatibility reason.
|
||||
pass
|
||||
|
@ -258,7 +258,6 @@ tf_proto_library(
|
||||
name = "protos_all",
|
||||
srcs = [],
|
||||
cc_api_version = 2,
|
||||
create_go_proto = False,
|
||||
make_default_target_header_only = True,
|
||||
protodeps = [
|
||||
"//tensorflow/core/example:protos_all",
|
||||
|
@ -506,7 +506,6 @@ def tf_proto_library(
|
||||
js_codegen = "jspb",
|
||||
create_service = False,
|
||||
create_java_proto = False,
|
||||
create_go_proto = False,
|
||||
create_grpc_library = False,
|
||||
make_default_target_header_only = False,
|
||||
exports = [],
|
||||
@ -523,7 +522,6 @@ def tf_proto_library(
|
||||
create_java_proto,
|
||||
create_grpc_library,
|
||||
cc_stubby_versions,
|
||||
create_go_proto,
|
||||
)
|
||||
|
||||
native.proto_library(
|
||||
|
Loading…
x
Reference in New Issue
Block a user