Commit Graph

505 Commits

Author SHA1 Message Date
Gregory Szorc
f7566e9449 Bug 913965 - Don't use build-dep for installing dependencies; install modern Mercurial on Ubuntu; r=glandium
DONTBUILD (NPOTB)
2013-09-11 16:27:41 -07:00
Joey Armstrong
106fd89f3d bug 882908: move OS_LIBS to mozbuild (logic). r=gps 2013-09-11 19:20:34 -04:00
Gregory Szorc
b07bd06d2a Bug 913276 - Only install terminal-notifier on OS X 10.8+; r=ted 2013-09-10 17:09:34 -07:00
Gregory Szorc
2e9f3f4fff Bug 914704 - Add WebIDL headers to dist/include install manifest; r=glandium 2013-09-10 17:07:59 -07:00
Gregory Szorc
1c8c279738 Bug 914500 - Upgrade virtualenv to 1.10.1; r=mshal 2013-09-10 17:07:12 -07:00
Mike Hommey
dcede70fbb Bug 912914 - Preserve targets and dependencies order when creating Makefiles with makeutil.py. r=gps
Also allow to add random statements (like variable assignment)
2013-09-11 08:21:39 +09:00
Olli Pettay
74d286ade3 Bug 900904 - Support webidl-only generated events, r=khuey,gps
--HG--
extra : rebase_source : cda37d1ae2ff9b969d081fe0ec103d4f07098a3b
2013-09-10 21:27:39 +03:00
Gregory Szorc
02aca3b970 Bug 914394 - Handle WindowsError on non-Windows; r=ted 2013-09-10 09:03:43 -07:00
Nathan Froyd
d03e18978a Bug 912197 - part 4 - write out lists of WebIDL source files for dom/bindings/; r=gps 2013-09-05 11:20:02 -04:00
Nathan Froyd
00da3e1ad5 Bug 912197 - part 3 - emit WebIDL objects during traversal; r=gps 2013-09-05 11:19:33 -04:00
Nathan Froyd
238e0c2875 Bug 912197 - part 2 - add WebIDL variables to the sandbox; r=gps 2013-09-05 11:19:11 -04:00
Nathan Froyd
2e473715c6 Bug 912197 - part 1 - add classes for WebIDL source files; r=gps 2013-09-05 11:18:55 -04:00
Gregory Szorc
272ac3bf20 Bug 914411 - Option to force mach build to use pymake; r=glandium 2013-09-09 22:28:36 -07:00
Gregory Szorc
2000383e93 Bug 913231 - Allow mach commands to easily dispatch to other mach commands; r=jhammel
DONTBUILD (NPOTB)
2013-09-05 15:41:45 -07:00
Gregory Szorc
8a2c36ea67 Backout 2b3846b0c06c for bad bug number in commit message 2013-09-09 12:43:45 -07:00
Gregory Szorc
338bd51fc4 Bug 860839 - Initial implementation of |mach test|; r=jhammel
The future of running tests is this command. It is a unified command for
running tests. Currently, it only supports running test suites from
their full test suite name or TBPL abbreviation. Support will be added
in the future for running individual tests or mixing and matching tests
of different flavors.
2013-09-09 12:37:38 -07:00
Ms2ger
db90573f0e Merge m-c to inbound. 2013-09-06 12:31:58 +02:00
Ms2ger
426f200026 Bug 910251 - Support LOCAL_INCLUDES in moz.build; r=gps 2013-09-06 08:41:04 +02:00
Gregory Szorc
40c7a7023f Bug 912231 - Allow mach commands to easily dispatch to other mach commands; r=jhammel
DONTBUILD (NPOTB)
2013-09-05 15:41:45 -07:00
Mike Hommey
cb4dfb8bff Bug 912292 - Always traverse sub-directories after executing rules in the current directory. r=gps 2013-09-05 15:08:43 +09:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Mike Hommey
8c676ac42d Bug 912293 - Add a generic header and footer to generated Makefiles. r=gps 2013-09-05 09:01:45 +09:00
Gregory Szorc
2a957a50ed Bug 908977 - Generate XPIDL-derived headers directly into dist/include; r=glandium 2013-09-04 16:52:56 -07:00
Gregory Szorc
ed5c045c36 Bug 896797 - Part 3: Use install manifests for managing dist/include; r=glandium 2013-09-03 22:51:58 -07:00
Ed Morley
018c827b79 Backed out changeset 8090e534656a (bug 896797) on suspicion of causing bug 912451 on a CLOSED TREE 2013-09-04 12:44:59 +01:00
Gregory Szorc
fe08b9fbf7 Bug 896797 - Part 3: Use install manifests for managing dist/include; r=glandium 2013-09-03 22:51:58 -07:00
Gregory Szorc
4672bbb630 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Phil Ringnalda
c1c484bd50 Back out ce03cc2994aa:ae9f95fc1136 (bug 896797) for SpiderMonkey shell build bustage
CLOSED TREE
2013-09-03 23:21:30 -07:00
Gregory Szorc
36d7e59565 Bug 896797 - Part 3: Use install manifests for managing dist/include; r=glandium 2013-09-03 22:51:58 -07:00
Gregory Szorc
fab628e981 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Gregory Szorc
c9fa2dd120 Bug 911957 - Handle build output between BUILDSTATUS events; r=glandium 2013-09-03 22:30:12 -07:00
Gregory Szorc
47fdb1a58b Bug 911375 - Part 1: Add support for optional existing files; r=glandium 2013-09-03 22:16:47 -07:00
Phil Ringnalda
eb3f8a45e2 Back out cc6f66e761d8 (bug 896797) for Windows build bustage
CLOSED TREE
2013-09-03 21:55:21 -07:00
Gregory Szorc
295f553e4e Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Gregory Szorc
d065e6449f Bug 911362 - FileCopier support for not removing unreferenced files; r=glandium 2013-09-03 19:38:07 -07:00
Joshua Cranmer
bf3fbdd530 Bug 910540 - Add moz.build logic for major library variables, r=glandium. 2013-09-02 22:04:25 -05:00
Joshua Cranmer
ec8e9ba72c Bug 909147 - xpcshell self-tests are broken for comm-central, r=gps.
--HG--
extra : rebase_source : d3509cdde22bd9b6374a06c0d8aafc4ba3351928
2013-08-31 20:27:16 -05:00
Mike Hommey
a66fcce227 Bug 910096 - Treat js/src differently from other "static" directories. r=gps 2013-08-30 11:12:23 +09:00
Mike Hommey
e16245a2fe Bug 909077 - Remove useless STATIC_DIRS and EXTERNAL_DIRS variables. r=gps 2013-08-30 11:10:19 +09:00
Ryan VanderMeulen
1d7bdba295 Merge inbound to m-c. 2013-08-29 00:00:10 -04:00
Andrew Halberstadt
2cda1a3ab6 Bug 908874 - Add mach command to run b2g mochitests, r=jgriffin,gps, DONTBUILD, a=NPOTB 2013-08-28 10:08:50 -04:00
Dave Camp
b32cfee08a Bug 901644 - Allow mach build paths to be specified relative to ; r=gps
--HG--
extra : rebase_source : 529399abba46287f038b679d8db970791ed113f2
2013-08-07 14:31:25 -07:00
Gregory Szorc
fc42180b67 Bug 909412 - Don't attempt to track tier progression during partial tree builds; r=glandium 2013-08-27 14:40:07 -07:00
Sahil Chelaramani
5621d6f42c Bug 906177 - Make bootstrap compatible with Elementary OS. r=gps 2013-08-28 08:03:26 -04:00
Andrew Halberstadt
66f51dcf4a Bug 901972 - Add ability to filter mach commands at runtime, r=gps 2013-08-26 17:33:10 -04:00
Jan Beich
235b9c0b0a Bug 908637 - Add bootstrap support for FreeBSD. r=gps 2013-08-26 11:07:34 -04:00
Gregory Szorc
4f5eeddb04 Bug 908977 - Ensure added XPIDL files result in xpt rebuild; r=glandium 2013-08-25 19:21:40 -07:00
Gregory Szorc
07bbf0aeef Bug 908977 - Build all XPIDLs when performing a partial tree build; r=glandium 2013-08-25 19:21:18 -07:00
Gregory Szorc
273f9e99ae Bug 908296 - Catch all exceptions when importing psutil; r=ted
--HG--
extra : rebase_source : 7260ae283344fd8db3ef22923c33f9dc2166cc5f
2013-08-23 10:50:28 -07:00
Gregory Szorc
c1c2be8254 Bug 908296 - Upgrade psutil to version 1.0.1; rs=glandium 2013-08-23 10:18:57 -07:00
Ryan VanderMeulen
4fcf10824d Backed out changesets 1ad8a6674785 and ed0b6a11532d (bug 908296) for OSX mach bustage. 2013-08-23 12:18:18 -04:00
Landry Breuil
655e85d1c8 Bug 908074 - Update OpenBSD mozboot backend to install dbus-glib/gstreamer/pulseaudio r=gps 2013-08-23 09:22:53 +02:00
Gregory Szorc
c60d8df5e4 Bug 908296 - Upgrade psutil to version 1.0.1; rs=glandium
Archive obtained from
https://psutil.googlecode.com/files/psutil-1.0.1.tar.gz and extracted
over existing source code without modifications.
2013-08-22 23:36:57 -07:00
Mike Hommey
069b5d8848 Bug 904743 - Use makefile creation helper in BindingGen.py, cl.py and xpidl-process.py. r=gps
While at it, fix dependencies generated by BindingGen.py
2013-08-23 08:09:17 +09:00
Mike Hommey
562cc4815f Bug 904743 - Add helpers to create simple makefiles and iterate loaded python modules. r=gps 2013-08-23 08:08:19 +09:00
Gregory Szorc
a99155675f Bug 854611 - Fix typo; r=bustage DONTBUILD (NPOTB) on a CLOSED TREE
--HG--
extra : rebase_source : 2724b2d1ade71d2f0639625caae50aa2ab626509
2013-08-22 12:52:25 -07:00
Gregory Szorc
62d658b958 Bug 854611 - Notification Center notification when a long build completes; r=ted
DONTBUILD (NPOTB)
2013-08-22 12:48:18 -07:00
Andrew Halberstadt
6aa2be2268 Bug 907552 - Add ability to specify cwd to MozbuildObject.from_environment(), r=gps 2013-08-22 15:24:40 -04:00
Masatoshi Kimura
650b314073 Bug 907968 - Remove a useless (even harmful) log. r=gps 2013-08-22 22:44:19 +09:00
Ms2ger
0b894b16bd Bug 907337 - Remove the special case for NO_DIST_INSTALL in emitter.py; r=mshal
It is obsoleted by the general case in recursivemake.py.
2013-08-22 08:56:02 +02:00
Ms2ger
c285c318c5 Bug 904831 - Part a: Support MSVC_ENABLE_PGO in moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
a3af10fc96 Bug 883284 - Part a: Support LIBXUL_LIBRARY in moz.build; r=mshal 2013-08-22 08:55:59 +02:00
Ms2ger
79ecb04f81 Bug 882859 - Part a: Introduce FAIL_ON_WARNINGS into moz.build; r=gps 2013-08-22 08:55:58 +02:00
Gregory Szorc
9edb6e2e8f Bug 907049 - Cache unicode representation of substs variables; r=glandium 2013-08-21 09:16:31 -07:00
Mike Hommey
328842af96 Fixup for bug 906101 breaking make clean on a CLOSED TREE. r=me 2013-08-21 08:59:29 +09:00
Gregory Szorc
41905b45f6 Bug 906101 - Move tier make logic into own .mk file and don't use from rules.mk; r=glandium
The existing tier traversal logic is only used in the top-level Makefile
but was present in rules.mk. This meant it was getting evaluated for
every Makefile. This was silly and thus the logic has mostly been moved into
its own .mk file and is only included for the root Makefile.
2013-08-20 13:03:39 -07:00
Gregory Szorc
c8099398e0 Bug 883209 - Part 2: Add HTML interface to render build resource usage; r=glandium 2013-08-20 10:42:28 -07:00
Gregory Szorc
838302cfb8 Bug 883209 - Part 1: Record system resource usage of builds; r=glandium 2013-08-20 10:42:25 -07:00
Sahil Chelaramani
dfefb7e2b0 Bug 891849 - mach's terminal magic causes weird jumps to the bottom. r=gps 2013-08-20 08:30:25 -04:00
Gregory Szorc
d561f14d5c Bug 905879 - More robust tier tracking; r=glandium 2013-08-20 00:06:32 -07:00
Phil Ringnalda
6269527131 Back out a82f3a08ff3a (bug 901644) for being both POTB and soon to be causing orange in mozbuild/test/test_util.py 2013-08-19 23:45:17 -07:00
Dave Camp
5c6afc592a Bug 901644 - Allow mach build paths to be specified relative to $srcdir; r=gps
DONTBUILD (NPOTB)
2013-08-19 20:47:07 -07:00
Gregory Szorc
9137e71639 Bug 901811 - Unify code paths for loading mozconfigs; r=ted 2013-08-16 16:57:17 -07:00
Chris Manchester
0bfaef23f7 Bug 905707 - Don't try to print mozconfig attrs if not present; r=gps
DONTBUILD (NPOTB)
2013-08-15 14:46:50 -07:00
Mike Hommey
409e31bff2 Bug 905490 - Avoid "mach python" logging the python command. r=gps 2013-08-15 23:45:09 +09:00
Mike Hommey
8b244efc5c Bug 905074 - Hide build status markers when not building with mach. r=gps 2013-08-15 23:45:08 +09:00
Gregory Szorc
325c390da6 Bug 850380 - Ensure xpidl Makefile is regenerated properly; r=glandium 2013-08-14 17:58:30 -07:00
Gregory Szorc
918eef7c37 Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Ryan VanderMeulen
a7872e972f Backed out changesets 1fa1f28c6edf and e74f694f31c4 (bug 850380) for PGO bustage on a CLOSED TREE. 2013-08-14 15:12:20 -04:00
Gregory Szorc
142c57b464 Bug 850380 - Ensure .xpt files are written in binary mode (windows bustage) 2013-08-14 10:13:55 -07:00
Gregory Szorc
260d3a8e7c Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
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