зеркало из https://github.com/mozilla/gecko-dev.git
13aa77e4a5
Dictionary iteration under Python 3 is in an inherently unpredictable order, and while we try to keep DEFINES ordered through the use of OrderedDicts, if at any point we populate DEFINES directly or indirectly while iterating through the contents of a non-ordered dictionary, the order of the DEFINES (and therefore the contents of the output Makefile) will be nondeterministic as well. This patch makes a number of changes to ensure that we only ever populate DEFINES in a deterministic fashion. (Note that in Python 3.7 and later, the built-in dict class actually has deterministic ordering, so these changes are technically only necessary until our minimum Python version becomes 3.7.) Differential Revision: https://phabricator.services.mozilla.com/D66089 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
Moz | ||
external | ||
faster | ||
makefiles | ||
mozunit | ||
tests | ||
AB_rCD.mk | ||
Makefile.in | ||
MozZipFile.py | ||
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-stl-wrapper.template.h | ||
gcc_hidden.h | ||
install.bat | ||
make-stl-wrappers.py | ||
make-system-wrappers.py | ||
make-windows-h-wrapper.py | ||
milestone.txt | ||
moz.build | ||
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-and-prefix.py | ||
run_spidermonkey_checks.py | ||
static-checking-config.mk | ||
stl-headers.mozbuild | ||
system-headers.mozbuild | ||
version.mk | ||
version_win.pl | ||
windows-h-constant.decls.h | ||
windows-h-unicode.decls.h | ||
windows-h-wrapper.template.h |