r?sfink - Update js/src/devtools/automation/winbuildenv.sh.
draft
r?sfink - Update js/src/devtools/automation/winbuildenv.sh.
From 4db2631f1107fd2e3c3ee3e71ea28fe23fc97e16 Mon Sep 17 00:00:00 2001
---
js/src/devtools/automation/winbuildenv.sh | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
MozReview-Commit-ID: Hl3z3GsdtpY
--- a/js/src/devtools/automation/winbuildenv.sh
+++ b/js/src/devtools/automation/winbuildenv.sh
@@ -14,24 +14,20 @@ VSPATH="$(cd ${topsrcdir}/.. && pwd)/vs2
# When running on a developer machine, several variables will already
# have the right settings and we will need to keep them since the
# Windows mozconfigs overwrite them.
export OLD_INCLUDE=$(IFS=';'; for d in $INCLUDE; do ( cd "$d" && echo -n $(pwd): ); done)
export OLD_LIB=$(IFS=';'; for d in $LIB; do ( cd "$d" && echo -n $(pwd): ); done)
export OLD_LIBPATH=$(IFS=';'; for d in $LIBPATH; do ( cd "$d" && echo -n $(pwd): ); done)
-# The various browser/config/mozconfigs/win32/* files use these checks to pick
-# the compiler.
if $USE_64BIT; then
- . $topsrcdir/build/win64/mozconfig.vs2015
-elif test "$PROCESSOR_ARCHITECTURE" = "AMD64" -o "$PROCESSOR_ARCHITEW6432" = "AMD64"; then
- . $topsrcdir/build/win32/mozconfig.vs2015-win64
+ . $topsrcdir/build/win64/mozconfig.vs-latest
else
- . $topsrcdir/build/win32/mozconfig.vs2015
+ . $topsrcdir/build/win32/mozconfig.vs-latest
fi
# PATH also needs to point to mozmake.exe, which can come from either
# newer mozilla-build or tooltool.
if ! which mozmake 2>/dev/null; then
export PATH="$PATH:$SOURCE/.."
if ! which mozmake 2>/dev/null; then
TT_SERVER=${TT_SERVER:-https://api.pub.build.mozilla.org/tooltool/}