Commit Graph

374 Commits

Author SHA1 Message Date
Mike Hommey
bcdf124712 Bug 903321 - Don't update backend.RecursiveMakeBackend.built when no backend file changed. r=gps 2013-08-13 10:39:35 +09:00
Drew Willcoxon
f40150b416 Bug 902617 - Make mach bootstrap warn about possibly outdated Xcode when Xcode command line tools are outdated. r=gps 2013-08-09 16:57:40 -07:00
Ryan VanderMeulen
13be9bc4d0 Merge inbound to m-c. 2013-08-09 19:08:45 -04:00
Gregory Szorc
6f9881b6e7 Bug 902389 - Normalize topobjdir; r=mshal 2013-08-09 12:04:15 -07:00
Matt Brubeck
d52133438e Bug 899695 - Fix exception in "mach python" on Windows [r=gps]
DONTBUILD (not part of the build)
2013-08-08 08:06:02 -07:00
Gregory Szorc
131c503dfb Bug 902619 - Write mozinfo.json as part of config.status; r=ted
There are both mechanical and logical changes in this patch.

The mechanical changes involve moving some files into the mozbuild
package.

The logical changes include move writing of mozinfo.json into
config.status (from configure.in). There were some variable assignments
being performed in configure.in. These variables were read from
writemozinfo.py. However, these variables don't appear to be necessary!
Now that mozinfo has full access to the underlying config.status data
structure, it can now access these variables directly. I verified that
every variable being assigned in configure.in had a corresponding
AC_SUBST earlier in the file.

The only variable that's a bit weird is the TOPSRCDIR and MOZCONFIG
environment variables. mozinfo continues to look in the environment for
MOZCONFIG. However TOPSRCDIR is now coming from config.status.

As part of moving the code, I also modernized the test file, cleaned up
some style, and removed some unused imports.

--HG--
rename : config/writemozinfo.py => python/mozbuild/mozbuild/mozinfo.py
rename : config/tests/unit-writemozinfo.py => python/mozbuild/mozbuild/test/test_mozinfo.py
2013-08-07 23:48:41 -07:00
Andrew Halberstadt
7e537b9fdc Bug 902002 - Don't display mach categories in help if no commands exist under them, r=gps, DONTBUILD, a=NPOTB 2013-08-07 15:17:08 -04:00
Ms2ger
21409e5d2c Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Gregory Szorc
6bb747f91e Bug 900569 - Support writing install manifests from recursivemake backend; r=glandium 2013-08-01 17:42:47 -07:00
Jim Blandy
437ef9cb8c Bug 899342: Implement '+gdbparams' argument for 'mach debug'. r=gps 2013-08-01 17:10:30 -07:00
Ted Mielczarek
cd37b97437 bug 899849 - fix MozbuildObject.from_environment to work right when no mozconfig specified. r=gps 2013-08-01 13:52:27 -04:00
Gregory Szorc
e24712af1c Bug 899792 - Establish precompile tier and move IPDL and WebIDL build rules; r=glandium
A new build tier is introduced: precompile. The intention is to replace
the export subtier with something better and nonrecursive. IPDL and
WebIDL code generation have been moved into this new tier and are
performed concurrently. This appears to reduce build times due to fewer
"single threaded" build actions.

The subtier tracking UI has been updated to reflect operations that can
occur in parallel. As subtiers are started, they turn yellow. They can
then complete in any order.

Nonrecursive targets have been added to preserve the IPDL and WebIDL
build targets such that developers can type |make| from leaf directories
like they have always done.
2013-07-30 17:00:24 -07:00
Ms2ger
ad06681e97 Bug 897458 - Move EXTRA_PP_JS_MODULES to moz.build; r=gps 2013-08-02 09:03:25 +02:00
Gregory Szorc
26c1128438 Bug 899241 - Add process_install_manifest build action; r=glandium 2013-07-30 16:58:33 -07:00
Ryan VanderMeulen
dcd7a90f78 Backed out changesets 77fcbb01366c (bug 899792) and e7d81c2597f2 (bug 899241) for OSX bustage.
CLOSED TREE
2013-07-30 21:46:07 -04:00
Gregory Szorc
5fd8b7d40f Bug 899792 - Establish precompile tier and move IPDL and WebIDL build rules; r=glandium
A new build tier is introduced: precompile. The intention is to replace
the export subtier with something better and nonrecursive. IPDL and
WebIDL code generation have been moved into this new tier and are
performed concurrently. This appears to reduce build times due to fewer
"single threaded" build actions.

The subtier tracking UI has been updated to reflect operations that can
occur in parallel. As subtiers are started, they turn yellow. They can
then complete in any order.

Nonrecursive targets have been added to preserve the IPDL and WebIDL
build targets such that developers can type |make| from leaf directories
like they have always done.
2013-07-30 17:00:24 -07:00
Gregory Szorc
9fc50a01c4 Bug 899241 - Add process_install_manifest build action; r=glandium 2013-07-30 16:58:33 -07:00
Gregory Szorc
50694d3374 Bug 899292 - Exception constructing environment when topobjdir isn't available; r=glandium
--HG--
extra : rebase_source : a920d5c87d112338259c0401c4cb29ed228cfa4c
2013-07-30 09:39:54 -07:00
Gregory Szorc
868c958cee Bug 794580 - mach mercurial-setup; r=nalexander
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : b5cfc81d1a0537b5ae25a76c3ccc604383f60f6c
2013-07-29 16:58:40 -07:00
Mike Hommey
4a03fd83b6 Bug 893976 - Avoid importing buildconfig globally from mozpack.executables. r=gps 2013-07-30 08:57:28 +09:00
Mike Hommey
5b1a1afd94 Bug 893976 - Use (cached) regular expressions for mozpack.path.match. r=gps 2013-07-30 08:57:27 +09:00
Mike Hommey
d5467c1467 Bug 893976 - Allow to skip FileFinder executables detection. r=gps 2013-07-30 08:57:27 +09:00
Ms2ger
8ab83f380e Merge m-c to inbound. 2013-07-24 11:53:22 +02:00
Ms2ger
f9325b23fe Bug 888643 - Part a: Support CPP_UNIT_TESTS in moz.build files; r=gps 2013-07-24 09:20:00 +02:00
Gregory Szorc
b1e1ca60e9 Bug 890097 - Part 4: Fix unit test for FileCopier; r=bustage 2013-07-23 16:02:59 -07:00
Gregory Szorc
6364fb66d1 Bug 890097 - Part 3: Capture detailed information for FileCopier actions; r=glandium 2013-07-23 14:37:04 -07:00
Gregory Szorc
9b17426319 Bug 890097 - Part 2: InstallManifest class for managing file installs; r=glandium 2013-07-23 14:36:40 -07:00
Gregory Szorc
cba2b27e6b Bug 890097 - Part 1: Use more Pythonic API for PurgeManifest; r=glandium 2013-07-23 14:35:01 -07:00
Gregory Szorc
f6c2c2a8c5 Bug 897045 - Properly handle extra make arguments if there is no mozconfig; r=mshal 2013-07-23 13:59:12 -07:00
Mike Hommey
718e8ca64e Bug 894763 - Default objdir should reflect target, not host. r=gps 2013-07-23 07:26:09 +09:00
Gregory Szorc
51e5f4094a Bug 894746 - Properly truncate mach build terminal footer; r=ted
DONTBUILD (NPOTB)
2013-07-19 13:40:00 -07:00
Gregory Szorc
4f9a15477d Bug 894227 - Add configobj Python package; rs=glandium
Version 4.7.2 added without modifications. Source obtained from PyPI.
2013-07-18 12:55:41 -07:00
Mike Hommey
7078dc0031 Bug 894776 - mach doesn't properly handle spaces in mozconfig commands. r=gps 2013-07-18 15:25:36 +09:00
Gregory Szorc
3762673046 Bug 845050 - FileCopier support for symlinks; r=glandium 2013-07-17 11:44:33 -07:00
Gregory Szorc
e798214d28 Bug 878607 - Backout aeb89583349d (bug 887814) for breaking bootstrap on MacPorts; r=jwatt
DONTBUILD (NPOTB)
2013-07-16 17:04:36 -07:00
Gregory Szorc
fd3dc3173f Bug 894973 - mach command to dump environment and build config info; r=ted
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 27e23637b6e015b28f72078ab074624ea134318b
2013-08-08 13:09:04 -07:00
Ed Morley
1f689e79ea Merge mozilla-central and inbound 2013-07-16 10:02:20 +01:00
Gregory Szorc
3f54869e4b Bug 894197 - Define state directory in mach context object; r=jhammel
DONTBUILD (NPOTB)
2013-07-15 19:56:15 -07:00
Andrew Wilcox
8b591e304e Bug 893723 - Ignore trailing '+' in Mercurial version string; r=gps
DONTBUILD (NPOTB)
2013-07-15 04:15:00 -07:00
Mark Hammond
625894bcd9 Bug 886162 - prevent 'mach build testing' from building the entire tree. r=gps 2013-07-16 14:27:19 +10:00
Justin Lebar
717b224951 No bug - Pick a grammar nit in mach's clobber.py. r=me DONTBUILD 2013-07-12 00:09:51 -04:00
Gregory Szorc
d98f76c5d1 Bug 891474 - Establish unified directory for Python build actions; r=glandium, ted
--HG--
rename : config/purge_directories.py => python/mozbuild/mozbuild/action/purge_manifests.py
rename : build/xpccheck.py => python/mozbuild/mozbuild/action/xpccheck.py
extra : rebase_source : 46bc960aa62c1117a7bf215653b768dc78b48d9a
2013-07-11 13:42:26 -07:00
Gregory Szorc
0a41c9c2f9 Bug 891632 - Port NO_DIST_INSTALL to moz.build; r=joey
Many of the moved variables are likely not needed. moz.build should one
day validate the sandbox's output and error if "useless" variables are
present.

--HG--
extra : rebase_source : 3abdea056c18d00ede8c15b37db60532eca58630
2013-07-10 12:08:21 -07:00
Ed Morley
845a53e420 Merge latest green inbound changeset and mozilla-central 2013-07-09 08:47:47 +01:00
Gregory Szorc
b4c24fb9d2 Bug 875684 - Prevent mach's build terminal from misbehaving in screen; r=gaston
DONTBUILD (NPOTB)
2013-07-08 19:22:30 -07:00
Max Li
986010ebfa Bug 876330 - Colours on mach build status bar aren't colour blind friendly. r=gps
DONTBUILD (NPOTB)
2013-07-05 13:52:26 -04:00
Ryan VanderMeulen
3d2ee579ab Merge m-c and inbound. 2013-07-03 16:39:33 -04:00
Gregory Szorc
c493147b61 Bug 889963 - Unbust |mach build| when build terminal isn't present; r=ted
DONTBUILD (NPOTB)
2013-07-03 11:59:58 -07:00
Ryan VanderMeulen
0b25f9c7d8 Merge inbound and m-c. 2013-07-03 14:04:16 -04:00
Gregory Szorc
edec21c8d9 Bug 886498 - Obtain lock before writing to terminal; r=ted
DONTBUILD (NPOTB)
2013-07-03 10:06:52 -07:00