Skip to content

//ll:resolve_rule_inputs.bzl

Resolve the inputs to ll_library and ll_binary rules.

expand_includes

expand_includes(ctx, include_string)

Prefix include_string with the path to the workspace root.

If include_string starts with $(GENERATED), prefixes with theGENDIR path as well.

parameters

Name Description
ctx
include_string

resolve_rule_inputs

resolve_rule_inputs(ctx)

Gather the inputs for downstream actions.

parameters

Name Description
ctx The rule context.

returns

A tuple (hdrs, defines, includes, angled_includes, bmis). See //ll:actions.bzl for usage.