Make patch work for downstream dependencies

pull/25171/head
Richard Belleville 4 years ago
parent 99d20dfab3
commit 273ed1fea0
  1. 2
      bazel/grpc_deps.bzl
  2. 1
      third_party/BUILD

@ -175,7 +175,7 @@ def grpc_deps():
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/protobuf/archive/19fb89416f3fdc2d6668f3738f444885575285bc.tar.gz", "https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/protobuf/archive/19fb89416f3fdc2d6668f3738f444885575285bc.tar.gz",
"https://github.com/google/protobuf/archive/19fb89416f3fdc2d6668f3738f444885575285bc.tar.gz", "https://github.com/google/protobuf/archive/19fb89416f3fdc2d6668f3738f444885575285bc.tar.gz",
], ],
patches = ["//third_party:protobuf.patch"], patches = ["@com_github_grpc_grpc//third_party:protobuf.patch"],
patch_args = ["-p1"], patch_args = ["-p1"],
) )

1
third_party/BUILD vendored

@ -11,4 +11,5 @@ exports_files([
"enum34.BUILD", "enum34.BUILD",
"futures.BUILD", "futures.BUILD",
"libuv.BUILD", "libuv.BUILD",
"protobuf.patch",
]) ])

Loading…
Cancel
Save