mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
587be1cb03
Differential Revision: https://phabricator.services.mozilla.com/D64298 --HG-- extra : moz-landing-system : lando
15 lines
490 B
Plaintext
15 lines
490 B
Plaintext
if [ -z "${VSPATH}" ]; then
|
|
TOOLTOOL_DIR=${TOOLTOOL_DIR:-$topsrcdir}
|
|
VSPATH="$(cd ${TOOLTOOL_DIR} && pwd)/vs2017_15.8.4"
|
|
fi
|
|
|
|
if [ -d "${VSPATH}" ]; then
|
|
VSWINPATH="$(cd ${VSPATH} && (pwd -W 2>/dev/null || pwd))"
|
|
|
|
export WINDOWSSDKDIR="${VSWINPATH}/SDK"
|
|
export WIN32_REDIST_DIR=${VSPATH}/VC/redist/x64/Microsoft.VC141.CRT
|
|
export WIN_UCRT_REDIST_DIR="${VSPATH}/SDK/Redist/ucrt/DLLs/x64"
|
|
export DIA_SDK_PATH="${VSPATH}/DIA SDK"
|
|
export VC_PATH="${VSPATH}/VC"
|
|
fi
|