Skip to content

Commit c11fa1c

Browse files
committed
Remove unsupported linkstatic attribute after protovalidate migration
Signed-off-by: Matthieu MOREL <[email protected]>
1 parent aaef919 commit c11fa1c

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

api/bazel/api_build_system.bzl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ def api_cc_py_proto_library(
6767
visibility = ["//visibility:private"],
6868
srcs = [],
6969
deps = [],
70-
linkstatic = 0,
7170
has_services = 0,
7271
java = True):
7372
relative_name = ":" + name
@@ -91,7 +90,6 @@ def api_cc_py_proto_library(
9190
cc_proto_library_name = name + _CC_PROTO_SUFFIX
9291
cc_proto_library(
9392
name = cc_proto_library_name,
94-
linkstatic = linkstatic,
9593
deps = [relative_name],
9694
visibility = ["//visibility:public"],
9795
)

api/bazel/repository_locations.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ REPOSITORY_LOCATIONS_SPEC = dict(
1717
project_desc = "Protocol Buffer Validation",
1818
project_url = "https://github.com/bufbuild/protovalidate",
1919
use_category = ["api"],
20-
sha256 = "89e04fb1aba1c7da28d47da66619b5c8ac17d78ecd07bde35bb1a6e8ff1c1e32",
20+
sha256 = "28d37f49b4d26c8eac0d31af61db570c8e998b87289f69ceb792682fa7a1c1bd",
2121
version = "1.0.0",
2222
urls = ["https://github.com/bufbuild/protovalidate/archive/refs/tags/v{version}.zip"],
2323
strip_prefix = "protovalidate-{version}",

bazel/envoy_library.bzl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,6 @@ def envoy_cc_win32_library(name, srcs = [], hdrs = [], **kargs):
217217
def envoy_proto_library(name, visibility = ["//visibility:public"], **kwargs):
218218
api_cc_py_proto_library(
219219
name,
220-
# Avoid generating .so, we don't need it, can interfere with builds
221-
# such as OSS-Fuzz.
222-
linkstatic = 1,
223220
visibility = visibility,
224221
**kwargs
225222
)

0 commit comments

Comments
 (0)