Skip to content

Commit

Permalink
Avoid duplicate declaration by not passing along the hdrs to the uber
Browse files Browse the repository at this point in the history
target.
  • Loading branch information
cgrindel committed Sep 28, 2024
1 parent b9e15e4 commit 631c95a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swiftpkg/internal/swiftpkg_build_files.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ def _clang_target_build_file(repository_ctx, pkg_ctx, target):
)

# Add the cc_library that brings all of the child targets together.
uber_attrs = dicts.omit(attrs, ["srcs"]) | {
uber_attrs = dicts.omit(attrs, ["srcs", "hdrs"]) | {
"deps": [
":{}".format(dname)
for dname in child_dep_names
Expand Down

0 comments on commit 631c95a

Please sign in to comment.