Documentation

configuration

Data required for the analysis of a target that comes from targets that depend on it and not targets that it depends on.

coverage_enabled

bool configuration.coverage_enabled

A boolean that tells whether code coverage is enabled for this run. Note that this does not compute whether a specific rule should be instrumented for code coverage data collection. For that, see the ctx.coverage_instrumented function.

default_shell_env

dict configuration.default_shell_env

A dictionary representing the static local shell environment. It maps variables to their values (strings).

host_path_separator

string configuration.host_path_separator

Returns the separator for PATH environment variable, which is ':' on Unix.

test_env

dict configuration.test_env

A dictionary containing user-specified test environment variables and their values, as set by the --test_env options.