| workspace(name = "testing_python") |
| |
| load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| |
| local_repository( |
| name = "tink_py", |
| path = "../../python", |
| ) |
| |
| local_repository( |
| name = "tink_cc", |
| path = "../../cc", |
| ) |
| |
| local_repository( |
| name = "tink_cc_awskms", |
| path = "../../cc/integration/awskms", |
| ) |
| |
| local_repository( |
| name = "tink_cc_gcpkms", |
| path = "../../cc/integration/gcpkms", |
| ) |
| |
| # NOTE: The Python dependencies have to be loaded first, as they rely on a |
| # newer version of rules_python. |
| load("@tink_py//:tink_py_deps.bzl", "tink_py_deps") |
| tink_py_deps() |
| |
| load("@tink_py//:tink_py_deps_init.bzl", "tink_py_deps_init") |
| tink_py_deps_init("tink_py") |
| |
| load("@tink_cc//:tink_cc_deps.bzl", "tink_cc_deps") |
| tink_cc_deps() |
| |
| load("@tink_cc//:tink_cc_deps_init.bzl", "tink_cc_deps_init") |
| tink_cc_deps_init() |
| |
| load("@tink_cc_awskms//:tink_cc_awskms_deps.bzl", "tink_cc_awskms_deps") |
| |
| tink_cc_awskms_deps() |
| |
| load("@tink_cc_gcpkms//:tink_cc_gcpkms_deps.bzl", "tink_cc_gcpkms_deps") |
| |
| tink_cc_gcpkms_deps() |
| |
| load("@tink_cc_gcpkms//:tink_cc_gcpkms_deps_init.bzl", "tink_cc_gcpkms_deps_init") |
| |
| tink_cc_gcpkms_deps_init() |
| |
| # Release from 2021-12-12 |
| http_archive( |
| name = "rules_proto_grpc", |
| urls = ["https://github.com/rules-proto-grpc/rules_proto_grpc/archive/4.1.0.tar.gz"], |
| sha256 = "8383116d4c505e93fd58369841814acc3f25bdb906887a2023980d8f49a0b95b", |
| strip_prefix = "rules_proto_grpc-4.1.0", |
| ) |
| |
| load("@rules_proto_grpc//:repositories.bzl", "rules_proto_grpc_toolchains", "rules_proto_grpc_repos") |
| rules_proto_grpc_toolchains() |
| rules_proto_grpc_repos() |
| |
| load("@rules_proto_grpc//python:repositories.bzl", rules_proto_grpc_python_repos="python_repos") |
| rules_proto_grpc_python_repos() |
| |
| load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps") |
| |
| grpc_deps() |
| |
| load("@rules_python//python:pip.bzl", "pip_install") |
| |
| pip_install( |
| name = "pip_deps", |
| requirements = "//:requirements.txt", |
| ) |
| |
| pip_install( |
| name = "rules_proto_grpc_py3_deps", |
| requirements = "@rules_proto_grpc//python:requirements.txt", |
| ) |