Lines Matching full:toolchain
20 toolchain = ctx.toolchains[ctx.attr._toolchain]
26 if toolchain.py3_runtime and toolchain.py3_runtime.interpreter:
27 direct.append(toolchain.py3_runtime.interpreter)
28 transitive.append(toolchain.py3_runtime.files)
29 vars["PYTHON3"] = toolchain.py3_runtime.interpreter.path
31 if toolchain.py2_runtime and toolchain.py2_runtime.interpreter:
32 direct.append(toolchain.py2_runtime.interpreter)
33 transitive.append(toolchain.py2_runtime.files)
34 vars["PYTHON2"] = toolchain.py2_runtime.interpreter.path
38 toolchain,
48 … This rule exists so that the current python toolchain can be used in the `toolchains` attribute of
49 … other rules, such as genrule. It allows exposing a python toolchain after toolchain resolution has
50 happened, to a rule which expects a concrete implementation of a toolchain, rather than a
51 toolchain_type which could be resolved to that toolchain.