build_setting parameter of the rule() function. Specifically it is a build setting of type int and is a flag which means this build setting is callable on the command line.
Members
bool
Parameters
exec
Parameters
int
Parameters
none
string
Parameters
string_list
--//my/setting=foo,bar.
Parameters
string_set
--//my/setting=foo,bar.
Unlike with a string_list, the order of the elements doesn’t matter and only a single instance of each element is maintained. This is recommended over string_list for flags where these properties are not needed as it can improve build performance by avoiding unnecessary configurations forking.
Parameters
target
cfg = "target" in attr.label().