Skip to content

Commit

Permalink
Propogate framework_includes (#697)
Browse files Browse the repository at this point in the history
  • Loading branch information
qyang-nj authored Apr 24, 2023
1 parent 2ad11da commit 3884a20
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rules/framework.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,10 @@ def _apple_framework_packaging_impl(ctx):
direct = [],
transitive = [getattr(dep[CcInfo].compilation_context, "includes") for dep in deps if CcInfo in dep],
))
objc_provider_utils.add_to_dict_if_present(compilation_context_fields, "framework_includes", depset(
direct = [],
transitive = [getattr(dep[CcInfo].compilation_context, "framework_includes") for dep in deps if CcInfo in dep],
))

# Compute cc_info and swift_info
virtualize_frameworks = feature_names.virtualize_frameworks in ctx.features
Expand Down

0 comments on commit 3884a20

Please sign in to comment.