mirror of https://github.com/grpc/grpc.git
[xDS unit test] remove need for `grpc_cc_proto_library` BUILD rule (#37902)
This eliminates the need for the `grpc_cc_proto_library` bazel BUILD rule introduced in #37863. To make this work, I had to upgrade several bazel dependencies and apply a patch to rules_go to work around https://github.com/bazelbuild/bazel/issues/11636. Closes #37902 PiperOrigin-RevId: 685868647pull/37896/head
parent
3d63a7b106
commit
7c766e2a72
12 changed files with 77 additions and 50 deletions
@ -0,0 +1,19 @@ |
||||
# This patch works around a problem with Windows RBE described in
|
||||
# https://github.com/bazelbuild/bazel/issues/11636. It can be removed
|
||||
# once that issue is resolved.
|
||||
diff --git a/go/private/rules/binary.bzl b/go/private/rules/binary.bzl
|
||||
index 40a17f4d..2741ad71 100644
|
||||
--- a/go/private/rules/binary.bzl
|
||||
+++ b/go/private/rules/binary.bzl
|
||||
@@ -462,8 +462,9 @@ exit /b %GO_EXIT_CODE%
|
||||
content = cmd,
|
||||
)
|
||||
ctx.actions.run(
|
||||
- executable = bat,
|
||||
- inputs = sdk.headers + sdk.tools + sdk.srcs + ctx.files.srcs + [sdk.go],
|
||||
+ executable = "cmd.exe",
|
||||
+ arguments = ["/S", "/C", bat.path.replace("/", "\\")],
|
||||
+ inputs = sdk.headers + sdk.tools + sdk.srcs + ctx.files.srcs + [sdk.go, bat],
|
||||
outputs = [out, gotmp],
|
||||
mnemonic = "GoToolchainBinaryBuild",
|
||||
)
|
@ -1 +1 @@ |
||||
Subproject commit fab737efbb4b4d03e7c771393708f75594b121e4 |
||||
Subproject commit 32c2415389a3538082507ae537e7edd9578c64ed |
@ -1,14 +0,0 @@ |
||||
index 5b2443d..c26a9dd 100644
|
||||
--- a/dependencies.bzl
|
||||
+++ b/dependencies.bzl
|
||||
@@ -104,8 +104,8 @@ def go_third_party():
|
||||
go_repository(
|
||||
name = "org_golang_google_protobuf",
|
||||
importpath = "google.golang.org/protobuf",
|
||||
- sum = "h1:bxAC2xTBsZGibn2RTntX0oH50xLsqy1OxA9tTL3p/lk=",
|
||||
- version = "v1.27.1",
|
||||
+ sum = "h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw=",
|
||||
+ version = "v1.28.0",
|
||||
)
|
||||
go_repository(
|
||||
name = "org_golang_x_crypto",
|
Loading…
Reference in new issue