Description of the feature request:
See discussion at https://groups.google.com/g/bazel-discuss/c/XE57LP4keoc
There currently seems to be no way to include an arbitrary file in a cc_library or a cc_binary or similar rule to be available at compilation time.
Sometimes it is necessary, such as when you want to have your options captured in a file, or if you want to use .incbin in assembly compilation.
What underlying problem are you trying to solve with this feature?
No response
Which operating system are you running Bazel on?
No response
What is the output of bazel info release?
No response
If bazel info release returns development version or (@non-git), tell us how you built Bazel.
No response
What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
Description of the feature request:
See discussion at https://groups.google.com/g/bazel-discuss/c/XE57LP4keoc
There currently seems to be no way to include an arbitrary file in a
cc_libraryor acc_binaryor similar rule to be available at compilation time.Sometimes it is necessary, such as when you want to have your options captured in a file, or if you want to use
.incbinin assembly compilation.What underlying problem are you trying to solve with this feature?
No response
Which operating system are you running Bazel on?
No response
What is the output of
bazel info release?No response
If
bazel info releasereturnsdevelopment versionor(@non-git), tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD?No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response