@@ -7,16 +7,28 @@ git_repository = use_repo_rule("@bazel_tools//tools/build_defs/repo:git.bzl", "g
77# ada-url
88bazel_dep(name = "ada-url", version = "3.4.1")
99
10+ # boringssl
11+ bazel_dep(name = "boringssl", repo_name = "ssl")
12+ archive_override(
13+ module_name = "boringssl",
14+ patch_args = ["-p1"],
15+ patches = ["//:patches/boringssl/0001-Expose-libdecrepit-so-NodeJS-can-use-it-for-ncrypto.patch"],
16+ sha256 = "c54bb763140d86bc13ce1ec256f02189ddb59597c9765b75f945b7401b4916a7",
17+ strip_prefix = "google-boringssl-bc2e0ff",
18+ type = "tgz",
19+ url = "https://api.github.com/repos/google/boringssl/tarball/0.20251002.0",
20+ )
21+
1022# brotli
1123bazel_dep(name = "brotli", version = "1.2.0")
1224
1325# capnp-cpp
1426http.archive(
1527 name = "capnp-cpp",
16- sha256 = "8b1ca3b27292f0dabe6dd4fac70d923c79992ec97fbd34b2804dcbc7e4e9f495 ",
17- strip_prefix = "capnproto-capnproto-fe46415 /c++",
28+ sha256 = "3a3f15c850b115289ef6d4571c55453727d034b1d485be055780d5ae3e5cc6c5 ",
29+ strip_prefix = "capnproto-capnproto-ac2d9e8 /c++",
1830 type = "tgz",
19- url = "https://github.com/capnproto/capnproto/tarball/fe46415eb2b1038420e6cae41dd76b28df2511e6 ",
31+ url = "https://github.com/capnproto/capnproto/tarball/ac2d9e83fab1d1bdd89089eb7cbf6e0036c5cc87 ",
2032)
2133use_repo(http, "capnp-cpp")
2234
@@ -31,6 +43,44 @@ http.archive(
3143)
3244use_repo(http, "dragonbox")
3345
46+ # fast_float
47+ bazel_dep(name = "fast_float")
48+ archive_override(
49+ module_name = "fast_float",
50+ build_file_content = "cc_library(\n name = \"fast_float\",\n hdrs = glob([\"include/fast_float/*.h\"]),\n visibility = [\"//visibility:public\"],\n include_prefix = \"third_party/fast_float/src\",\n)",
51+ remote_file_integrity = {"MODULE.bazel": "sha256-Q1BGZO/fpMbPE0libIcTXJuHkmMlxyBFjzlu7iVWjto="},
52+ remote_file_urls = {"MODULE.bazel": ["https://raw.githubusercontent.com/bazelbuild/bazel-central-registry/refs/heads/main/modules/fast_float/8.0.2/MODULE.bazel"]},
53+ sha256 = "8f1dc06ac2ea1a39343c1bfbd8319134f295677ed04f0a4e63c296f5bd4d20d6",
54+ strip_prefix = "fastfloat-fast_float-cb1d42a",
55+ type = "tgz",
56+ url = "https://github.com/fastfloat/fast_float/tarball/cb1d42aaa1e14b09e1452cfdef373d051b8c02a4",
57+ )
58+
59+ # fp16
60+ bazel_dep(name = "fp16")
61+ archive_override(
62+ module_name = "fp16",
63+ build_file_content = "exports_files(glob([\"**\"]))",
64+ remote_file_integrity = {"MODULE.bazel": "sha256-2YAHXAyoWo6FapWo2MBLpWyewByY+F4tSWUMbYt8gmg="},
65+ remote_file_urls = {"MODULE.bazel": ["https://raw.githubusercontent.com/bazelbuild/bazel-central-registry/refs/heads/main/modules/fp16/0.0.0-20210320-0a92994/MODULE.bazel"]},
66+ sha256 = "adccd6b677a166a0f5073dc4dd0d897c6cc1ffe99a475997ed3627aca3909d83",
67+ strip_prefix = "Maratyszcza-FP16-b372061",
68+ type = "tgz",
69+ url = "https://github.com/Maratyszcza/FP16/tarball/b3720617faf1a4581ed7e6787cc51722ec7751f0",
70+ )
71+
72+ # highway
73+ bazel_dep(name = "highway")
74+ archive_override(
75+ module_name = "highway",
76+ remote_file_integrity = {"MODULE.bazel": "sha256-2UVSfmwaox6VsgqN+q+Ci+ofGKIJCDc+psSq2YsurfQ="},
77+ remote_file_urls = {"MODULE.bazel": ["https://raw.githubusercontent.com/bazelbuild/bazel-central-registry/refs/heads/main/modules/highway/1.3.0/MODULE.bazel"]},
78+ sha256 = "716d5d824c0243a802c22549295ea983381325b45678d24cc171fc69b9cc2b97",
79+ strip_prefix = "google-highway-00fe003",
80+ type = "tgz",
81+ url = "https://github.com/google/highway/tarball/00fe003dac355b979f36157f9407c7c46448958e",
82+ )
83+
3484# nbytes
3585http.archive(
3686 name = "nbytes",
@@ -52,14 +102,29 @@ http.archive(
52102)
53103use_repo(http, "ncrypto")
54104
105+ # perfetto
106+ bazel_dep(name = "perfetto")
107+ archive_override(
108+ module_name = "perfetto",
109+ patch_args = ["-p1"],
110+ patches = [
111+ "//:patches/perfetto/0001-Don-t-attempt-to-use-rules_android.patch",
112+ "//:patches/perfetto/0002-disable-info-level-logging.patch",
113+ ],
114+ sha256 = "feae4e379ef39e12f6f18b1e62e132ed411b5369750a23e18cae76cb42ef7192",
115+ strip_prefix = "google-perfetto-095212b",
116+ type = "tgz",
117+ url = "https://api.github.com/repos/google/perfetto/tarball/v53.0",
118+ )
119+
55120# simdutf
56121http.archive(
57122 name = "simdutf",
58123 build_file = "//:build/BUILD.simdutf",
59- sha256 = "6ea51d54c1a76418663a0c3a5bb48656bfed175c914ffc10279150a88506a0b6 ",
124+ sha256 = "3500cca10b2ff311d77c87e420fe9fa83f351d82ac0c80a5216b934ef0140208 ",
60125 strip_prefix = "",
61126 type = "zip",
62- url = "https://github.com/simdutf/simdutf/releases/download/v7.7.1 /singleheader.zip",
127+ url = "https://github.com/simdutf/simdutf/releases/download/v8.0.0 /singleheader.zip",
63128)
64129use_repo(http, "simdutf")
65130
@@ -76,3 +141,14 @@ http.archive(
76141 url = "https://github.com/cloudflare/workerd-tools/releases/download/wpt-c1ad85a22/wpt-c1ad85a22.tar.gz",
77142)
78143use_repo(http, "wpt")
144+
145+ # zlib
146+ bazel_dep(name = "zlib")
147+ git_override(
148+ module_name = "zlib",
149+ build_file = "//:build/BUILD.zlib",
150+ commit = "85f05b0835f934e52772efc308baa80cdd491838",
151+ patch_args = ["-p1"],
152+ patches = ["//:patches/zlib/0001-Add-dummy-MODULE.bazel.patch"],
153+ remote = "https://chromium.googlesource.com/chromium/src/third_party/zlib.git",
154+ )
0 commit comments