Skip to content

Commit 33a9ab9

Browse files
author
elsa
committed
fix: bazel build with customlabels
* BUILD.bazel * MODULE.bazel
1 parent f001ce1 commit 33a9ab9

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ cc_library(
6767
"src/datadog/limiter.h",
6868
"src/datadog/msgpack.h",
6969
"src/datadog/null_logger.h",
70+
"src/datadog/otel_identifiers.h",
7071
"src/datadog/parse_util.h",
7172
"src/datadog/platform_util.h",
7273
"src/datadog/random.h",
@@ -134,5 +135,6 @@ cc_library(
134135
deps = [
135136
"@com_google_absl//absl/strings",
136137
"@com_google_absl//absl/types:optional",
138+
"@customlabels//:customlabels"
137139
],
138140
)

MODULE.bazel

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,20 @@ bazel_dep(
1111
name = "rules_cc",
1212
version = "0.0.9",
1313
)
14+
bazel_dep(
15+
name = "customlabels",
16+
version = "1.0.0",
17+
)
1418
# -- bazel_dep definitions -- #
1519

1620
non_module_dependencies = use_extension("//:extensions.bzl", "non_module_dependencies")
1721
use_repo(
1822
non_module_dependencies,
1923
"com_google_absl",
2024
)
25+
26+
git_override(
27+
module_name = "customlabels",
28+
remote = "https://github.com/DataDog/custom-labels.git",
29+
branch = "elsa/add-process-storage",
30+
)

0 commit comments

Comments
 (0)