-
Notifications
You must be signed in to change notification settings - Fork 264
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 macos in apple_*_xcframework rules
This commit adds a `macos` attr to both the `apple_xcframework` and `apple_static_xcframework` rules. This allows building for multiple architectures and platforms. The new `macos` attr is a `string_list` (unlike the `ios` attr which is a dict for the simulator/device split). Example: ```starlark apple_xcframework( name = "ios_and_macos_dynamic_xcframework", bundle_id = "com.google.example", extension_safe = True, infoplists = [ "//test/starlark_tests/resources:Info.plist", ], ios = { "simulator": ["x86_64"], "device": ["arm64"], }, macos = [ "arm64", "x86_64", ], minimum_os_versions = { "ios": common.min_os_ios.baseline, "macos": common.min_os_macos.baseline, }, public_hdrs = [ "//test/starlark_tests/resources:shared.h", ], tags = common.fixture_tags, deps = [":fmwk_lib"], ) ``` Fixes #1475
- Loading branch information
1 parent
00a5576
commit 56c6864
Showing
6 changed files
with
124 additions
and
8 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
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