Documentation Index
Fetch the complete documentation index at: https://docs.aspect.build/llms.txt
Use this file to discover all available pages before exploring further.
Documentation for @bazel_lib@v3.2.0 — View source
Function: params_file
Generates a UTF-8 encoded params file from a list of arguments.
Handles variable substitutions for args.
Parameters
Name of the rule.
Path of the output file, relative to this package.
Arguments to concatenate into a params file.
- Subject to ‘Make variable’ substitution. See https://docs.bazel.build/versions/main/be/make-variables.html.
-
Subject to predefined source/output path variables substitutions.
The predefined variables
execpath,execpaths,rootpath,rootpaths,location, andlocationstake label parameters (e.g.$(execpath //foo:bar)) and substitute the file paths denoted by that label. See https://docs.bazel.build/versions/main/be/make-variables.html#predefined_label_variables for more info. NB: This $(location) substitution returns the manifest file path which differs from the*_binary&*_testargs and genrule bazel substitutions. This will be fixed in a future major release. See docs string ofexpand_location_into_runfilesmacro ininternal/common/expand_into_runfiles.bzlfor more info. -
Subject to predefined variables & custom variable substitutions.
Predefined “Make” variables such as
$(COMPILATION_MODE)and$(TARGET_CPU)are expanded. See https://docs.bazel.build/versions/main/be/make-variables.html#predefined_variables. Custom variables are also expanded including variables set through the Bazel CLI with--define=SOME_VAR=SOME_VALUE. See https://docs.bazel.build/versions/main/be/make-variables.html#custom_variables. Predefined genrule variables are not supported in this context.
Data for
$(location) expansions in args.Line endings to use. One of [
"auto", "unix", "windows"]."auto"for platform-determined"unix"for LF"windows"for CRLF
undocumented named arguments

