## selects.with_or selects.with_or(input_dict, no_match_error) Drop-in replacement for `select()` that supports ORed keys. Example: ```build deps = selects.with_or({ "//configs:one": [":dep1"], ("//configs:two", "//configs:three"): [":dep2or3"], "//configs:four": [":dep4"], "//conditions:default": [":default"] }) ``` Key labels may appear at most once anywhere in the input. ### Parameters
selects.with_or(input_dict, no_match_error)
input_dict
The same dictionary `select()` takes, except keys may take either the usual form `"//foo:config1"` or `("//foo:config1", "//foo:config2", ...)` to signify `//foo:config1` OR `//foo:config2` OR `...`.
no_match_error
""
Optional custom error to report if no condition matches.
selects.with_or_dict(input_dict)
Same as `with_or`.
selects.config_setting_group(name, match_any, match_all)
name
The group's name. This is how `select()`s reference it.
match_any
[]
A list of `config_settings`. This group matches if *any* member in the list matches. If this is set, `match_all` must not be set.
match_all
A list of `config_settings`. This group matches if *every* member in the list matches. If this is set, `match_any` must be not set.