xref: /aosp_15_r20/external/private-join-and-compute/WORKSPACE (revision a6aa18fbfbf9cb5cd47356a9d1b057768998488c)
1# Copyright 2019 Google LLC.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#     https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15"""WORKSPACE file for Private Join and Compute."""
16
17load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
18load("//bazel:pjc_deps.bzl", "pjc_deps")
19
20pjc_deps()
21
22# gRPC
23# must be included separately, since we need to load transitive deps of grpc.
24http_archive(
25    name = "com_github_grpc_grpc",
26    sha256 = "feaeeb315133ea5e3b046c2c0231f5b86ef9d297e536a14b73e0393335f8b157",
27    strip_prefix = "grpc-1.51.3",
28    urls = [
29        "https://github.com/grpc/grpc/archive/v1.51.3.tar.gz",
30    ],
31)
32
33load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
34grpc_deps()
35
36load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
37grpc_extra_deps()
38
39