gecko-dev/modules/libjar
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
..
test Bug 1525319 - Removing context from OnDataAvailable r=valentin 2019-02-27 23:42:27 +00:00
zipwriter Bug 1525319 - Removing context from OnDataAvailable r=valentin 2019-02-27 23:42:27 +00:00
appnote.txt
components.conf Bug 1524687: Part 5 - Convert JAR module to static registration. r=valentin 2019-01-24 15:49:33 -08:00
moz.build Bug 1530685 - Part 3: Remove nsIJARProtocolHandler; r=valentin 2019-02-26 15:29:37 +00:00
nsIJARChannel.idl
nsIJARURI.idl Bug 1530685 - Part 1: Remove unused nsIJARURI::cloneWithJARFile() method; r=valentin 2019-02-26 15:28:18 +00:00
nsIZipReader.idl
nsJAR.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
nsJAR.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
nsJARChannel.cpp Bug 1525319 - Removing context from OnDataAvailable r=valentin 2019-02-27 23:42:27 +00:00
nsJARChannel.h Bug 1520868 - Replacing AsyncOpen2 with AsyncOpen always r=valentin 2019-02-12 16:08:25 +00:00
nsJARInputStream.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
nsJARInputStream.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsJARProtocolHandler.cpp Bug 1530685 - Part 3: Remove nsIJARProtocolHandler; r=valentin 2019-02-26 15:29:37 +00:00
nsJARProtocolHandler.h Bug 1530685 - Part 3: Remove nsIJARProtocolHandler; r=valentin 2019-02-26 15:29:37 +00:00
nsJARURI.cpp Bug 1523969 part 17 - Move method definition inline comments to new line in 'modules/'. r=ehsan 2019-02-25 16:10:36 -06:00
nsJARURI.h Bug 1530685 - Part 1: Remove unused nsIJARURI::cloneWithJARFile() method; r=valentin 2019-02-26 15:28:18 +00:00
nsZipArchive.cpp Bug 1529894 - Change jar log content. r=aklotz,chmanchester 2019-03-07 20:46:52 +00:00
nsZipArchive.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
zipstruct.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00