Repository navigation
Expand file tree
/
Copy pathMODULE.bazel
More file actions
38 lines (31 loc) · 1.59 KB
/
Copy pathMODULE.bazel
File metadata and controls
38 lines (31 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
"Bazel dependencies, see https://registry.bazel.build"
module(name = "workerd")
# rules_android/rules_go are not used by ourselves, but protobuf pulls in outdated versions that are
# missing rules_cc symbols – can be dropped once protobuf uses more recent versions. At least we can
# use repo_name = None so that these are not visible to workerd itself and won't be pulled in if not
# needed transitively.
bazel_dep(name = "rules_go", version = "0.60.0", repo_name = None)
bazel_dep(name = "rules_android", version = "0.7.1", repo_name = None)
# Automatically managed dependencies
include("//build/deps:gen/deps.MODULE.bazel")
include("//build/deps:gen/build_deps.MODULE.bazel")
include("//build/deps:gen/shared_deps.MODULE.bazel")
# Must be loaded after automated dependencies
include("//build/deps:rust.MODULE.bazel")
include("//build/deps:nodejs.MODULE.bazel")
include("//build/deps:python.MODULE.bazel")
include("//build/deps:pyodide.MODULE.bazel")
include("//build/deps:v8.MODULE.bazel")
include("//build/deps:llvm.MODULE.bazel")
include("//build/deps:oci.MODULE.bazel")
include("//build/deps/formatters:rustfmt.MODULE.bazel")
# The parent of the sanitizer configs' target platforms (see
# //build/bazelflare:base_target_platform.bzl).
base_target_platform = use_repo_rule(
"//build/bazelflare:base_target_platform.bzl",
"base_target_platform",
)
base_target_platform(name = "base_target_platform")
# Make local_config_cc available, used for retrieving Windows clang-cl toolchain
cc_configure = use_extension("@rules_cc//cc:extensions.bzl", "cc_configure_extension")
use_repo(cc_configure, "local_config_cc")