r?sfink - Update js/src/devtools/automation/winbuildenv.sh. draft
authorJeff Gilbert <jdashg@gmail.com>
Wed, 13 Apr 2016 16:56:56 -0700
changeset 352958 d53b447712d101ad9c42f47fc2711a85c669d94a
parent 352957 049039ba036416d2123b293a36daade2e8945687
child 352959 6537a13da3c7d67d8791cfafa3005f7e8cc7c5bb
push id15852
push userjgilbert@mozilla.com
push dateTue, 19 Apr 2016 02:38:43 +0000
milestone48.0a1
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
js/src/devtools/automation/winbuildenv.sh
--- 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/}