bazelbuild / rules_swift

Bazel rules to build Swift on Apple and Linux platforms
Apache License 2.0
309 stars 133 forks source link

Move `swift_usage_aspect` and `SwiftUsageInfo` from rules_swift into rules_apple #1223

Closed brentleyjones closed 2 months ago

brentleyjones commented 2 months ago

With the toolchain information removed, this aspect/provider offers a minimal API. The only client is rules_apple, which uses it to determine if Swift support may need to be bundled at all, so it's better that that single client own it, rather than rules_swift try to provide an API that could serve all possible hypothetical clients.

PiperOrigin-RevId: 439577534 (cherry picked from commit c24a84a128580b5cdd71e647dff01f7a6fe659c4)

google-cla[bot] commented 2 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.