2021-05-06 20:11:59 +00:00
|
|
|
startup --windows_enable_symlinks
|
2021-05-06 20:25:21 +00:00
|
|
|
build --enable_runfiles
|
|
|
|
|
|
|
|
# This is needed by cc::windows_registry::find_tool et. al. It calls out into a
|
|
|
|
# MSVC COM DLL used to find MSVC installations, and that apparently relies on
|
|
|
|
# the env var being set. For some reason, just doing --action_env=ProgramData
|
|
|
|
# doesn't work, so we hardcode things to assume that it lives in C:\. We also
|
|
|
|
# pollute non-Windows build envs with this, but whatever.
|
2021-05-08 17:22:17 +00:00
|
|
|
build --action_env=ProgramData=C:\\ProgramData
|
|
|
|
|
|
|
|
# Similar weirdness, but for py_binary called from genrules.
|
|
|
|
build --action_env=SYSTEMROOT=C:\\Windows
|
|
|
|
build --action_env=PATHEXT=".COM;.EXE"
|
|
|
|
build --host_action_env=SYSTEMROOT=C:\\Windows
|
|
|
|
build --host_action_env=PATHEXT=".COM;.EXE"
|