workspace(name = "cross_language_test") 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-10-26 http_archive( name = "rules_python", url = "https://github.com/bazelbuild/rules_python/releases/download/0.5.0/rules_python-0.5.0.tar.gz", sha256 = "cd6730ed53a002c56ce4e2f396ba3b3be262fd7cb68339f0377a45e8227fe332", ) # 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", ) http_archive( name = "org_python_pypi_portpicker", urls = [ "https://files.pythonhosted.org/packages/3b/34/bfbd5236c7726452080a92a9f6ea9770cd65f51b05cef319ccb767ed32bf/portpicker-1.5.2.tar.gz", ], sha256 = "c55683ad725f5c00a41bc7db0225223e8be024b1fa564d039ed3390e4fd48fb3", strip_prefix = "portpicker-1.5.2/src", build_file = "portpicker.BUILD.bazel", ) 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", )