gecko-dev/python
Mike Hommey baba0e3cec Bug 1529894 - Change jar log content. r=aklotz,chmanchester
The jar log is used for optimization of the packaged jar files according
to their usage patterns during a profile run. The current content of the
file currently come with 2 caveats:
- it contains entries for jar archives that aren't relevant to
  packaging, which is not a problem in itself, but see below.
- it contains full paths for jar archives that may not correspond to the
  location of the packaged directory (on e.g. Android, where the build
  almost certainly doesn't happen in the same directory on the host as
  Fennec runs in the emulator/on the device).

The current JarLog code does somehow handle the various ways paths are
currently presented, but it's clearly missing code to map the paths in
the log to packaged paths. Instead of requiring manual work and extra
build options to handle this mapping, and considering the caveats above,
it's just simpler to log archive paths as if they were relative to the
packaged application directory in a build, and use that during
packaging.

Depends on D21655

Differential Revision: https://phabricator.services.mozilla.com/D21656

--HG--
extra : moz-landing-system : lando
2019-03-07 20:46:52 +00:00
..
devtools/migrate-l10n
docs Bug 1490253 - Update documentation on vendoring Python packages based on switch to pip-tools; r=ahal 2018-10-15 13:36:30 +00:00
l10n/fluent_migrations Backed out changeset 40ddf7d53eaa (bug 1517528) for flake8 failures 2019-03-01 11:42:02 +01:00
mach Bug 1513951 - [mach] Fix error handling bug in config.py r=gbrown 2019-02-28 18:03:47 +00:00
mozboot Bug 1529431 - Remove --with-android-sdk from mozconfig example by ./mach bootstrap. r=nalexander 2019-02-26 17:41:38 +00:00
mozbuild Bug 1529894 - Change jar log content. r=aklotz,chmanchester 2019-03-07 20:46:52 +00:00
mozlint Bug 1530352, add lintargs to lint setup, r=ahal 2019-03-05 16:15:03 +00:00
mozrelease Backed out 4 changesets (bug 1508381) for multiple Windows build bustages CLOSED TREE 2019-01-31 23:14:11 +02:00
mozterm
mozversioncontrol Bug 1515261 - [mozversioncontrol] Fix unicode env string on Windows, r=sheehan 2019-01-07 16:26:49 +00:00
safety
README
mach_commands.py bug 1505205 - don't write telemetry for recursive mach command invocations. r=firefox-build-system-reviewers,chmanchester 2018-11-10 19:04:30 +00:00
moz.build Bug 1508248 - Update in-tree bugzilla metadata to use 'Firefox Build System :: Mach Core' for mach files r=froydnj 2018-11-19 13:35:14 +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