Skip to content

//ll:environment.bzl

Environment variables for use in compile and link actions.

compile_object_environment

compile_object_environment(ctx)

Set environment variables for compile and link actions.

For end users this depends on compilation_mode in the ll_library and ll_binary rules.

parameters

Name Description
ctx The rule context.

returns

A dict for use in the environment of an action.