Skip to content

Commit

Permalink
Add support for rules_swift mixed_language_library
Browse files Browse the repository at this point in the history
Signed-off-by: Brentley Jones <github@brentleyjones.com>
  • Loading branch information
brentleyjones committed Oct 29, 2024
1 parent ba0db8b commit 79f44cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apple/internal/aspects/framework_provider_aspect.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ _FRAMEWORK_PROVIDERS_ASPECT_ATTRS = [
"implementation_deps",
"private_deps",
"runtime_deps",
# rules_swift `mixed_language_target`
"clang_target",
"swift_target",
]

def _framework_provider_aspect_impl(target, ctx):
Expand Down
3 changes: 3 additions & 0 deletions apple/internal/aspects/resource_aspect.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,9 @@ apple_resource_aspect = aspect(
"private_deps",
"structured_resources",
"resources",
# rules_swift `mixed_language_target`
"clang_target",
"swift_target",
],
attrs = dicts.add(
apple_support.action_required_attrs(),
Expand Down

0 comments on commit 79f44cc

Please sign in to comment.