• Martin Thomson's avatar
    Bug 1434943 - Support for MSVC in build.sh, r=jcj · 5bab67bd
    Martin Thomson authored
    Summary:
    This adds basic support for MSVC to build.sh.  It uses the registry and vswhere
    (which is part of the standard mozilla-build setup now) to work out paths and
    set them properly.  It's probably a little fragile, but it's better than the
    shoestring and tape we have in builds right now.
    
    I took the liberty of sanitizing the command-line options a little here.  Mostly
    that is sorting them, but I also deprecated the -m32 option in favour of
    specifying target architecture with -t.  That turned out to be a lot cleaner.
    
    Reviewers: jcj
    
    Reviewed By: jcj
    
    Bug #: 1434943
    
    Differential Revision: https://phabricator.services.mozilla.com/D5125
    
    --HG--
    extra : rebase_source : 54465a06808f1164e31094773930831b8bb7e20b
    extra : amend_source : f89a25ab6ab7b95fa6d54b8d55ebee88ec1dcc65
    5bab67bd
Name
Last commit
Last update
automation Loading commit data...
cmd Loading commit data...
coreconf Loading commit data...
cpputil Loading commit data...
doc Loading commit data...
fuzz Loading commit data...
gtests Loading commit data...
lib Loading commit data...
nss-tool Loading commit data...
pkg Loading commit data...
tests Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
.sancov-blacklist Loading commit data...
.taskcluster.yml Loading commit data...
COPYING Loading commit data...
Makefile Loading commit data...
build.sh Loading commit data...
exports.gyp Loading commit data...
help.txt Loading commit data...
mach Loading commit data...
manifest.mn Loading commit data...
nss.gyp Loading commit data...
readme.md Loading commit data...
trademarks.txt Loading commit data...