Commit Graph
2424 Commits
Author SHA1 Message Date
Mike Hommey 1392c8cc52 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 b28795cad2 Bug 1212609 - Add common test package rules for firefox-ui-tests. r=gps 2016-01-04 22:13:43 +01:00
Ryan VanderMeulen 326846d25f Merge inbound to m-c. a=merge 2016-01-01 19:29:16 -05:00
Richard Newman 61bd18dc75 Bug 1062537 - Pre: correct comments in android_version_code.py. 2015-12-31 19:32:41 -08:00
Richard Newman 9f80518a0b Bug 1155801 - Part 4: miscellaneous SDK_INT bumps. 2015-12-30 18:59:17 -08:00
Richard Newman 4448d3fab7 Bug 1155801 - Part 2: bump Android version code computation check. r=nalexander 2015-12-30 18:59:17 -08:00
Nick Alexander def47a0c8e 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 3120f57782 Backed out changeset 991a5607ee54 (bug 1155801) 2015-12-31 13:57:30 +05:30
Nigel Babu bf7637fabe Backed out changeset 06a75f114c31 (bug 1155801) 2015-12-31 13:57:25 +05:30
Nick Alexander 29692e66ac Bug 1216817 - Follow-up: Fix "KeyError: uMOZ_ARTIFACT_BUILDS" in config.status. r=bustage 2015-12-30 21:18:14 -08:00
Nick Alexander bd8b50ab01 Bug 1216817 - Follow-up: Fix "KeyError: u'MOZ_ARTIFACT_BUILDS'". r=bustage 2015-12-30 21:07:20 -08:00
Nick Alexander d9dbacf68d 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 e6040b3a54 Bug 1207890 - Post: Move |mach artifact| command out of mobile/android. r=glandium 2015-12-23 17:08:49 -08:00
Nick Alexander 6687d21fd9 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 5e618b5b81 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 36be5ced54 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 2d243a6fcb Bug 1207890 - Part 1: Add rich ArtifactJob extension point. r=glandium 2015-11-24 15:48:57 -08:00
Nick Alexander 053463824f Bug 1207890 - Pre: Make JarWriter handle inputs with read() but not seek(). r=glandium 2015-12-23 16:05:34 -08:00
Nick Alexander 73daed9895 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 d1047c6de3 Bug 1216817 - Part 2: Narrow distdir to bindir in artifacts. r=gps 2015-10-30 12:30:35 -07:00
Nick Alexander 80e21f4404 Bug 1216817 - Part 1: Add install_callback to artifacts. r=gps 2015-10-30 13:35:13 -07:00
Richard Newman f00564a713 Bug 1155801 - Part 4: miscellaneous SDK_INT bumps. 2015-12-30 18:59:17 -08:00
Richard Newman 1d7102ed23 Bug 1155801 - Part 2: bump Android version code computation check. r=nalexander 2015-12-30 18:59:17 -08:00
Shane Caraveo 3d87f487dc 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 dec65ccfc0 Bug 1234612: Print path when failing to create virtualenv r=gps
r=gps
2015-12-30 11:33:36 +00:00
Mike Hommey 542304ec3c 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 18fc424fc0 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 9f93a62eb5 Bug 1235676 - Add a topobjdir variable to all Makefiles. r=mshal 2015-12-31 08:10:02 +09:00
Mike Hommey ea69aced60 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 75261fbffb Bug 1235739 - Move DEFINES quoting from frontend to backend. r=gps 2015-12-31 07:34:51 +09:00
Mike Hommey acfe64bf87 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 328053961a 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 c80f7b3f8a Bug 1235132 - Remove convert_def_file.py. r=gps 2015-12-31 07:22:18 +09:00
Mike Hommey 7ff8f015f6 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 9ce8d6862b 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 dd57dc8123 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 9fbcd8b63d 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 567b649e88 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 ef7722243f 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 5d33468e21 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
Mike Hommey 3beaca3c5a Bug 1235021 - Associate a Defines instance to each ContextDerived instance. r=gps 2015-12-31 07:06:11 +09:00
Mike Hommey 5b3207f7e8 Bug 1235021 - Rename Linkable.defines to linkable.lib_defines. r=gps 2015-12-31 07:06:11 +09:00
Mike Hommey 918048e854 Bug 1235021 - Use Path instances to handle paths in jar manifest in the FasterMake backend. r=gps
This is a transitional step to make further changes smaller and easier to
review.
2015-12-31 07:06:11 +09:00
Mike Hommey e4c058c5be Bug 1235021 - Always use the % marker for preprocessed css files. r=gps
Currently, only css files added through jar manifests are treated this way.
There is really no reason for the discrepancy, but there are actually no css
files added directly through moz.build, so this was never a problem.

On the other hand, it makes things simpler in a world where jar manifests are
treated as if they were entirely described in moz.build (which is where the
FasterMake backend is heading).
2015-12-31 07:06:11 +09:00
Mike Hommey 3a1c05512c Bug 1235021 - Normalize whitespaces in manifest entries emitted by the jar manifest parser. r=gps
Again, this is not strictly necessary but allows to confirm idempotence of
further changes. And it has the nice side effect of making chrome manifest
files more consistent.
2015-12-31 07:06:11 +09:00
Mike Hommey 0ef9ff8f4c Bug 1235021 - Normalize paths from jar manifests before putting them in an install manifest in the FasterMake backend. r=gps
This is not necessary in itself, but allows to confirm that further changes,
which are going to normalize paths as a side effect, are idempotent.
2015-12-31 07:06:11 +09:00
Mike Hommey c94ccb7038 Bug 1235021 - Use SourcePaths for JAR_MANIFESTS. r=gps 2015-12-31 07:06:11 +09:00
Mike Hommey d12c708c31 Bug 1235021 - Add a relative jar.mn in the end-to-end test. r=gps 2015-12-31 07:06:11 +09:00
Mike Hommey f568c875f6 Bug 1234955 - Make TEST_DIRS a SPECIAL_VARIABLE. r=gps
Using TEST_DIRS is nothing more than a shortcut for

if CONFIG['ENABLE_TESTS']:
    DIRS += [...]

As such, we might as well remove it being a separate variable, and use some
Context magic to just fill DIRS when ENABLE_TESTS is set.

The security/manager/ssl/tests/unit/moz.build change ensures that the order
of DIRS before the change is kept, not because it matters, but because it
allows to confirm that nothing else is modified by this change.
2015-12-24 13:12:49 +09:00
Mike Hommey 188f67aaa7 Bug 1234780 - Use Paths for BRANDING_FILES. r=gps
Also, handle them like other FinalTargetFiles.

After this, TEST_HARNESS_FILES is the last use of plain HierarchicalStringList.
2015-12-24 13:12:44 +09:00