Skip to content

Conversation

cgrindel
Copy link
Owner

  • Add src_type to modules in the swift_deps_index.json. This value identifies the type of source files in the module. This information is used to resolve dependencies specifically as it relates to ObjC modules consumed by objc_library targets.
  • Implement swift_objc_module_alias macro. It defines a swift_library that re-exports the specified modules defined in the provided deps.
  • For Swift targets implemented using ObjC, generate two Bazel targets. One represents is the objc_library. The other is a swift_objc_module_alias that is referenced by external repositories.
  • Use product_memberships to determine whether the Bazel target(s) for a Swift target should be publicly visible.

Related to #153.

@cgrindel cgrindel self-assigned this Jan 24, 2023
@cgrindel cgrindel enabled auto-merge (squash) January 24, 2023 00:55
@cgrindel cgrindel merged commit 5c0820f into main Jan 24, 2023
@cgrindel cgrindel deleted the gh153_more_objc_module_new branch January 24, 2023 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant