forked from open-telemetry/opentelemetry-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMODULE.bazel
More file actions
102 lines (91 loc) · 3.83 KB
/
MODULE.bazel
File metadata and controls
102 lines (91 loc) · 3.83 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
module(
name = "otel_sdk_dev",
version = "1.27.0-dev",
)
bazel_dep(name = "abseil-cpp", version = "20260107.1")
bazel_dep(name = "bazel_lib", version = "3.2.2")
bazel_dep(name = "bazel_skylib", version = "1.9.0")
bazel_dep(name = "platforms", version = "1.0.0")
bazel_dep(name = "rapidyaml", version = "0.10.0")
bazel_dep(name = "boringssl", version = "0.20260413.0")
bazel_dep(name = "curl", version = "8.12.0")
single_version_override(
module_name = "curl",
patch_strip = 1,
patches = [
"bazel/curl.patch",
],
version = "8.12.0",
)
bazel_dep(name = "depend_on_what_you_use", version = "0.15.0")
bazel_dep(name = "google_benchmark", version = "1.9.5")
bazel_dep(name = "googletest", version = "1.17.0.bcr.2")
bazel_dep(name = "re2", version = "2025-11-05.bcr.1")
bazel_dep(name = "rules_go", version = "0.60.0")
bazel_dep(name = "gazelle", version = "0.50.0")
bazel_dep(name = "stardoc", version = "0.8.1")
bazel_dep(name = "rules_android", version = "0.7.2")
bazel_dep(name = "grpc", version = "1.80.0")
bazel_dep(name = "rules_swift", version = "3.6.1")
single_version_override(
module_name = "grpc",
patch_strip = 1,
patches = [
"bazel/grpc.patch",
],
version = "1.80.0",
)
bazel_dep(name = "nlohmann_json", version = "3.12.0.bcr.1")
bazel_dep(name = "rules_cc", version = "0.2.18")
bazel_dep(name = "rules_pkg", version = "1.2.0")
bazel_dep(name = "rules_python", version = "2.0.0-rc4")
bazel_dep(name = "rules_proto", version = "7.1.0")
bazel_dep(name = "zlib", version = "1.3.2")
bazel_dep(name = "opentracing-cpp", version = "1.6.0")
bazel_dep(name = "rules_multitool", version = "1.11.1")
bazel_dep(name = "protoc-gen-validate", version = "1.3.0")
bazel_dep(name = "c-ares", version = "1.34.6")
archive_override(
module_name = "c-ares",
# integrity = "sha256-QItVHP1adgblywbel9M7cgFSehKhzHO6CrVe8/ynEls=",
# strip_prefix = "c-ares-1.34.5-bazel",
# urls = ["https://github.com/malkia/c-ares/archive/refs/tags/v1.34.5-bazel.tar.gz"],
integrity = "sha256-Yi8dCzI/vqjsldUAjQVLnp25PWgVE0CVTb5GW1wbB5I=",
strip_prefix = "c-ares-d61fcad5fb33fe87b1be1975d4e29a1bb0f90dd9",
urls = ["https://github.com/malkia/c-ares/archive/d61fcad5fb33fe87b1be1975d4e29a1bb0f90dd9.zip"]
)
bazel_dep(name = "protobuf", version = "35.0-rc1")
bazel_dep(name = "opentelemetry-proto", version = "1.8.0")
bazel_dep(name = "prometheus-cpp", version = "1.3.0.bcr.2")
bazel_dep(name = "civetweb", version = "1.16.bcr.4")
use_repo(
use_extension("@rules_cc//cc:extensions.bzl", "cc_configure_extension"),
"local_config_cc",
)
bazel_dep(name = "cel-spec", version = "0.25.1")
bazel_dep(name = "envoy_api", version = "0.0.0-20251216-6ef568c")
# This is needed only for most of the `bazel mod xxx` functions to work.
#
# Otherwise it complaints with
#
# ERROR: in tag at https://bcr.bazel.build/modules/grpc-java/1.62.2/MODULE.bazel:89:15: no repository visible as
# '@com_google_protobuf_javalite' to the repository '@@grpc-java+', but referenced by label
# '@com_google_protobuf_javalite//:protobuf_javalite' in attribute 'target' of tag 'override'.
# Is the module 'grpc-java' missing a bazel_dep or use_repo(..., "com_google_protobuf_javalite")?.
#
bazel_dep(name = "grpc-java", version = "1.78.0.bcr.1")
new_local_repository = use_repo_rule("@bazel_tools//tools/build_defs/repo:local.bzl", "new_local_repository")
new_local_repository(
name = "llvm_windows_install",
build_file = "@otel_sdk_dev//bazel:llvm_windows_install.BUILD",
path = "C:/Program Files/LLVM",
)
multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "@otel_sdk_dev//:multitool.lock.json")
use_repo(multitool, "multitool")
register_toolchains(
"@local_config_cc//:cc-toolchain-x64_windows-clang-cl",
)
register_execution_platforms(
"@otel_sdk_dev//:x64_windows-clang-cl",
)