mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
d747b65211
Windows programs run via Wine don't like Unix absolute paths (they look like command line arguments), so we need to use relative paths. Mingw already run fxc2 via wine, but for some reason it doesn't care about the Unix absolute paths. genshaders does need some adjustements to run properly with the real fxc. Now, on actual Windows, because the temporary directory where tempfile.NamedTemporaryFile creates files by default is not necessarily on the same drive as where the command runs from, a relative path can't be constructed. So we also force the temporary file to be created in the current (obj) directory. There is no similar concern for other files because we only go from objdir to srcdir, and the build system already doesn't support both being on a separate drive. While here, flush stdout when the genshared script writes to it, so that the messages are printed out immediately rather than randomly, later, after output from subprocesses. Differential Revision: https://phabricator.services.mozilla.com/D64294 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
external | ||
faster | ||
makefiles | ||
Moz | ||
mozunit | ||
tests | ||
AB_rCD.mk | ||
autoconf-js.mk.in | ||
autoconf.mk.in | ||
baseconfig.mk | ||
check_js_msg_encoding.py | ||
check_js_opcode.py | ||
check_macroassembler_style.py | ||
check_source_count.py | ||
check_spidermonkey_style.py | ||
check_vanilla_allocations.py | ||
config.mk | ||
createprecomplete.py | ||
emptyvars-js.mk.in | ||
emptyvars.mk.in | ||
gcc_hidden.h | ||
gcc-stl-wrapper.template.h | ||
install.bat | ||
make-stl-wrappers.py | ||
make-system-wrappers.py | ||
make-windows-h-wrapper.py | ||
Makefile.in | ||
milestone.txt | ||
moz.build | ||
MozZipFile.py | ||
msvc-stl-wrapper.template.h | ||
nsinstall.c | ||
nsinstall.py | ||
pathsub.c | ||
pathsub.h | ||
printconfigsetting.py | ||
printprereleasesuffix.py | ||
pythonpath.py | ||
rebuild_check.py | ||
recurse.mk | ||
rules.mk | ||
run_spidermonkey_checks.py | ||
run-and-prefix.py | ||
static-checking-config.mk | ||
stl-headers.mozbuild | ||
system_header_util.py | ||
system-headers.mozbuild | ||
version_win.pl | ||
version.mk | ||
windows-h-constant.decls.h | ||
windows-h-unicode.decls.h | ||
windows-h-wrapper.template.h |