зеркало из https://github.com/mozilla/gecko-dev.git
2fddbb74c5
This makes the types from mozbuild.configure.constants repr()-able, and repr()-ed in config.status, which, when processing moz.build, translates into value checking for comparison tests involving the variables. To make them pickable, though, we replace the use of EnumString.subclass with actual subclassing, which is a little less convenient, but avoids having to figure out how to make the classes EnumString.subclass creates pickable. This caught some mismatches in media/libpng and third_party/libsrtp. This also means we don't need to normalize the config before dumping it in config.status, because the only types that this was actually useful for are these (historically, we'd also turn byte strings into unicode strings but that hasn't been a thing for 4 years ; the special treatment of dicts and iterables was there to apply the normalization recursively, not to normalize dicts and iterables themselves). We still normalization before passing values to gyp, though. Differential Revision: https://phabricator.services.mozilla.com/D182141 |
||
---|---|---|
.. | ||
android-ndk.configure | ||
android-sdk.configure | ||
arm.configure | ||
bindgen.configure | ||
bootstrap.configure | ||
checks.configure | ||
compile-checks.configure | ||
compilers-util.configure | ||
flags.configure | ||
headers.configure | ||
init.configure | ||
java.configure | ||
keyfiles.configure | ||
lto-pgo.configure | ||
memory.configure | ||
node.configure | ||
nspr.configure | ||
nss.configure | ||
old.configure | ||
pkg.configure | ||
rust.configure | ||
toolchain.configure | ||
update-programs.configure | ||
util.configure | ||
warnings.configure | ||
windows.configure |