forked from bazelbuild/rules_swift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Partially unify Objective-C and C++ module map generation for Swift.
Now that Objective-C targets have accurate compilation contexts, we can start using those to access the headers of the library for the purposes of propagation. We do not completely switch over to having the aspect generate module maps for Objective-C rules yet, though. We also add `use` declarations to the module maps generated by the Swift build rules to match the ones now generated by Bazel for the Objective-C targets. These are not currently enabled, however; in the future we can enable `-fmodules-decluse` to provide layering checks among C modules used by Swift. RELNOTES: None. PiperOrigin-RevId: 318342672
- Loading branch information
1 parent
8db6c90
commit da184ed
Showing
5 changed files
with
224 additions
and
155 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
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
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.