-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix private header support in
experimental_mixed_language_library
(#…
…2422) I was running into an issue where an `experimental_mixed_language_library` declared a private header via `srcs`. A type from this header was used in the Swift module part of the mixed library leading to not found errors. This adds the private headers to the module map we create for the `swift_library` allowing it to find the types in the those headers. Note that because this is not the "umbrella" modulemap, the private headers do not end up being exposed publicly to dependencies of this mixed library and are only available within the mixed library as intended.
- Loading branch information
1 parent
824fc38
commit 3a46721
Showing
4 changed files
with
16 additions
and
1 deletion.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@import Foundation; | ||
|
||
@interface MixedAnswerPrivateObjc : NSObject | ||
|
||
+ (NSString *)mixedAnswerPrivateObjc; | ||
|
||
@end |