Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds the repository rule xcode_sdk_frameworks
It scans and configures all SDK frameworks which are required for explicit module builds. Specifically, it 1) uses the bazel_tools//tools/osx:xcode_configure.bzl to fetch all local Xcode infos, and 2) finds all frameworks under the xcode SDK path, 3) uses the swiftc -scan-dependencies mode to fetch the dependency graph among all Swift and Clang SDK modules. We use swift_module_alias to represent a Swift SDK module and sdk_clang_module for a Clang SDK module. Next steps: The dependency among swift_module_alias and sdk_clang_module doesn't work yet. We need to fix that.
- Loading branch information