Commit Graph

269 Commits

Author SHA1 Message Date
Gregory Szorc
6f9881b6e7 Bug 902389 - Normalize topobjdir; r=mshal 2013-08-09 12:04:15 -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
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
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
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
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
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
Mike Shal
2f5d43999f Bug 868536 - Move ipdl.mk files to moz.build; r=gps
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
Gregory Szorc
54495188f5 Bug 884587 - Part 2: Add EXPORTS files to purge manifest; r=glandium
--HG--
extra : rebase_source : 5b783b192d0324ef7b867a8229d2e5f55d482aac
2013-06-25 11:04:06 -07:00
Gregory Szorc
e65cc254d8 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
809a9b75b1 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
66582b795d 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
Brian O'Keefe
91e899d57e Bug 885019 - Move GTEST_CPPSRCS, GTEST_CMMSRCS, and GTEST_CSRCS to moz.build as GTEST_CPP_SOURCES, GTEST_CMM_SOURCES, and GTEST_C_SOURCES. r=gps 2013-06-22 10:33:31 -04:00
Joey Armstrong
c2de9707f6 bug 888009: move HOST_CPPSRCS to mozbuild (logic) r=gps 2013-07-03 08:56:33 -04:00
Gregory Szorc
e361973f01 Bug 889678 - Fix mozpack purge manifest tests and bug in version detection code; r=glandium 2013-07-02 22:55:55 -07:00
Mike Shal
57e16067ad Bug 880245 - Convert JS_MODULES_PATH to be relative to $(FINAL_TARGET); r=gps 2013-06-17 13:59:49 -04:00
Ryan VanderMeulen
b8d640eeab Backed out changeset 94c939eeb5f6 (bug 885019) for bustage. 2013-06-26 10:14:08 -04:00
Brian O'Keefe
74cc1dccb5 Bug 885019 - Move GTEST_CPPSRCS, GTEST_CMMSRCS, and GTEST_CSRCS to moz.build as GTEST_CPP_SOURCES, GTEST_CMM_SOURCES, and GTEST_C_SOURCES. r=gps 2013-06-22 10:33:31 -04:00