1"""Loads the dependencies necessary for the external repositories defined in grpc_deps.bzl.""" 2 3load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") 4load("@upb//bazel:workspace_deps.bzl", "upb_deps") 5load("@envoy_api//bazel:repositories.bzl", "api_dependencies") 6load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") 7load("@build_bazel_rules_apple//apple:repositories.bzl", "apple_rules_dependencies") 8load("@build_bazel_apple_support//lib:repositories.bzl", "apple_support_dependencies") 9 10def grpc_extra_deps(): 11 """Loads the extra dependencies. 12 13 These are necessary for using the external repositories defined in 14 grpc_deps.bzl. Projects that depend on gRPC as an external repository need 15 to call both grpc_deps and grpc_extra_deps, if they have not already loaded 16 the extra dependencies. For example, they can do the following in their 17 WORKSPACE 18 ``` 19 load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps", "grpc_test_only_deps") 20 grpc_deps() 21 22 grpc_test_only_deps() 23 24 load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps") 25 26 grpc_extra_deps() 27 ``` 28 """ 29 protobuf_deps() 30 31 upb_deps() 32 33 api_dependencies() 34 35 go_rules_dependencies() 36 go_register_toolchains() 37 38 apple_rules_dependencies() 39 40 apple_support_dependencies() 41