gecko-dev/python
Mitchell Hentges 373ffb5d65 Bug 1550832 - synchronize makefile blacklist with mozbuild variables r=rstewart
As we migrate from makefiles to moz.build, we want to warn developers if
variables only used by moz.build are accidentally defined in a makefile.

This was the purpose of `MOZBUILD_VARIABLES` in recursivemake.py, though it became out-of-date.

This patch defines `MOZBUILD_VARIABLES` off the official list from `mozbuild.frontend.context.VARIABLES`, and
removes unused (?) code from makefiles accordingly

Note that the following variables use to be in `MOZBUILD_VARIABLES`, but aren't there any more because
they aren't in `mozbuild.frontend.context.VARIABLES`:
* CMSRCS
* CMMSRCS
* EXTRA_JS_MODULES
* EXTRA_PP_COMPONENTS
* EXTRA_PP_JS_MODULES
* HOST_CSRCS
* HOST_CMMSRCS
* HOST_EXTRA_LIBS
* JAVA_JAR_TARGETS
* LIBS
* MAKE_FRAMEWORK
* MODULE
* NO_DIST_INSTALL
* NO_INTERFACES_MANIFEST
* PARALLEL_DIRS
* PREF_JS_EXPORTS
* RESOURCE_FILES
* SHARED_LIBRARY_LIBS
* TEST_DIRS
* TOOL_DIRS
* XPCSHELL_TESTS

Differential Revision: https://phabricator.services.mozilla.com/D72076
2020-04-24 14:47:04 +00:00
..
devtools/migrate-l10n
docs
gdbpp/gdbpp Bug 1622868 - Fix ns*String pretty-printers, r=glandium 2020-03-17 04:51:21 +00:00
l10n Bug 1631944 - Add Lockwise as a keyword for login and password preferences. r=jaws,fluent-reviewers 2020-04-21 23:49:21 +00:00
lldbutils Bug 1627398 Part 5 - Support dumping frame trees in CSS pixels for gdb and lldb. r=heycam 2020-04-07 23:42:38 +00:00
mach Bug 1628838 - Fix mach python on Windows by unsetting PYTHONUNBUFFERED. r=glandium 2020-04-21 14:07:19 +00:00
mozboot Bug 1631382 - Update the Gentoo |mach bootstrap| implementation r=glandium 2020-04-23 08:09:37 +00:00
mozbuild Bug 1550832 - synchronize makefile blacklist with mozbuild variables r=rstewart 2020-04-24 14:47:04 +00:00
mozlint Bug 1626104 - Change mach lint --config-path to be relative to topsrcdir. r=linter-reviewers,ahal 2020-03-31 19:41:22 +00:00
mozperftest Bug 1632404 - added missing error logger r=sparky 2020-04-23 21:46:49 +00:00
mozrelease Bug 1611465 - Remove references to cmp() function and __cmp__ method in mozbuild r=firefox-build-system-reviewers,mshal 2020-01-30 13:15:24 +00:00
mozterm
mozversioncontrol Bug 1630668 - Fix incompatible type signatures in subclasses of Repository r=dmajor 2020-04-16 17:07:19 +00:00
safety Bug 1619930 Update python-safety dependencies r=mtabara 2020-03-05 13:48:16 +00:00
mach_commands.py Bug 1628838 - Fix mach python on Windows by unsetting PYTHONUNBUFFERED. r=glandium 2020-04-21 14:07:19 +00:00
moz.build Bug 1631596 - Fix the setup step in the browsertime layer r=acreskey 2020-04-21 08:26:02 +00:00
README

This directory contains common Python code.

The basic rule is that if Python code is cross-module (that's "module" in the
Mozilla meaning - as in "module ownership") and is MPL-compatible, it should
go here.

What should not go here:

* Vendored python modules (use third_party/python instead)
* Python that is not MPL-compatible (see other-licenses/)
* Python that has good reason to remain close to its "owning" (Mozilla)
  module (e.g. it is only being consumed from there).

Historical information can be found at
https://bugzilla.mozilla.org/show_bug.cgi?id=775243
https://bugzilla.mozilla.org/show_bug.cgi?id=1346025