E57C [bazel] Enable --incompatible_disallow_empty_glob (#2642) · open-telemetry/opentelemetry-cpp@9d998e3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9d998e3

Browse files
authored
[bazel] Enable --incompatible_disallow_empty_glob (#2642)
1 parent 6a77bcd commit 9d998e3

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

.bazelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
# Enable automatic configs based on platform
88
common --enable_platform_specific_config
99

10+
# Make globs that don't match anything fail
11+
common --incompatible_disallow_empty_glob
12+
1013
# Needed by gRPC to build on some platforms.
1114
build --copt -DGRPC_BAZEL_BUILD
1215

sdk/src/logs/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ package(default_visibility = ["//visibility:public"])
66
cc_library(
77
name = "logs",
88
srcs = glob(["**/*.cc"]),
9-
hdrs = glob(["**/*.h"]),
109
include_prefix = "src/logs",
1110
deps = [
1211
"//api",

sdk/src/metrics/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ package(default_visibility = ["//visibility:public"])
66
cc_library(
77
name = "metrics",
88
srcs = glob(["**/*.cc"]),
9-
hdrs = glob(["**/*.h"]),
109
include_prefix = "src/metrics",
1110
deps = [
1211
"//api",

sdk/src/resource/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ package(default_visibility = ["//visibility:public"])
66
cc_library(
77
name = "resource",
88
srcs = glob(["**/*.cc"]),
9-
hdrs = glob(["**/*.h"]),
109
include_prefix = "src/resource",
1110
deps = [
1211
"//api",

0 commit comments

Comments
 (0)
0