Remove the go_proto_library rules.

PiperOrigin-RevId: 335709595
Change-Id: Iffd6f2fb36cb47baadedfe5f07cd06652e9c3a0b
This commit is contained in:
Gunhan Gulsoy 2020-10-06 13:33:50 -07:00 committed by TensorFlower Gardener
parent a7d853d341
commit 2d5f9fac35
4 changed files with 3 additions and 11 deletions

View File

@ -5,7 +5,6 @@ load(
"//tensorflow/compiler/xla/python/tpu_driver:platform/external/tools.bzl",
"external_deps",
"go_grpc_library",
"go_proto_library",
)
licenses(["notice"]) # Apache 2.0
@ -135,12 +134,6 @@ 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"],

View File

@ -16,10 +16,6 @@
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

View File

@ -258,6 +258,7 @@ 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",

View File

@ -506,6 +506,7 @@ 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 = [],
@ -522,6 +523,7 @@ def tf_proto_library(
create_java_proto,
create_grpc_library,
cc_stubby_versions,
create_go_proto,
)
native.proto_library(