Skip to content
File

Blob: build/deps/build_deps.jsonc

3.9 KB
1{
2 "$schema": "deps.schema.json",
3 "repositories": [
4 // bazel_deps from MODULE.bazel
5 // bazel_lib was formerly known as aspect_bazel_lib, new versions starting with v3 are released
6 // under the new name which should now be used.
7 {
8 "name": "bazel_lib",
9 "type": "bazel_dep"
10 },
11 {
12 "name": "bazel_skylib",
13 "type": "bazel_dep"
14 },
15 {
16 "name": "rules_shell",
17 "type": "bazel_dep"
18 },
19 // abseil is used by protobuf and tcmalloc.
20 {
21 "name": "abseil-cpp",
22 "type": "bazel_dep"
23 },
24 // Not pulling in platforms via bzlmod causes issues with the Windows clang-cl toolchain
25 {
26 "name": "platforms",
27 "type": "bazel_dep"
28 },
29 // While the build should succeed with the default toolchain configuration from rules_cc,
30 // apple_support is more tailored to macOS and allows us to cross-compile easily. Note that this
31 // needs to be pulled in before rules_cc for this toolchain to actually be used.
32 {
33 "name": "apple_support",
34 "type": "bazel_dep"
35 },
36 {
37 "name": "rules_cc",
38 "type": "bazel_dep"
39 },
40 // Node.js
41 {
42 "name": "aspect_rules_esbuild",
43 "type": "bazel_dep"
44 },
45 {
46 "name": "aspect_rules_js",
47 "type": "bazel_dep"
48 },
49 {
50 "name": "aspect_rules_ts",
51 "type": "bazel_dep"
52 },
53 {
54 "name": "rules_nodejs",
55 "type": "bazel_dep"
56 },
57 // Python
58 {
59 "name": "rules_python",
60 "type": "bazel_dep"
61 },
62 // rules_oci and rules_multirun are used to build Docker images
63 {
64 "name": "rules_oci",
65 "type": "bazel_dep"
66 },
67 {
68 "name": "rules_multirun",
69 "type": "bazel_dep"
70 },
71 // rust
72 {
73 "name": "rules_rust",
74 "type": "bazel_dep"
75 },
76 // wasm-tools
77 {
78 "name": "wasm_tools_linux_x64",
79 "type": "github_release",
80 "owner": "bytecodealliance",
81 "repo": "wasm-tools",
82 "file_regex": "^wasm-tools-.*-x86_64-linux\\.tar\\.gz$",
83 "build_file_content": "exports_files([\"wasm-tools\"])"
84 },
85 {
86 "name": "wasm_tools_linux_arm64",
87 "type": "github_release",
88 "owner": "bytecodealliance",
89 "repo": "wasm-tools",
90 "file_regex": "^wasm-tools-.*-aarch64-linux\\.tar\\.gz$",
91 "build_file_content": "exports_files([\"wasm-tools\"])"
92 },
93 {
94 "name": "wasm_tools_macos_x64",
95 "type": "github_release",
96 "owner": "bytecodealliance",
97 "repo": "wasm-tools",
98 "file_regex": "^wasm-tools-.*-x86_64-macos\\.tar\\.gz$",
99 "build_file_content": "exports_files([\"wasm-tools\"])"
100 },
101 {
102 "name": "wasm_tools_macos_arm64",
103 "type": "github_release",
104 "owner": "bytecodealliance",
105 "repo": "wasm-tools",
106 "file_regex": "^wasm-tools-.*-aarch64-macos\\.tar\\.gz$",
107 "build_file_content": "exports_files([\"wasm-tools\"])"
108 },
109 {
110 "name": "wasm_tools_windows_x64",
111 "type": "github_release",
112 "owner": "bytecodealliance",
113 "repo": "wasm-tools",
114 "file_regex": "^wasm-tools-.*-x86_64-windows\\.zip$",
115 "build_file_content": "exports_files([\"wasm-tools.exe\"])"
116 },
117 {
118 "name": "clang_tidy_linux_amd64",
119 "type": "github_release",
120 "owner": "cloudflare",
121 "repo": "workerd-tools",
122 "file_regex": "llvm-.*-linux-amd64-clang-tidy",
123 "file_type": "executable",
124 "freeze_version": "clang-tidy-22.1.1"
125 },
126 {
127 "name": "clang_tidy_linux_arm64",
128 "type": "github_release",
129 "owner": "cloudflare",
130 "repo": "workerd-tools",
131 "file_regex": "llvm-.*-linux-arm64-clang-tidy",
132 "file_type": "executable",
133 "freeze_version": "clang-tidy-22.1.1"
134 },
135 {
136 "name": "clang_tidy_darwin_arm64",
137 "type": "github_release",
138 "owner": "cloudflare",
139 "repo": "workerd-tools",
140 "file_regex": "llvm-.*-darwin-arm64-clang-tidy",
141 "file_type": "executable",
142 "freeze_version": "clang-tidy-22.1.1"
143 }
144 ]
145}