зеркало из https://github.com/mozilla/gecko-dev.git
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 |
||
---|---|---|
.. | ||
extension | ||
other | ||
win | ||
DocAccessibleChildBase.cpp | ||
DocAccessibleChildBase.h | ||
DocAccessibleParent.cpp | ||
DocAccessibleParent.h | ||
IPCTypes.h | ||
ProxyAccessibleBase.cpp | ||
ProxyAccessibleBase.h | ||
ProxyAccessibleShared.h | ||
moz.build |