mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
007a7a25e5
Because this involves affecting the MSVC + Windows SDK packs, we need to do this for toolchain tasks as well as Firefox builds in a single pass. The MSVC + Windows SDK packs are altered to keep the original case instead of lowercasing everything (except .lib files), and contain an overlay file that we now automatically use from the WINSYSROOT. This requires adjusting some paths to match what the original case is, as well as removing everything related to the use of liblowercase, which conflicts with the use of the overlay file. People using liblowercase locally will still have a working setup as long as they don't set WINSYSROOT (it's new, so they won't have it), and don't have an overlay file in there (which they only would if they ran the new pack_vs.py). Differential Revision: https://phabricator.services.mozilla.com/D165596
10 lines
314 B
Plaintext
10 lines
314 B
Plaintext
if [ -z "${VSPATH}" ]; then
|
|
VSPATH="$(cd ${MOZ_FETCHES_DIR} && pwd)/vs"
|
|
fi
|
|
|
|
if [ -d "${VSPATH}" ]; then
|
|
export WIN32_REDIST_DIR=${VSPATH}/VC/Redist/MSVC/14.16.27012/x64/Microsoft.VC141.CRT
|
|
export WIN_UCRT_REDIST_DIR="${VSPATH}/Windows Kits/10/Redist/ucrt/DLLs/x64"
|
|
export WINSYSROOT="${VSPATH}"
|
|
fi
|