Skip to content

Commit a45f844

Browse files
committed
Avoid duplicate declaration by not passing along the hdrs to the uber
target.
1 parent 2899e1f commit a45f844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swiftpkg/internal/swiftpkg_build_files.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ def _clang_target_build_file(repository_ctx, pkg_ctx, target):
508508
)
509509

510510
# Add the cc_library that brings all of the child targets together.
511-
uber_attrs = dicts.omit(attrs, ["srcs"]) | {
511+
uber_attrs = dicts.omit(attrs, ["srcs", "hdrs"]) | {
512512
"deps": [
513513
":{}".format(dname)
514514
for dname in child_dep_names

0 commit comments

Comments
 (0)