8000 [bazel] Enable --incompatible_disallow_empty_glob by keith · Pull Request #2642 · open-telemetry/opentelemetry-cpp · GitHub
[go: up one dir, main page]

Skip to content
3 changes: 3 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
# Enable automatic configs based on platform
common --enable_platform_specific_config

# Make globs that don't match anything fail
common --incompatible_disallow_empty_glob

# Needed by gRPC to build on some platforms.
build --copt -DGRPC_BAZEL_BUILD

Expand Down
1 change: 0 additions & 1 deletion sdk/src/logs/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ package(default_visibility = ["//visibility:public"])
cc_library(
name = "logs",
srcs = glob(["**/*.cc"]),
hdrs = glob(["**/*.h"]),
include_prefix = "src/logs",
deps = [
"//api",
Expand Down
1 change: 0 additions & 1 deletion sdk/src/metrics/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ package(default_visibility = ["//visibility:public"])
cc_library(
name = "metrics",
srcs = glob(["**/*.cc"]),
hdrs = glob(["**/*.h"]),
include_prefix = "src/metrics",
deps = [
"//api",
Expand Down
1 change: 0 additions & 1 deletion sdk/src/resource/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ package(default_visibility = ["//visibility:public"])
cc_library(
name = "resource",
srcs = glob(["**/*.cc"]),
hdrs = glob(["**/*.h"]),
include_prefix = "src/resource",
deps = [
"//api",
Expand Down
0