xref: /aosp_15_r20/external/bazelbuild-rules_python/docs/api/rules_python/tools/precompiler/index.md (revision 60517a1edbc8ecf509223e9af94a7adec7d736b8)
1:::{bzl:currentfile} //tools/precompiler:BUILD.bazel
2:::
3
4# //tools/precompiler
5
6:::{bzl:flag} execution_requirements
7Determines the execution requirements `//tools/precompiler:precompiler` uses.
8
9This is a repeatable string_list flag. The values are `key=value` entries, each
10of which are added to the execution requirements for the `PyCompile` action to
11generate pyc files.
12
13Customizing this flag mostly allows controlling whether Bazel runs the
14precompiler as a regular worker, persistent worker, or regular action.
15:::
16