-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for clang modules in experimental_mixed_language_library (#…
…2351) This adds support for `@import` when using `experimental_mixed_language_library`. There seems to be a "bug" (or at least a usability issue) in Bazel where if `module_map` is set on `objc_library` then the `enable_modules` attr does nothing. This enables modules via copts instead, similar to how it was done in [rules_apple_line](https://github.com/line/rules_apple_line/blob/63f50b29616e7a439c47a140cadd59c3ccf4066f/apple/mixed_static_framework.bzl#L279).
- Loading branch information
1 parent
82ade19
commit 071463e
Showing
4 changed files
with
18 additions
and
7 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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#import <Foundation/Foundation.h> | ||
@import Foundation; | ||
|
||
@interface MixedAnswerObjc : NSObject | ||
|
||
|