Commit Graph
2424 Commits
Author SHA1 Message Date
Gregory Szorc 415ee3cfe7 Bug 784841 - Part 11b: Normalize paths in tests (fix test failure); r=me 2013-01-29 14:06:39 -08:00
Gregory Szorc 76c5d6ed2f Bug 784841 - Part 11a: Normalize paths in tests (fix test failure); r=me 2013-01-29 08:55:35 -08:00
Gregory Szorc 53adbbabad Bug 784841 - Part 11: Add CONFIGURE_SUBST_FILES to moz.build files; r=ted 2013-01-29 06:35:46 -08:00
Gregory Szorc 85121af884 Bug 784841 - Part 10: Add warning() and error() functions to moz.build files; r=ted 2013-01-29 06:24:25 -08:00
Gregory Szorc 20e25710d6 Bug 784841 - Part 9: Ability to define external projects in moz.build files; r=ted 2013-01-29 06:24:24 -08:00
Gregory Szorc eabfcf9cdf Bug 784841 - Part 8: Capture and save moz.build tree state; r=ted 2013-01-29 06:24:24 -08:00
Gregory Szorc 5502a9302e Bug 784841 - Part 7: Implement recursive make backend; r=ted 2013-01-29 06:24:24 -08:00
Gregory Szorc 479350b3cb Bug 784841 - Part 6: Move some functions from ConfigStatus to mozbuild; r=ted 2013-01-29 06:24:24 -08:00
Gregory Szorc 45f89bc151 Bug 818789 - |mach build| can now control what is built; r=glandium
DONTBUILD (NPOTB)
2013-01-29 10:20:06 -08:00
Ryan VanderMeulen 235836181c Merge m-c to inbound. 2013-01-24 21:09:59 -05:00
Mike Hommey 6dcfd5c190 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 69aecb9ac9 Bug 834176 - Use NON_OMNIJAR_FILES value in the new packager. r=gps 2013-01-25 00:38:47 +01:00
Zuhao(Joe) Chen 1653956da5 Bug 831168 - Mach should handle a corrupted warnings database. r=gps 2013-01-24 18:10:27 -05:00
Mike Hommey badb7bbccd 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 8d6a15b2f6 Bug 780561 - Unit tests for the new packager code. r=ted,r=gps 2013-01-23 11:23:14 +01:00
Mike Hommey fc89f708a6 Bug 780561 - Import new packager code. r=gps 2013-01-23 11:23:14 +01:00
Jeff Hammel 690a17e309 Bug 831381 - ASCII vs unicode error in mozconfig.py _parse_loader_output();r=gps 2013-01-24 14:50:27 -08:00
Gregory Szorc b7ffaa3704 Bug 808280 - Remove unused imports from mozconfig.py; r=ted
By preventing the import of pymake, multiprocessing is no longer
imported and BSDs should no longer choke when trying to import it.

DONTBUILD
2013-01-17 11:02:16 -08:00
Gregory Szorc e6ff43d610 Merge mozilla-central into build-system 2013-01-16 12:37:21 -08:00
Gregory Szorc e62d3be5d2 Bug 784841 - Part 3: Implement sandbox to data translation layer; r=ted,glandium
This patch takes MozbuildSandbox instances emitted from BuildReader and
converts them to data structures.
2013-01-15 22:21:23 -08:00
Gregory Szorc 803aab4aa8 Bug 784841 - Part 2: Implement sandboxing for Python build files; r=ted,glandium
This is the beginning of Mozilla's new build system.

In this patch, we have a Python sandbox tailored for execution
of Python scripts which will define the build system. We also have a
build reader that traverses a linked set of scripts.

More details are available in the thorough README.rst files as part of
this patch.
* * *
Bug 784841 - Part 2b: Option to not descend into child moz.build files; r=ted
2013-01-15 22:21:21 -08:00
Gregory Szorc 719d30208e Bug 784841 - Part 1: Create generic container classes; r=jhammel
We create some specialized dicts that will be used in later patches.
2013-01-15 22:21:18 -08:00
Jeff Hammel b6c26d0b7f Bug 829664 - make check fails on mozbuild/test/test_mozconfig.py with MOZCONFIG set;r=gps 2013-01-15 12:54:20 -08:00
Ms2ger 7d23bc88e5 Merge mozilla-central into build-system 2013-01-06 11:58:19 +01:00
Ms2ger d7ee0dea01 Merge mozilla-central into build-system 2013-01-04 21:21:29 +01:00
Chris Peterson d48b26d091 Bug 826120 - mach's warning parser should not stop at first '['. r=gps 2013-01-02 16:33:46 -08:00
Gregory Szorc b79dd1462b Bug 818646 - Add mozbuild Python tests to |make check|; r=ted 2012-12-21 12:43:46 -08:00
Gregory Szorc eaa6814912 Bug 818777 - Switch to NamedTemporaryFile from mozfile; r=ted
This version works with Windows.
2012-12-20 16:11:35 -08:00
Nicholas Nethercote e569e9c8a0 Bug 825820 - Call WarningsDatabase.prune at the end of Build(). r=gps. 2013-01-02 17:20:47 -08:00
Richard Newman 54a6f7a6bf Bug 820179 - Mach command for packaging. r=gps 2012-12-11 11:42:11 -08:00
Gregory Szorc fb266a78db Bug 818656 - Normalize paths when loading mozconfigs; r=glandium
DONTBUILD (NPOTB)
2012-12-05 22:47:35 -08:00
Gregory Szorc 5139a90005 Bug 803400 - Add clobber mach command; r=glandium
DONTBUILD (NPOTB)
2012-12-05 22:46:01 -08:00
Gregory Szorc dc85eba020 Bug 818545 - Gracefully handle errors when loading mozconfigs; r=glandium
DONTBUILD (NPOTB)
2012-12-05 14:34:14 -08:00
Gregory Szorc 4de7128613 Bug 818366 - Ability to pass through file descriptors to child processes; r=jhammel 2012-12-05 14:22:58 -08:00
Gregory Szorc cceb5c0a5b Bug 818554 - Handle empty variables when parsing mozconfig output; r=glandium
DONTBUILD (NPOTB)
2012-12-05 11:20:59 -08:00
Gregory Szorc 0d253490f6 Bug 818543 - Define topsrcdir in mozbuild evaluation environment; r=glandium
DONTBUILD (NPOTB)
2012-12-05 10:20:42 -08:00
Gregory Szorc fe1674dd23 Bug 808357 - Part 2: Implement mozconfig finding and loading in Python; r=glandium 2012-12-04 22:02:06 -08:00
Gregory Szorc 6710134ad1 Bug 808357 - Part 1: Split mozconfig code into own Python module; r=glandium 2012-12-04 22:02:03 -08:00
Benedict Singer 4578b67208 Bug 794180 - Rich comparison operators instead of __cmp__; r=gps
DONTBUILD (NPOTB)
2012-11-30 15:36:27 -05:00
Gregory Szorc e0977b87ce Bug 807974 - Handle make errors more gracefully; r=jhammel
We now return the status code from executed processes. The API to
require a successful status code has been changed from ignore_errors to
ensure_exit_code. The build mach command no longer spews a stack trace
if make fails.

DONTBUILD (NPOTB)
2012-11-06 17:01:08 -08:00
Gregory Szorc c65a732d60 Bug 808346 - Don't scan sys.path to discover mach commands; r=jhammel
All mach modules are now explicitly listed in the mach driver.
2012-11-06 17:00:19 -08:00
Gregory Szorc 2a98f9435a Bug 808336 - Part 2: Discover mach settings providers via decorators; r=jhammel
With this patch, mach is now decoupled from the build system and is
truly a generic command dispatching framework.
2012-11-06 16:58:13 -08:00
Gregory Szorc bd2380c69d Bug 808336 - Part 1: Refactor mach command handler management; r=jhammel
Previously we were tighly coupled with MozbuildObject. This was not in
the spirit of mach being a generic tool. Now, instead of passing multiple
arguments to __init__ of the class providing the mach command we either
pass 0 or 1. The number of arguments is detected when processing the
@CommandProvider decorator. The optional argument is a named tuple
containing mach run-time state.

Capturing of mach command provider information is now captured in a
class (as opposed to an anoymous tuple). We also capture these in a rich
data structure which is passed as part of the run-time data to the
command provider class. This allows mach commands to inspect the mach
environment.

Mach decorators have been moved to mach.decorators. mach.base is
reserved for generic mach data/container classes.

Existing mach command classes derived from MozbuildObject have been
replaced with either object or mozbuild.base.MachCommandBase. This
latter class translates the mach context instance passed to __init__
into the constructor arguments for MozbuildObject.__init__.

Support for registering function handlers with mach has been removed.
All handlers must be inside classes.
2012-11-06 16:57:41 -08:00
Gregory Szorc aaa2f38201 Bug 800633 - Clean up references to code moved out of mozbuild; r=jhammel
DONTBUILD (NPOTB)
2012-10-11 17:13:18 -07:00
Ms2ger c704e29d3a Bug 799648 - Followup: Remove a line accidentally left in; r=gps (NPOTB, DONTBUILD) 2012-10-11 21:47:11 +02:00
Gregory Szorc e467e93a88 Bug 799648 - Part 4: Temporarily disable settings file integration; r=jhammel
DONTBUILD (NPOTB)
2012-10-10 11:09:21 -07:00
Gregory Szorc 44d9223b6b Bug 799648 - Part 3: Move config module from mozbuild to mach; r=jhammel 2012-10-10 11:08:10 -07:00
Gregory Szorc 8f12c07ca6 Bug 799648 - Part 2: Move mozbuild's log manager into mach; r=jhammel 2012-10-10 11:08:09 -07:00
Gregory Szorc 72aeaf9af2 Bug 799648 - Part 1: Move process execution and logging methods into Mach mixin classes; r=jhammel 2012-10-10 11:08:09 -07:00
Gregory Szorc 47f6631e13 Bug 795427 - Part 3: Print more user friendly error messages; r=jhammel 2012-10-10 11:08:09 -07:00