2.9 KiB
2.9 KiB
params_file public API
params_file
params_file(name, out, args, data, newline, kwargs)
Generates a UTF-8 encoded params file from a list of arguments.
Handles variable substitutions for args.
Parameters
Name | Description | Default Value |
---|---|---|
name | Name of the rule. | none |
out | Path of the output file, relative to this package. | none |
args | 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 , and locations take label parameters (e.g.
|
[] |
data | Data for $(location) expansions in args. |
[] |
newline | Line endings to use. One of ["auto" , "unix" , "windows" ].- "auto" for platform-determined - "unix" for LF - "windows" for CRLF |
"auto" |
kwargs | undocumented named arguments | none |