Skip to content

Allow windows_resource() to take deps #1015

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zjturner
Copy link
Contributor

We have a .rc file which does an include of a file in a different directory that is not part of the same package. In order to support this, allow windows_resource() to accept a deps argument, and merge this in with the existing preprocessor info.

Also, less critical, but I decided to set the .res file as the rule's default_output. It's nice to be able to buck2 build the resources target directly for debugging purposes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 26, 2025
@facebook-github-bot
Copy link
Contributor

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. (Because this pull request was imported automatically, there will not be any future comments.)

@alexlian alexlian added enhancement New feature or request prelude Related to integration/prelude windows Microsoft Windows related labels Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. enhancement New feature or request prelude Related to integration/prelude windows Microsoft Windows related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants