1*a26f1301SXin Li# Copyright 2023 Google LLC. 2*a26f1301SXin Li# 3*a26f1301SXin Li# Licensed under the Apache License, Version 2.0 (the "License"); 4*a26f1301SXin Li# you may not use this file except in compliance with the License. 5*a26f1301SXin Li# You may obtain a copy of the License at 6*a26f1301SXin Li# 7*a26f1301SXin Li# https://www.apache.org/licenses/LICENSE-2.0 8*a26f1301SXin Li# 9*a26f1301SXin Li# Unless required by applicable law or agreed to in writing, software 10*a26f1301SXin Li# distributed under the License is distributed on an "AS IS" BASIS, 11*a26f1301SXin Li# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*a26f1301SXin Li# See the License for the specific language governing permissions and 13*a26f1301SXin Li# limitations under the License. 14*a26f1301SXin Li 15*a26f1301SXin Li"""WORKSPACE file for Anonymous Counting Tokens code.""" 16*a26f1301SXin Li 17*a26f1301SXin Liload("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") 18*a26f1301SXin Liload("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") 19*a26f1301SXin Li 20*a26f1301SXin Li# Private Join and Compute 21*a26f1301SXin Lihttp_archive( 22*a26f1301SXin Li name = "private_join_and_compute", 23*a26f1301SXin Li sha256 = "9304a6fe62c7227657e7cecf08c6234c14dfb558bd6a2fa778de845056fb9dd3", 24*a26f1301SXin Li strip_prefix = "private-join-and-compute-f77f26fab7f37e5e1e2d43250662c0281bd7fa4a", 25*a26f1301SXin Li urls = ["https://github.com/google/private-join-and-compute/archive/f77f26fab7f37e5e1e2d43250662c0281bd7fa4a.zip"], 26*a26f1301SXin Li) 27*a26f1301SXin Li 28*a26f1301SXin Li# loads boringssl, absl, googletest, protobuf. 29*a26f1301SXin Liload("@private_join_and_compute//bazel:pjc_deps.bzl", "pjc_deps") 30*a26f1301SXin Lipjc_deps() 31*a26f1301SXin Li 32*a26f1301SXin Liload("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") 33*a26f1301SXin Liprotobuf_deps() 34*a26f1301SXin Li 35*a26f1301SXin Li# gRPC 36*a26f1301SXin Li# must be included separately, since we need to load transitive deps of grpc for 37*a26f1301SXin Li# some of the pjc deps. 38*a26f1301SXin Lihttp_archive( 39*a26f1301SXin Li name = "com_github_grpc_grpc", 40*a26f1301SXin Li sha256 = "feaeeb315133ea5e3b046c2c0231f5b86ef9d297e536a14b73e0393335f8b157", 41*a26f1301SXin Li strip_prefix = "grpc-1.51.3", 42*a26f1301SXin Li urls = [ 43*a26f1301SXin Li "https://github.com/grpc/grpc/archive/v1.51.3.tar.gz", 44*a26f1301SXin Li ], 45*a26f1301SXin Li) 46*a26f1301SXin Li 47*a26f1301SXin Liload("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps") 48*a26f1301SXin Ligrpc_deps() 49*a26f1301SXin Li 50*a26f1301SXin Liload("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps") 51*a26f1301SXin Ligrpc_extra_deps() 52