Skip to content

Commit e11cb53

Browse files
committed
Remove cc_api_version stage 4: deletion where cc_api_version = 2
PiperOrigin-RevId: 669067740
1 parent 6ca7725 commit e11cb53

3 files changed

Lines changed: 1 addition & 9 deletions

File tree

struct2tensor/proto/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ licenses(["notice"])
99
s2t_proto_library(
1010
name = "query_metadata_proto",
1111
srcs = ["query_metadata.proto"],
12-
cc_api_version = 2,
1312
deps = ["@com_github_tensorflow_metadata//tensorflow_metadata/proto/v0:cc_metadata_v0_proto_cc"],
1413
)
1514

struct2tensor/struct2tensor.bzl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ def s2t_proto_library(
3131
deps = [],
3232
visibility = None,
3333
testonly = 0,
34-
cc_grpc_version = None,
35-
cc_api_version = 2):
34+
cc_grpc_version = None):
3635
"""Opensource proto_library.
3736
3837
Args:
@@ -43,7 +42,6 @@ def s2t_proto_library(
4342
visibility: visibility constraints
4443
testonly: if true, only use in tests.
4544
cc_grpc_version: If set, use grpc plugin.
46-
cc_api_version: The version of the API in C++.
4745
"""
4846
_ignore = [has_services]
4947
native.filegroup(
@@ -61,7 +59,6 @@ def s2t_proto_library(
6159
name = name,
6260
srcs = srcs,
6361
deps = deps,
64-
#cc_api_version = cc_api_version,
6562
cc_libs = ["@com_google_protobuf//:protobuf"],
6663
protoc = "@com_google_protobuf//:protoc",
6764
default_runtime = "@com_google_protobuf//:protobuf",

struct2tensor/test/BUILD

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ exports_files([
1515
s2t_proto_library(
1616
name = "test_proto",
1717
srcs = ["test.proto"],
18-
cc_api_version = 2,
1918
)
2019

2120
s2t_proto_library_cc(
@@ -35,7 +34,6 @@ s2t_proto_library_py(
3534
s2t_proto_library(
3635
name = "test_any_proto",
3736
srcs = ["test_any.proto"],
38-
cc_api_version = 2,
3937
deps = ["@com_google_protobuf//:cc_wkt_protos"],
4038
)
4139

@@ -54,7 +52,6 @@ s2t_proto_library_py(
5452
s2t_proto_library(
5553
name = "test_map_proto",
5654
srcs = ["test_map.proto"],
57-
cc_api_version = 2,
5855
)
5956

6057
s2t_proto_library_cc(
@@ -71,7 +68,6 @@ s2t_proto_library_py(
7168
s2t_proto_library(
7269
name = "test_proto3_proto",
7370
srcs = ["test_proto3.proto"],
74-
cc_api_version = 2,
7571
)
7672

7773
s2t_proto_library_py(

0 commit comments

Comments
 (0)