Load grpc_extra_deps for C++, Python and Obj-C

This commit is contained in:
Adam Liddell 2022-05-22 21:58:46 +01:00
parent a0099df0e3
commit 54784e44b8
11 changed files with 53 additions and 1 deletions

View File

@ -143,6 +143,10 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()
``BUILD.bazel``
^^^^^^^^^^^^^^^
@ -382,6 +386,10 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()
``BUILD.bazel``
^^^^^^^^^^^^^^^

View File

@ -143,6 +143,10 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()
``BUILD.bazel``
^^^^^^^^^^^^^^^
@ -384,6 +388,10 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()
``BUILD.bazel``
^^^^^^^^^^^^^^^

View File

@ -139,6 +139,10 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()
``BUILD.bazel``
^^^^^^^^^^^^^^^

View File

@ -151,6 +151,10 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()
``BUILD.bazel``
^^^^^^^^^^^^^^^

View File

@ -22,3 +22,7 @@ rules_proto_grpc_cpp_repos()
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()

View File

@ -22,3 +22,7 @@ rules_proto_grpc_cpp_repos()
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()

View File

@ -22,3 +22,7 @@ rules_proto_grpc_objc_repos()
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()

View File

@ -22,3 +22,7 @@ rules_proto_grpc_objc_repos()
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()

View File

@ -22,3 +22,7 @@ rules_proto_grpc_php_repos()
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()

View File

@ -22,3 +22,7 @@ rules_proto_grpc_python_repos()
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()

View File

@ -110,7 +110,11 @@ rules_proto_grpc_{{ .Lang.Name }}_repos()
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()`)
grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()`)
var protoCompileExampleTemplate = mustTemplate(`load("@rules_proto_grpc//{{ .Lang.Dir }}:defs.bzl", "{{ .Rule.Name }}")