Skip to content

Commit b11abcd

Browse files
author
Alessandro Patti
committed
Add default outputs to dedicated output group
1 parent 4f031cb commit b11abcd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

swift/internal/swift_library.bzl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,12 @@ def _swift_library_impl(ctx):
100100
swift_toolchain = swift_toolchain,
101101
)
102102

103-
output_groups = {}
103+
output_groups = {
104+
"generated_header": depset([compilation_outputs.generated_header]),
105+
"swiftdoc": depset([compilation_outputs.swiftdoc]),
106+
"swiftmodule": depset([compilation_outputs.swiftmodule]),
107+
"library": depset([library_to_link.pic_static_library]),
108+
}
104109
if compilation_outputs.indexstore:
105110
output_groups["swift_index_store"] = depset([compilation_outputs.indexstore])
106111
if compilation_outputs.stats_directory:

0 commit comments

Comments
 (0)