Skip to content

Commit 6c1d9ea

Browse files
authored
refactor(config_settings): remove unused private distribution target (bazel-contrib#4129)
The `python/config_settings/private` package contains no source files, leaving its `:distribution` target empty and obsolete. Including it in `//python/config_settings:distribution` adds redundant build graph structure. Delete the unused private `BUILD.bazel` file and remove the dependency from `//python/config_settings:distribution`.
1 parent 14ac131 commit 6c1d9ea

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

python/config_settings/BUILD.bazel

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ load(":config_settings.bzl", "construct_config_settings")
2626

2727
filegroup(
2828
name = "distribution",
29-
srcs = glob(["**"]) + [
30-
"//python/config_settings/private:distribution",
31-
],
29+
srcs = glob(["**"]),
3230
visibility = ["//python:__pkg__"],
3331
)
3432

python/config_settings/private/BUILD.bazel

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)