Commit Graph

1755 Commits

Author SHA1 Message Date
Nick Alexander
4381410f4e Bug 1234912 - Check for mozext and pushlog entries after |mach artifact install| hg failure. r=gps
Pushing on a CLOSED TREE after network errors.
2016-01-06 21:19:49 -08:00
Nick Alexander
ec8d5d4363 Bug 1236110 - Extend mach artifact to handle Linux Desktop builds. r=gps 2016-01-06 20:15:21 -08:00
Gijs Kruitbosch
14e47fe984 Bug 1236111 - part 4: actually add Windows support to artifact code, r=nalexander,gps 2016-01-05 14:58:22 +00:00
Gijs Kruitbosch
772ee51b3b Bug 1236111 - part 3: ensure calls to hg and mach work on Windows, and that we use the right file mode when writing artifacts, r=nalexander,gps 2016-01-05 14:57:24 +00:00
Gijs Kruitbosch
bf3b4761df Bug 1236111 - part 2: fix mozbuild to use the file mode modifiers specified for opening when writing a FileAvoidWrite, r=gps,nalexander 2016-01-05 14:46:24 +00:00
Gijs Kruitbosch
14c17987f8 Bug 1236111 - part 0: improve logging from process mixin, r=gps 2016-01-05 11:13:05 +00:00
Richard Newman
796d08255a Bug 1237342 - Drop support for Android API 14 from Firefox builds. r=nalexander 2016-01-06 10:43:46 -08:00
Mike Hommey
71fcc5fb34 Bug 1235109 - Remove support for -I in preprocessor and jar maker. r=gps
The last use for this option was removed in bug 1235108.
2016-01-05 20:03:43 +09:00
Mike Hommey
b7f8c74e13 Bug 1235935 - Backout changeset 5a6ef68947e7 from bug 1235738 to enable debug flags in HOST_C{,XX}FLAGS. r=me 2016-01-05 20:03:43 +09:00
Henrik Skupin
df7f39ccdf Bug 1212609 - Add common test package rules for firefox-ui-tests. r=gps 2016-01-04 22:13:43 +01:00
Ryan VanderMeulen
f0dc54f9b2 Merge inbound to m-c. a=merge 2016-01-01 19:29:16 -05:00
Richard Newman
2db8cb4373 Bug 1062537 - Pre: correct comments in android_version_code.py. 2015-12-31 19:32:41 -08:00
Richard Newman
1703a86eeb Bug 1155801 - Part 4: miscellaneous SDK_INT bumps. 2015-12-30 18:59:17 -08:00
Richard Newman
79731e20f8 Bug 1155801 - Part 2: bump Android version code computation check. r=nalexander 2015-12-30 18:59:17 -08:00
Nick Alexander
2b50b0bfc8 Bug 1207890 - Follow-up: Fix |mach artifact install| for mobile/android. r=me
DONTBUILD NPOTB
2015-12-31 15:38:13 -08:00
Nigel Babu
24189e0790 Backed out changeset 991a5607ee54 (bug 1155801) 2015-12-31 13:57:30 +05:30
Nigel Babu
7b70c6579b Backed out changeset 06a75f114c31 (bug 1155801) 2015-12-31 13:57:25 +05:30
Nick Alexander
739dba97dd Bug 1216817 - Follow-up: Fix "KeyError: uMOZ_ARTIFACT_BUILDS" in config.status. r=bustage 2015-12-30 21:18:14 -08:00
Nick Alexander
14d47b9150 Bug 1216817 - Follow-up: Fix "KeyError: u'MOZ_ARTIFACT_BUILDS'". r=bustage 2015-12-30 21:07:20 -08:00
Nick Alexander
314b5bd1e1 Bug 1207890 - Post: Hack to make |mach run| for Mac OS X artifact builds. r=me 2015-12-30 20:16:23 -08:00
Nick Alexander
bc6c4ce1f8 Bug 1207890 - Post: Move |mach artifact| command out of mobile/android. r=glandium 2015-12-23 17:08:49 -08:00
Nick Alexander
442044f1ce Bug 1207890 - Part 4: Download and process Mac OS X artifacts. r=glandium
This mounts the downloaded DMG and copies a subset of the libraries
into the correct places in the processed archive.  They'll be
installed, with paths, into dist/bin from there.
2015-12-23 16:41:17 -08:00
Nick Alexander
2dde88d04f Bug 1207890 - Part 3: Post-process downloaded artifacts. r=glandium
For Android, this just copies .so files from the APK assets/ and libs/
directories into the root, which ends up in dist/bin.

I include .ini files as a partial replacement for having the build ID
in the downloaded file name, and then don't put the .ini files in
dist/bin.
2015-11-24 20:42:35 -08:00
Nick Alexander
6d3cddf04a Bug 1207890 - Part 2: Stop extracting build ID from artifacts. r=glandium
Sadly, it's slow to extract the build ID from Mac OS X DMG artifacts.
It's better to sacrifice human-legible names in order to know the
final name for an artifact quickly.
2015-11-24 16:30:38 -08:00
Nick Alexander
7ff4718c02 Bug 1207890 - Part 1: Add rich ArtifactJob extension point. r=glandium 2015-11-24 15:48:57 -08:00
Nick Alexander
479740984d Bug 1207890 - Pre: Make JarWriter handle inputs with read() but not seek(). r=glandium 2015-12-23 16:05:34 -08:00
Nick Alexander
9c7c7fa119 Bug 1216817 - Part 5: Run |mach artifact install| automatically when asked. r=glandium
It turns out to be much easier to hook |mach artifact install| into
config.status and |mach build| than to hook into client.mk.

The additional virtualenv package avoids an import error when running
|mach artifact install|.
2015-12-23 14:25:37 -08:00
Nick Alexander
fd3081e979 Bug 1216817 - Part 2: Narrow distdir to bindir in artifacts. r=gps 2015-10-30 12:30:35 -07:00
Nick Alexander
8ec01a9dbf Bug 1216817 - Part 1: Add install_callback to artifacts. r=gps 2015-10-30 13:35:13 -07:00
Richard Newman
9048cb803e Bug 1155801 - Part 4: miscellaneous SDK_INT bumps. 2015-12-30 18:59:17 -08:00
Richard Newman
826184bee0 Bug 1155801 - Part 2: bump Android version code computation check. r=nalexander 2015-12-30 18:59:17 -08:00
Shane Caraveo
6d58cc3ee1 Bug 1215694 move pocket to a system addon, r=Gijs, r=glandium
part 1: reorganize file locations, r=Gijs
  part 2: remove built-in pocket code, r=Gijs
  part 3: l10n support, r=glandium
  part 4: move code/functionality from part 2 into the addon, r=Gijs
  part 5: remove dead code, r=Gijs
  part 6: create a simple api for addons to add to reader mode, r=Gijs
  part 7: various test fixes related to cui behaviour and pocket, r=me
2015-12-29 15:40:52 -08:00
Andreas Tolfsen
1a37c6fe90 Bug 1234612: Print path when failing to create virtualenv r=gps
r=gps
2015-12-30 11:33:36 +00:00
Gregory Szorc
e4db34b0b1 Bug 1234954 - Use LooseVersion for parsing Mercurial version; r=me
StrictVersion is strict about version strings, insisting on whatever
convention Python uses. LooseVersion is not as strict but is strict
enough for our use cases.

DONTBUILD (NPOTB)
2015-12-31 16:14:20 -08:00
Gregory Szorc
1d69ec9e52 Bug 1235921 - Update modern Mercurial version to 3.5.2; r=me
3.5.2 is what is listed in `mach mercurial-setup`. These should match.
Add a comment to each file saying to change both.
2015-12-31 16:01:48 -08:00
Mike Hommey
239113097d Bug 1235738 - Fixup: it turns out we weren't passing debug flags in HOST_C{,XX}FLAGS before. r=me 2015-12-31 09:19:12 +09:00
Mike Hommey
122ab4c005 Bug 1235733 - Use absolute paths for include paths. r=gps
Limit ourselves to include paths for now, because there are tricky things
involved in making this globally.

While here, use shell_quote instead of manual quoting for those paths.
2015-12-31 08:10:02 +09:00
Mike Hommey
4a118ce019 Bug 1235676 - Add a topobjdir variable to all Makefiles. r=mshal 2015-12-31 08:10:02 +09:00
Mike Hommey
ae5d5c69e8 Bug 1235748 - Stop post-processing include flags for CompileDB and codecomplete. r=gps
With all include flags now using absolute paths, there is no need to try
to post-process them when getting them for CompileDB and codecomplete.
As a matter of fact, doing so fixes the flags in media/gmp-clearkey/0.1,
since they use literal "-include stdio.h", which was wrongly transformed
into "-include $objdir/media/gmp-clearkey/0.1/stdio.h".
2015-12-31 07:37:01 +09:00
Mike Hommey
b91998dd78 Bug 1235739 - Move DEFINES quoting from frontend to backend. r=gps 2015-12-31 07:34:51 +09:00
Mike Hommey
98b4b3d46f Bug 1235738 - Simplify MOZ_DEBUG_DEFINES. r=gps
Now that it's not directly used in command lines, it can just become a list
of symbols that ought to be defined. This simplifies all the uses of it.
2015-12-31 07:28:05 +09:00
Mike Hommey
0c3d01c934 Bug 1235738 - Move MOZ_DEBUG_DEFINES to build frontend. r=gps
MOZ_DEBUG_DEFINES are essentially defines used everywhere. So treat them as
feeding the initial value for DEFINES in each moz.build sandbox. This allows
the kind overrides that was done in the past by resetting MOZ_DEBUG_DEFINES
in Makefiles.
2015-12-31 07:27:23 +09:00
Mike Hommey
781bc7ed3a Bug 1235132 - Remove convert_def_file.py. r=gps 2015-12-31 07:22:18 +09:00
Mike Hommey
84bdf4908c Bug 1235132 - Add support for a more-or-less cross-platform symbols file. r=gps
Currently, one needs to define DEFFILE or LD_VERSION_SCRIPT appropriately,
and somehow deal with the fact that their input format is different, which
currently relies on manual invocations of the convert_def_file script, with
awkward aggregations.

This simplifies the problem by using a simple list of symbols, with
preprocessing, allowing #includes.
2015-12-31 07:22:04 +09:00
Mike Hommey
0ff76be786 Bug 1235117 - Add input file to the depfile emitted by process_define_files. r=mshal 2015-12-31 07:16:56 +09:00
Mike Hommey
161678e759 Bug 1235021 - Move FasterMakeBackend._consume_jar_manifest to CommonBackend. r=gps
And do some import cleanup at the same time.
2015-12-31 07:06:11 +09:00
Mike Hommey
a459628a72 Bug 1235021 - Avoid passing defines to FasterMakeBackend._consume_jar_manifest. r=gps
We want to move it to CommonBackend, so it's better to make it more
independent, which the Defines instances now attached to ContextDerived
instances allow.
2015-12-31 07:06:11 +09:00
Mike Hommey
285d011263 Bug 1235021 - Re-emit FinalTarget{,Preprocessed}Files from the jar manifest handler code in the FasterMake backend. r=gps
Like with ChromeManifestEntries, reloop in consume_object, with the double
goal of allowing to reuse the jar manifest handler code in other backends
and avoid code duplication in the FasterMake backend itself when support
for e.g. GeneratedFiles is added.
2015-12-31 07:06:11 +09:00
Mike Hommey
30c8e6ef28 Bug 1235021 - Re-emit ChromeManifestEntries from the jar manifest handler code in the FasterMake backend. r=gps
Instead of filling the install manifests accordingly, reloop in
consume_object, so that the jar manifest handler code can eventually
be reused in other backends.
2015-12-31 07:06:11 +09:00
Mike Hommey
88155a279f Bug 1235021 - Add a RenamedSourcePath helper class. r=gps
This class will be used to represent files that are copied with a different
name, which we have plenty of in jar manifests.
2015-12-31 07:06:11 +09:00