Skip to content

[NFC] LLBuildManifest: add WriteAuxiliary.EntitlementPlist #6975

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 5, 2023

Conversation

MaxDesiatov
Copy link
Contributor

Motivation:

For enabling backtraces on macOS we need to grant a certain entitlement on executables built with SwiftPM. For that we need to write out a plist file with this entitlement setting.

This new auxiliary file type allows writing an entitlements plist file during the build process.

Related to rdar://112065568.

Modifications:

Added WriteAuxiliary.EntitlementPlist with a corresponding test, moved LLBuildManifestTests into its own test target that depends only on the LLBuildManifest target and few required targets such as Basics and test support target.

Result:

A corresponding build step can be added to build description and build planning in a subsequent PR.

This new auxiliary file type allows writing an entitlements plist file during the build process.

Related to rdar://112065568.
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test linux

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test macos

@MaxDesiatov MaxDesiatov enabled auto-merge (squash) October 5, 2023 18:18
@MaxDesiatov MaxDesiatov merged commit 63e1787 into main Oct 5, 2023
@MaxDesiatov MaxDesiatov deleted the maxd/entitlements-plist branch October 5, 2023 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants