-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Have
swift_clang_module_aspect
always generate the module map for O…
…bjective-C targets, instead of using the one generated by Bazel. The one exception is when a custom module map is provided using the `module_map` attribute; in that case, that module map is still used. But in all cases, the `direct_module_maps` field of `ObjcProvider` is no longer read by the Swift build rules. This change includes some very unfortunate workarounds to address J2ObjC's tightly coupled relationship with the Obj-C logic in Bazel; even though the module map is never used, Bazel must still generate it since umbrella header generation is coupled to it. In doing so, however, this change also updates module map generation to support expanding directory artifacts and listing umbrella headers (which we may want to support in `swift_interop_hint` separately in the future). PiperOrigin-RevId: 395704174
- Loading branch information
1 parent
5b66904
commit 868a76b
Showing
2 changed files
with
163 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
868a76b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#686