Skip to content

expand make variables in x_defs#4533

Merged
fmeum merged 1 commit intobazel-contrib:masterfrom
pjjw:pjjw/make-variables-in-x_defs
Dec 10, 2025
Merged

expand make variables in x_defs#4533
fmeum merged 1 commit intobazel-contrib:masterfrom
pjjw:pjjw/make-variables-in-x_defs

Conversation

@pjjw
Copy link
Copy Markdown
Contributor

@pjjw pjjw commented Dec 10, 2025

What type of PR is this?
Feature

What does this PR do? Why is it needed?
This performs make variable substitution on the values of x_defs.

Context: trying to allow users of a ruleset to customize the tagged version of a binary generated inside the ruleset with a value from a ruleset-defined string flag- this is, to my understanding, the only way to get this string into the analysis context.

Which issues(s) does this PR fix?

Fixes #4308

trying to use this to allow tagging a binary's version with a value from
a string flag- this is, to my understanding, the only way to get this
string into the analysis context.
@fmeum fmeum merged commit d1ff6e2 into bazel-contrib:master Dec 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow x_defs to use make substituion

2 participants