xref: /aosp_15_r20/external/anonymous-counting-tokens/WORKSPACE (revision a26f13018b999b025c962678da434c0a5aec4dae)
1# Copyright 2023 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 Anonymous Counting Tokens code."""
16
17load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
18load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
19
20# Private Join and Compute
21http_archive(
22    name = "private_join_and_compute",
23    sha256 = "9304a6fe62c7227657e7cecf08c6234c14dfb558bd6a2fa778de845056fb9dd3",
24    strip_prefix = "private-join-and-compute-f77f26fab7f37e5e1e2d43250662c0281bd7fa4a",
25    urls = ["https://github.com/google/private-join-and-compute/archive/f77f26fab7f37e5e1e2d43250662c0281bd7fa4a.zip"],
26)
27
28# loads boringssl, absl, googletest, protobuf.
29load("@private_join_and_compute//bazel:pjc_deps.bzl", "pjc_deps")
30pjc_deps()
31
32load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
33protobuf_deps()
34
35# gRPC
36# must be included separately, since we need to load transitive deps of grpc for
37# some of the pjc deps.
38http_archive(
39    name = "com_github_grpc_grpc",
40    sha256 = "feaeeb315133ea5e3b046c2c0231f5b86ef9d297e536a14b73e0393335f8b157",
41    strip_prefix = "grpc-1.51.3",
42    urls = [
43        "https://github.com/grpc/grpc/archive/v1.51.3.tar.gz",
44    ],
45)
46
47load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
48grpc_deps()
49
50load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
51grpc_extra_deps()
52