Граф коммитов

47 Коммитов

Автор SHA1 Сообщение Дата
Brian O'Keefe 46b08570d9 Bug 935987 - Part 3: Add preprocessed file support to install manifests; r=gps
--HG--
extra : rebase_source : a6897be53064bd171bd9280735c513c6ff539a4f
2013-12-14 09:46:48 -05:00
Brian O'Keefe 49217e22e3 Bug 935987 - Part 2: Add preprocessed files to mozpack.files; r=gps
--HG--
extra : rebase_source : fe32f92b22aecc82ea1b6d95a5ee43e274a9f8be
2013-11-06 14:46:05 -05:00
Gregory Szorc f54223dbd3 Bug 941245 - Allow FileFinder to ignore patterns; r=glandium
--HG--
extra : rebase_source : 0dd3f11dcf97abc57962e820ede241b82d715624
extra : amend_source : ef75cc5f516ecba0062002c7432e7b257bff5209
2013-11-20 13:12:21 -08:00
Mike Hommey 24410c166c Bug 948275 - Use mozpack.path instead of os.path in mozbuild.frontend and mozbuild.backend modules. r=gps 2013-12-11 15:20:31 +09:00
Gregory Szorc 1357acd2f5 Bug 934739 - Part 2: Add pattern matches to install manifests; r=glandium
This patch adds pattern matching entries to install manifests. We store
metadata necessary to construct a pattern match at a later point in
time. When we convert the install manifest to a file registry, we
resolve the patterns using FileFinder.

The build config logic has been updated to store support-files values as
pattern entries. This should resolve the clobber needed issue and make
the local development experience more pleasant as well.

--HG--
extra : amend_source : 3fe659f7ad6930ef54316b5babac6b83bee240af
2013-12-09 19:02:35 +09:00
Ryan VanderMeulen 2e2e4c92ee Backed out changesets 572624d76edf and 17a5f2e554e8 (bug 934739) for causing bug 947879. 2013-12-09 17:24:14 -05:00
Gregory Szorc 1d2bfcdfb5 Bug 934739 - Part 2b: Fix build bustage; r=glandium on a CLOSED TREE 2013-12-09 19:02:35 +09:00
Gregory Szorc af45120c60 Bug 934739 - Part 2: Add pattern matches to install manifests; r=glandium
This patch adds pattern matching entries to install manifests. We store
metadata necessary to construct a pattern match at a later point in
time. When we convert the install manifest to a file registry, we
resolve the patterns using FileFinder.

The build config logic has been updated to store support-files values as
pattern entries. This should resolve the clobber needed issue and make
the local development experience more pleasant as well.

--HG--
extra : rebase_source : 1a89d397beffb75be6c7fe431003d10924c33cf0
2013-12-09 16:43:55 +09:00
Mike Hommey a470038314 Bug 935305 - Move preprocessor to mozbuild.action. r=gps
--HG--
rename : config/Preprocessor.py => python/mozbuild/mozbuild/preprocessor.py
rename : config/tests/unit-Expression.py => python/mozbuild/mozbuild/test/test_expression.py
rename : config/tests/unit-LineEndings.py => python/mozbuild/mozbuild/test/test_line_endings.py
rename : config/tests/unit-Preprocessor.py => python/mozbuild/mozbuild/test/test_preprocessor.py
2013-11-09 10:35:44 +09:00
Mike Hommey e5c1aa4f98 Bug 934334 - Fix packager's jar chrome formatter to handle resource:// urls. r=gps 2013-11-07 10:37:45 +09:00
Gregory Szorc dbc307f15b Bug 920637 - FileCopier should create destination directory if it doesn't exist; r=glandium 2013-10-04 15:00:39 +02:00
Gregory Szorc e81ac3bb95 Bug 918392 - Handle symlinked directories properly; r=glandium 2013-09-24 10:44:27 -07:00
Gregory Szorc fc5f9d8da3 Bug 911375 - Part 3: Remove PurgeManifest; r=glandium 2013-09-16 17:50:04 -07:00
Gregory Szorc dc124f7efb Bug 911375 - Part 1: Add support for optional existing files; r=glandium 2013-09-03 22:16:47 -07:00
Gregory Szorc 5ab06bd117 Bug 911362 - FileCopier support for not removing unreferenced files; r=glandium 2013-09-03 19:38:07 -07:00
Mike Hommey 9ee3275de6 Bug 893976 - Avoid importing buildconfig globally from mozpack.executables. r=gps 2013-07-30 08:57:28 +09:00
Mike Hommey 6f4872e2a3 Bug 893976 - Use (cached) regular expressions for mozpack.path.match. r=gps 2013-07-30 08:57:27 +09:00
Mike Hommey ddc2207644 Bug 893976 - Allow to skip FileFinder executables detection. r=gps 2013-07-30 08:57:27 +09:00
Gregory Szorc 679bf8971f Bug 890097 - Part 4: Fix unit test for FileCopier; r=bustage 2013-07-23 16:02:59 -07:00
Gregory Szorc 2886864385 Bug 890097 - Part 3: Capture detailed information for FileCopier actions; r=glandium 2013-07-23 14:37:04 -07:00
Gregory Szorc 6811c4223f Bug 890097 - Part 2: InstallManifest class for managing file installs; r=glandium 2013-07-23 14:36:40 -07:00
Gregory Szorc 60c6511cab Bug 890097 - Part 1: Use more Pythonic API for PurgeManifest; r=glandium 2013-07-23 14:35:01 -07:00
Gregory Szorc 2b01dc1c2f Bug 845050 - FileCopier support for symlinks; r=glandium 2013-07-17 11:44:33 -07:00
Gregory Szorc 33fb0579f9 Bug 889678 - Fix mozpack purge manifest tests and bug in version detection code; r=glandium 2013-07-02 22:55:55 -07:00
Gregory Szorc 26b6273c6d Bug 884587 - Part 1: Perform file removal with purge manifests; r=glandium
--HG--
extra : rebase_source : bfe9c0eb27d5b19e26e557af8762bb45c21b949e
2013-06-25 11:04:03 -07:00
Gregory Szorc c8b38d2710 Bug 884587 - Part 0: Teach FileCopier how to remove unwritable files on Windows; r=glandium
--HG--
extra : rebase_source : 2a340802af58159adaf2c11b0928e237c746f699
2013-06-28 14:46:56 -07:00
Nick Alexander af8ed74358 Bug 887121 - Make packager install and szip .so libraries in assets/ directly. r=glandium
This adds a Component type to the mozbuild.mozpack package manifest
parser, and teaches the packager to accept components of the form
[name destdir="dir"].  Then we update the Android package manifest and
simplify the packager code.

I would have liked to make the packager put mozglue.so and
MOZ_CHILD_PROCESS_NAME in lib/$(ABI_DIR) directly, but this turned out
to be awkward.  Since MOZ_CHILD_PROCESS_NAME needs to have lib/ in its
name to load successfully on Android, we would have to add notation in
package manifests to install bin/lib/*plugin-container* to
lib/$(ABI_DIR)/*plugin-container*.
2013-06-28 09:10:57 -07:00
Ehsan Akhgari 86c57d04d0 Backed out 2 changesets (bug 884587) because of Windows build bustage on a CLOSED TREE
Backed out changeset 0244a34bc419 (bug 884587)
Backed out changeset 796961a384b4 (bug 884587)
2013-06-25 16:38:55 -04:00
Gregory Szorc b39bae5dc8 Bug 884587 - Part 1: Perform file removal with purge manifests; r=glandium 2013-06-25 11:04:03 -07:00
Ryan VanderMeulen 66ccaf8f81 Backed out 2 changesets (bug 884587)
Backed out changeset 447ff64adbb1 (bug 884587)
Backed out changeset 8d90527c22c6 (bug 884587)
2013-06-25 15:22:37 -04:00
Gregory Szorc 184599b8bf Bug 884587 - Part 1: Perform file removal with purge manifests; r=glandium 2013-06-25 11:04:03 -07:00
Gregory Szorc 8a5a1dded6 Bug 884569 - Support for removing untracked files from a directory; r=glandium
--HG--
extra : rebase_source : e98fcbf839085ad6bc2e7a8fd3353834557caeec
2013-06-19 19:57:48 -07:00
Mike Hommey a84bb6be55 Bug 871080 - Send chrome manifest entries first to package formatters, before e.g. resource manifest entries. r=gps 2013-05-15 19:22:46 +02:00
Jacek Caban a0eb2d705a Bug 865216 - Recognize exacutables on WINNT in is_executable. r=glandium 2013-04-25 10:02:37 +02:00
Mike Hommey 45116cdee1 Bug 852950 - Use signature sniffing for Elf and Mach-O binaries for dependentlibs.py. r=ted 2013-03-20 20:11:16 +01:00
Mike Hommey 1ea119afac Bug 846740 - Treat chrome searchplugins as non-chrome when doing l10n-repack. r=gps 2013-03-06 07:28:41 +01:00
Mike Hommey 3de3597585 Bug 846740 - Move most l10n-repack code under mozpack.packager, refactor it, and add a unit test. r=gps
--HG--
rename : toolkit/mozapps/installer/l10n-repack.py => python/mozbuild/mozpack/packager/l10n.py
2013-03-06 07:26:32 +01:00
Mike Hommey 026abf6d83 Bug 840094 - Change how nsZipArchive logging works. r=taras,r=gps
Now log in a single file given by the MOZ_JAR_LOG_FILE environment variable.
Log entries contain the URI of the Zip archive, followed by the path in the
archive.
* * *
Bug 840094 - Fixup for debug builds failure because of nsZipArchive::CloseArchive being called several times
2013-02-19 11:02:12 +01:00
Mike Hommey 3923d117c9 Bug 835214 - Avoid re-stripping executables already stripped. r=ted
Also rework UnifiedExecutableFile so that it leaves stripping to ExecutableFile.
2013-02-03 07:20:33 +01:00
Mike Hommey 092a9fa25e Bug 836218 - Always copy files instead of skipping when destination is newer when doing l10n-repacks. r=ted 2013-02-03 07:20:24 +01:00
Mike Hommey 0d5b94986e Bug 835309 - Look at .xpi file contents when unifying them for universal builds. r=gps 2013-02-03 07:19:15 +01:00
Mike Hommey aec48ba2bc Bug 835309 - Fix JarFileReader.readlines() and make flake8 happier. r=gps 2013-02-03 07:18:55 +01:00
Mike Hommey 7a21175d92 Bug 834228 - Force a stage-package to run before buildsymbols on universal builds. r=ted,gps
Also, always strip and elfhack executables, so that running make package after
a PKG_SKIP_STRIP=1 stage-package does strip ; but disable both for l10n-repacks
and unpack.
2013-01-25 00:40:13 +01:00
Mike Hommey 2acffd00d8 Bug 834176 - Use NON_OMNIJAR_FILES value in the new packager. r=gps 2013-01-25 00:38:47 +01:00
Mike Hommey 06559c6867 Bug 833946 - Don't scan the entire tree for a root manifest in the packager. r=gps 2013-01-23 23:49:25 +01:00
Mike Hommey 30605cdec8 Bug 780561 - Unit tests for the new packager code. r=ted,r=gps 2013-01-23 11:23:14 +01:00
Mike Hommey 0151c8b56a Bug 780561 - Import new packager code. r=gps 2013-01-23 11:23:14 +01:00