blob: c54133d1412e206e506d9f30b9966dcfdd27c02b [file] [log] [blame]
vasilvv0604a532022-05-24 12:59:16 -07001# Copyright 2022 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5workspace(name = "com_google_quiche")
6
7load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
8
9# -------- Bazel tooling dependencies --------
10
11http_archive(
12 name = "bazel_skylib",
13 sha256 = "f7be3474d42aae265405a592bb7da8e171919d74c16f082a5457840f06054728", # Last updated 2022-05-18
14 urls = ["https://github.com/bazelbuild/bazel-skylib/releases/download/1.2.1/bazel-skylib-1.2.1.tar.gz"],
15)
16
17# -------- Dependencies used in core QUICHE build --------
18
19http_archive(
20 name = "com_google_absl",
vasilvvc3a345c2023-04-12 13:50:23 -070021 sha256 = "d33809a982df8705f5220d1acb7cc63650e692a12dc2a8ef3e68b8959a1cee02", # Last updated 2023-04-12
22 strip_prefix = "abseil-cpp-32d314d0f5bb0ca3ff71ece49c71a728c128d43e",
23 urls = ["https://github.com/abseil/abseil-cpp/archive/32d314d0f5bb0ca3ff71ece49c71a728c128d43e.zip"],
vasilvv0604a532022-05-24 12:59:16 -070024)
25
26http_archive(
27 name = "com_google_protobuf",
28 sha256 = "8b28fdd45bab62d15db232ec404248901842e5340299a57765e48abe8a80d930", # Last updated 2022-05-18
29 strip_prefix = "protobuf-3.20.1",
30 urls = ["https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.20.1.tar.gz"],
31)
32
33http_archive(
34 name = "boringssl",
vasilvve1277722023-06-22 16:44:27 -070035 sha256 = "03079cbfe0f1c60cab58961ec45946974d9d89f90ef117b09839ae731697a81a", # Last updated 2023-06-22
36 strip_prefix = "boringssl-e2fa83865bfcf969f0c71673c1a5eba2814ec447",
37 urls = ["https://github.com/google/boringssl/archive/e2fa83865bfcf969f0c71673c1a5eba2814ec447.tar.gz"],
vasilvv0604a532022-05-24 12:59:16 -070038)
39
40http_archive(
41 name = "com_google_quic_trace",
42 sha256 = "079331de8c3cbf145a3b57adb3ad4e73d733ecfa84d3486e1c5a9eaeef286549", # Last updated 2022-05-18
43 strip_prefix = "quic-trace-c7b993eb750e60c307e82f75763600d9c06a6de1",
44 urls = ["https://github.com/google/quic-trace/archive/c7b993eb750e60c307e82f75763600d9c06a6de1.tar.gz"],
45)
46
47http_archive(
48 name = "com_google_googleurl",
vasilvv9dd53652022-10-17 08:44:25 -070049 sha256 = "a1bc96169d34dcc1406ffb750deef3bc8718bd1f9069a2878838e1bd905de989", # Last updated 2022-04-04
vasilvv0604a532022-05-24 12:59:16 -070050 urls = ["https://storage.googleapis.com/quiche-envoy-integration/googleurl_9cdb1f4d1a365ebdbcbf179dadf7f8aa5ee802e7.tar.gz"],
51)
52
53http_archive(
54 name = "zlib",
55 build_file = "//build:zlib.BUILD",
56 sha256 = "d8688496ea40fb61787500e863cc63c9afcbc524468cedeb478068924eb54932", # Last updated 2022-05-18
57 strip_prefix = "zlib-1.2.12",
58 urls = ["https://github.com/madler/zlib/archive/refs/tags/v1.2.12.tar.gz"],
59)
60
61# -------- Dependencies used by QUICHE tests and extra tooling --------
62
63http_archive(
64 name = "com_google_googletest",
vasilvvc3a345c2023-04-12 13:50:23 -070065 sha256 = "82808543c49488e712d9bd84c50edf40d692ffdaca552b4b019b8b533d3cf8ef", # Last updated 2023-04-12
66 strip_prefix = "googletest-12a5852e451baabc79c63a86c634912c563d57bc",
67 urls = ["https://github.com/google/googletest/archive/12a5852e451baabc79c63a86c634912c563d57bc.zip"],
vasilvv0604a532022-05-24 12:59:16 -070068)
69
vasilvv0604a532022-05-24 12:59:16 -070070http_archive(
71 name = "com_googlesource_code_re2",
Paul Wankadiaef9e5272023-05-31 10:07:59 -070072 sha256 = "1726508efc93a50854c92e3f7ac66eb28f0e57652e413f11d7c1e28f97d997ba", # Last updated 2023-06-01
73 strip_prefix = "re2-03da4fc0857c285e3a26782f6bc8931c4c950df4",
74 urls = ["https://github.com/google/re2/archive/03da4fc0857c285e3a26782f6bc8931c4c950df4.zip"],
vasilvv0604a532022-05-24 12:59:16 -070075)
76
77# -------- Load and call dependencies of underlying libraries --------
78
79load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
80
81bazel_skylib_workspace()
82
83load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
84
85protobuf_deps()