mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
2.0 KiB
72 lines
2.0 KiB
workspace(name = "com_github_grpc_grpc") |
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
|
load("//bazel:grpc_deps.bzl", "grpc_deps", "grpc_test_only_deps") |
|
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") |
|
|
|
grpc_deps() |
|
|
|
grpc_test_only_deps() |
|
|
|
register_execution_platforms( |
|
"//third_party/toolchains:local", |
|
"//third_party/toolchains:local_large", |
|
"//third_party/toolchains:rbe_windows", |
|
) |
|
|
|
register_toolchains( |
|
"//third_party/toolchains/bazel_0.26.0_rbe_windows:cc-toolchain-x64_windows", |
|
) |
|
|
|
load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig") |
|
|
|
# Create toolchain configuration for remote execution. |
|
rbe_autoconfig( |
|
name = "rbe_default", |
|
) |
|
|
|
load("@bazel_toolchains//rules:environments.bzl", "clang_env") |
|
load("@bazel_skylib//lib:dicts.bzl", "dicts") |
|
|
|
# Create msan toolchain configuration for remote execution. |
|
rbe_autoconfig( |
|
name = "rbe_msan", |
|
env = dicts.add( |
|
clang_env(), |
|
{ |
|
"BAZEL_LINKOPTS": "-lc++:-lc++abi:-lm", |
|
}, |
|
), |
|
) |
|
|
|
load("@io_bazel_rules_python//python:pip.bzl", "pip_repositories", "pip_import") |
|
|
|
pip_import( |
|
name = "grpc_python_dependencies", |
|
requirements = "@com_github_grpc_grpc//:requirements.bazel.txt", |
|
) |
|
|
|
load("@io_bazel_rules_python//python:pip.bzl", "pip_repositories") |
|
load("@grpc_python_dependencies//:requirements.bzl", "pip_install") |
|
pip_repositories() |
|
pip_install() |
|
|
|
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") |
|
protobuf_deps() |
|
|
|
load("@upb//bazel:workspace_deps.bzl", "upb_deps") |
|
upb_deps() |
|
|
|
load("@envoy_api//bazel:repositories.bzl", "api_dependencies") |
|
api_dependencies() |
|
|
|
load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") |
|
go_rules_dependencies() |
|
go_register_toolchains() |
|
|
|
|
|
load("@build_bazel_rules_apple//apple:repositories.bzl", "apple_rules_dependencies") |
|
apple_rules_dependencies() |
|
|
|
load("@build_bazel_apple_support//lib:repositories.bzl", "apple_support_dependencies") |
|
apple_support_dependencies()
|
|
|