Skip to content

Commit 407ab5b

Browse files
authored
chore(build): use includes argument in BUILD.bazel (#154)
includes argument has the benefit to prepended with the package path and passed to the C++ toolchain for expansion via the "include_paths" CROSSTOOL feature.
1 parent 67151cf commit 407ab5b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

BUILD.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ cc_library(
2525
"src/datadog/random.cpp",
2626
"src/datadog/rate.cpp",
2727
"src/datadog/remote_config/remote_config.cpp",
28+
"src/datadog/remote_config/product.cpp",
2829
"src/datadog/runtime_id.cpp",
2930
"src/datadog/span.cpp",
3031
"src/datadog/span_data.cpp",
@@ -115,7 +116,7 @@ cc_library(
115116
"include/datadog/remote_config/product.h",
116117
],
117118
strip_include_prefix = "include/",
118-
copts = ["-Isrc/datadog"],
119+
includes = ["src/datadog"],
119120
visibility = ["//visibility:public"],
120121
deps = [
121122
"@com_google_absl//absl/strings",

0 commit comments

Comments
 (0)