Commit Graph

811 Commits

Author SHA1 Message Date
Nathan Froyd
e879822603 Bug 915717 - reduce duplication in moz.build's emission of simple lists; r=gps 2013-09-12 11:26:22 -04:00
Wes Kocher
07008d4914 Backed out changeset 492fdd7c06fd (bug 914182) for Marionette failures 2013-09-12 16:01:12 -07:00
Wes Kocher
b353e35682 Backed out changeset 4b84bbad669d 2013-09-12 16:00:07 -07:00
Masatoshi Kimura
df20dccac2 Revert accidentally commited files in 492fdd7c06fd. r=backout 2013-09-13 06:50:40 +09:00
Masatoshi Kimura
382ac14e2b Bug 914182 - Hide Telephony API from regular Web pages. r=vyang,khuey 2013-09-13 06:34:51 +09:00
Mike Hommey
1cbed4b592 Bug 915508 - Change the order of space and comma in the mach status line when several directories are built at the same time; r=gps 2013-09-12 15:14:11 +09:00
Gregory Szorc
540afa6b4d 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
2ea4e685fd bug 882908: move OS_LIBS to mozbuild (logic). r=gps 2013-09-11 19:20:34 -04:00
Gregory Szorc
03cc1bc114 Bug 913276 - Only install terminal-notifier on OS X 10.8+; r=ted 2013-09-10 17:09:34 -07:00
Gregory Szorc
984460ac19 Bug 914704 - Add WebIDL headers to dist/include install manifest; r=glandium 2013-09-10 17:07:59 -07:00
Gregory Szorc
099b5e4a15 Bug 914500 - Upgrade virtualenv to 1.10.1; r=mshal 2013-09-10 17:07:12 -07:00
Mike Hommey
6889ad2ada 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
8b192e2bbe 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
0dfbdd1ca3 Bug 914394 - Handle WindowsError on non-Windows; r=ted 2013-09-10 09:03:43 -07:00
Nathan Froyd
5657bb3c0f 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
de1b85fcb6 Bug 912197 - part 3 - emit WebIDL objects during traversal; r=gps 2013-09-05 11:19:33 -04:00
Nathan Froyd
25bc4a9158 Bug 912197 - part 2 - add WebIDL variables to the sandbox; r=gps 2013-09-05 11:19:11 -04:00
Nathan Froyd
20680c8301 Bug 912197 - part 1 - add classes for WebIDL source files; r=gps 2013-09-05 11:18:55 -04:00
Gregory Szorc
363717ec51 Bug 914411 - Option to force mach build to use pymake; r=glandium 2013-09-09 22:28:36 -07:00
Gregory Szorc
cea88b0387 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
f36f4ff254 Backout 2b3846b0c06c for bad bug number in commit message 2013-09-09 12:43:45 -07:00
Gregory Szorc
483d49a42c 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
486a5c3769 Merge m-c to inbound. 2013-09-06 12:31:58 +02:00
Ms2ger
7f80fc1f7a Bug 910251 - Support LOCAL_INCLUDES in moz.build; r=gps 2013-09-06 08:41:04 +02:00
Gregory Szorc
12d575f3db 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
de6de9a266 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
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Mike Hommey
81fd05ae2c Bug 912293 - Add a generic header and footer to generated Makefiles. r=gps 2013-09-05 09:01:45 +09:00
Gregory Szorc
9e730ecb1e Bug 908977 - Generate XPIDL-derived headers directly into dist/include; r=glandium 2013-09-04 16:52:56 -07:00
Gregory Szorc
ea490cb122 Bug 896797 - Part 3: Use install manifests for managing dist/include; r=glandium 2013-09-03 22:51:58 -07:00
Ed Morley
8b93dd6774 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
6e2ce332aa Bug 896797 - Part 3: Use install manifests for managing dist/include; r=glandium 2013-09-03 22:51:58 -07:00
Gregory Szorc
63350a4987 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Phil Ringnalda
d0f16d5486 Back out ce03cc2994aa:ae9f95fc1136 (bug 896797) for SpiderMonkey shell build bustage
CLOSED TREE
2013-09-03 23:21:30 -07:00
Gregory Szorc
2b5f3df5d4 Bug 896797 - Part 3: Use install manifests for managing dist/include; r=glandium 2013-09-03 22:51:58 -07:00
Gregory Szorc
9df929a380 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Gregory Szorc
8f08f64511 Bug 911957 - Handle build output between BUILDSTATUS events; r=glandium 2013-09-03 22:30:12 -07:00
Gregory Szorc
dc124f7efb Bug 911375 - Part 1: Add support for optional existing files; r=glandium 2013-09-03 22:16:47 -07:00
Phil Ringnalda
891e62de26 Back out cc6f66e761d8 (bug 896797) for Windows build bustage
CLOSED TREE
2013-09-03 21:55:21 -07:00
Gregory Szorc
3e38679ec7 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Gregory Szorc
5ab06bd117 Bug 911362 - FileCopier support for not removing unreferenced files; r=glandium 2013-09-03 19:38:07 -07:00
Joshua Cranmer
24cd627eda Bug 910540 - Add moz.build logic for major library variables, r=glandium. 2013-09-02 22:04:25 -05:00
Joshua Cranmer
f6b2473ad5 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
74506cdb6d Bug 910096 - Treat js/src differently from other "static" directories. r=gps 2013-08-30 11:12:23 +09:00
Mike Hommey
a0707cd256 Bug 909077 - Remove useless STATIC_DIRS and EXTERNAL_DIRS variables. r=gps 2013-08-30 11:10:19 +09:00
Ryan VanderMeulen
fd8cb786a2 Merge inbound to m-c. 2013-08-29 00:00:10 -04:00
Andrew Halberstadt
cb75f151ad 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
3aa09fee48 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
3bfcccec9b 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
3db8a42be0 Bug 906177 - Make bootstrap compatible with Elementary OS. r=gps 2013-08-28 08:03:26 -04:00
Andrew Halberstadt
65d6003c28 Bug 901972 - Add ability to filter mach commands at runtime, r=gps 2013-08-26 17:33:10 -04:00
Jan Beich
a3c2a0f455 Bug 908637 - Add bootstrap support for FreeBSD. r=gps 2013-08-26 11:07:34 -04:00
Gregory Szorc
be23c45e97 Bug 908977 - Ensure added XPIDL files result in xpt rebuild; r=glandium 2013-08-25 19:21:40 -07:00
Gregory Szorc
890069eda8 Bug 908977 - Build all XPIDLs when performing a partial tree build; r=glandium 2013-08-25 19:21:18 -07:00
Gregory Szorc
4aae58c4bb 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
ce92d7360d Bug 908296 - Upgrade psutil to version 1.0.1; rs=glandium 2013-08-23 10:18:57 -07:00
Ryan VanderMeulen
43c31c1f9d Backed out changesets 1ad8a6674785 and ed0b6a11532d (bug 908296) for OSX mach bustage. 2013-08-23 12:18:18 -04:00
Landry Breuil
5cdb9c3b59 Bug 908074 - Update OpenBSD mozboot backend to install dbus-glib/gstreamer/pulseaudio r=gps 2013-08-23 09:22:53 +02:00
Gregory Szorc
884bea2df7 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
801fbf10c1 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
17cc08ef7e 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
66b48f8664 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
0b5f94b524 Bug 854611 - Notification Center notification when a long build completes; r=ted
DONTBUILD (NPOTB)
2013-08-22 12:48:18 -07:00
Andrew Halberstadt
02b6e70d9b Bug 907552 - Add ability to specify cwd to MozbuildObject.from_environment(), r=gps 2013-08-22 15:24:40 -04:00
Masatoshi Kimura
6b18d580a4 Bug 907968 - Remove a useless (even harmful) log. r=gps 2013-08-22 22:44:19 +09:00
Ms2ger
74462466d7 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
c3da57d811 Bug 904831 - Part a: Support MSVC_ENABLE_PGO in moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
0747462b80 Bug 883284 - Part a: Support LIBXUL_LIBRARY in moz.build; r=mshal 2013-08-22 08:55:59 +02:00
Ms2ger
68aab516eb Bug 882859 - Part a: Introduce FAIL_ON_WARNINGS into moz.build; r=gps 2013-08-22 08:55:58 +02:00
Gregory Szorc
d5e6212853 Bug 907049 - Cache unicode representation of substs variables; r=glandium 2013-08-21 09:16:31 -07:00
Mike Hommey
96d7f379c9 Fixup for bug 906101 breaking make clean on a CLOSED TREE. r=me 2013-08-21 08:59:29 +09:00
Gregory Szorc
962efc1ea1 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
c81fb7c523 Bug 883209 - Part 2: Add HTML interface to render build resource usage; r=glandium 2013-08-20 10:42:28 -07:00
Gregory Szorc
bf758ccc9d Bug 883209 - Part 1: Record system resource usage of builds; r=glandium 2013-08-20 10:42:25 -07:00
Sahil Chelaramani
dc4722e99e Bug 891849 - mach's terminal magic causes weird jumps to the bottom. r=gps 2013-08-20 08:30:25 -04:00
Gregory Szorc
61a66aa0f0 Bug 905879 - More robust tier tracking; r=glandium 2013-08-20 00:06:32 -07:00
Phil Ringnalda
f24201fc10 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
6fb66ecabe 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
ce9125975a Bug 901811 - Unify code paths for loading mozconfigs; r=ted 2013-08-16 16:57:17 -07:00
Chris Manchester
9da543af3a 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
5cdc0fbec2 Bug 905490 - Avoid "mach python" logging the python command. r=gps 2013-08-15 23:45:09 +09:00
Mike Hommey
1660a86961 Bug 905074 - Hide build status markers when not building with mach. r=gps 2013-08-15 23:45:08 +09:00
Gregory Szorc
d73a87f56d Bug 850380 - Ensure xpidl Makefile is regenerated properly; r=glandium 2013-08-14 17:58:30 -07:00
Gregory Szorc
df453f8483 Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Ryan VanderMeulen
fab2c2a3c8 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
ea32554eae Bug 850380 - Ensure .xpt files are written in binary mode (windows bustage) 2013-08-14 10:13:55 -07:00
Gregory Szorc
d87c91cf0c Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Mike Hommey
fe5663cc61 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
b78f82127c 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
febf24bb96 Merge inbound to m-c. 2013-08-09 19:08:45 -04:00
Gregory Szorc
b1fe3da835 Bug 902389 - Normalize topobjdir; r=mshal 2013-08-09 12:04:15 -07:00
Matt Brubeck
ac0a131eac 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
725466ff53 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
02163ee09b 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
50634577d5 Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Gregory Szorc
97d35e6062 Bug 900569 - Support writing install manifests from recursivemake backend; r=glandium 2013-08-01 17:42:47 -07:00
Jim Blandy
4740dad5ee Bug 899342: Implement '+gdbparams' argument for 'mach debug'. r=gps 2013-08-01 17:10:30 -07:00
Ted Mielczarek
2a81b7cc9b 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
1340edfe51 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
fcfe6983ba Bug 897458 - Move EXTRA_PP_JS_MODULES to moz.build; r=gps 2013-08-02 09:03:25 +02:00
Gregory Szorc
160a182259 Bug 899241 - Add process_install_manifest build action; r=glandium 2013-07-30 16:58:33 -07:00
Ryan VanderMeulen
70fbb1997c 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
e0fc597437 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
b73d820911 Bug 899241 - Add process_install_manifest build action; r=glandium 2013-07-30 16:58:33 -07:00
Gregory Szorc
8b11dbaf71 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
c079fd38e7 Bug 794580 - mach mercurial-setup; r=nalexander
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : b5cfc81d1a0537b5ae25a76c3ccc604383f60f6c
2013-07-29 16:58:40 -07:00
Mike Hommey
9ee3275de6 Bug 893976 - Avoid importing buildconfig globally from mozpack.executables. r=gps 2013-07-30 08:57:28 +09:00
Mike Hommey
6f4872e2a3 Bug 893976 - Use (cached) regular expressions for mozpack.path.match. r=gps 2013-07-30 08:57:27 +09:00
Mike Hommey
ddc2207644 Bug 893976 - Allow to skip FileFinder executables detection. r=gps 2013-07-30 08:57:27 +09:00
Ms2ger
3c48262d76 Merge m-c to inbound. 2013-07-24 11:53:22 +02:00
Ms2ger
ecf57dad00 Bug 888643 - Part a: Support CPP_UNIT_TESTS in moz.build files; r=gps 2013-07-24 09:20:00 +02:00
Gregory Szorc
679bf8971f Bug 890097 - Part 4: Fix unit test for FileCopier; r=bustage 2013-07-23 16:02:59 -07:00
Gregory Szorc
2886864385 Bug 890097 - Part 3: Capture detailed information for FileCopier actions; r=glandium 2013-07-23 14:37:04 -07:00
Gregory Szorc
6811c4223f Bug 890097 - Part 2: InstallManifest class for managing file installs; r=glandium 2013-07-23 14:36:40 -07:00
Gregory Szorc
60c6511cab Bug 890097 - Part 1: Use more Pythonic API for PurgeManifest; r=glandium 2013-07-23 14:35:01 -07:00
Gregory Szorc
16412ac12d Bug 897045 - Properly handle extra make arguments if there is no mozconfig; r=mshal 2013-07-23 13:59:12 -07:00
Mike Hommey
19264af46b Bug 894763 - Default objdir should reflect target, not host. r=gps 2013-07-23 07:26:09 +09:00
Gregory Szorc
569e063c11 Bug 894746 - Properly truncate mach build terminal footer; r=ted
DONTBUILD (NPOTB)
2013-07-19 13:40:00 -07:00
Gregory Szorc
94f57948a0 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
d333d320a7 Bug 894776 - mach doesn't properly handle spaces in mozconfig commands. r=gps 2013-07-18 15:25:36 +09:00
Gregory Szorc
2b01dc1c2f Bug 845050 - FileCopier support for symlinks; r=glandium 2013-07-17 11:44:33 -07:00
Gregory Szorc
8699441f2f 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
3037c60a23 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
00c7fc10ec Merge mozilla-central and inbound 2013-07-16 10:02:20 +01:00
Gregory Szorc
58177c47ea Bug 894197 - Define state directory in mach context object; r=jhammel
DONTBUILD (NPOTB)
2013-07-15 19:56:15 -07:00
Andrew Wilcox
8f29ae6f7c Bug 893723 - Ignore trailing '+' in Mercurial version string; r=gps
DONTBUILD (NPOTB)
2013-07-15 04:15:00 -07:00
Mark Hammond
4d820fde36 Bug 886162 - prevent 'mach build testing' from building the entire tree. r=gps 2013-07-16 14:27:19 +10:00
Justin Lebar
3cb471612c No bug - Pick a grammar nit in mach's clobber.py. r=me DONTBUILD 2013-07-12 00:09:51 -04:00
Gregory Szorc
329e5f905d 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
19850b9b8e 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
ac5c16fc34 Merge latest green inbound changeset and mozilla-central 2013-07-09 08:47:47 +01:00
Gregory Szorc
ebf521fa21 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
378bfe556b 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
c38d464f0b Merge m-c and inbound. 2013-07-03 16:39:33 -04:00
Gregory Szorc
107928e90b 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
a4120936bf Merge inbound and m-c. 2013-07-03 14:04:16 -04:00
Gregory Szorc
d561e39bd3 Bug 886498 - Obtain lock before writing to terminal; r=ted
DONTBUILD (NPOTB)
2013-07-03 10:06:52 -07:00
Mike Shal
d5df6bb361 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
87f416aced 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
26b6273c6d 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
c8b38d2710 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
Gregory Szorc
3ef46f57c8 Bug 887814 - Don't use mp-clang in MacPorts bootstrapper; r=BenWa
--HG--
extra : rebase_source : 1513b7f62d62e5250a9382d0ac8ba1f3df8890ab
2013-06-28 14:46:56 -07:00
Nick Alexander
af8ed74358 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
9ac855a180 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
4fad2d476e bug 888009: move HOST_CPPSRCS to mozbuild (logic) r=gps 2013-07-03 08:56:33 -04:00
Gregory Szorc
33fb0579f9 Bug 889678 - Fix mozpack purge manifest tests and bug in version detection code; r=glandium 2013-07-02 22:55:55 -07:00
Nick Alexander
7a82c120fd Bug 818744 - mach commands to run Python and Python unit tests. r=gps
DONTBUILD because NPOTB
2013-07-02 17:33:48 -07:00
Mike Shal
3afe016690 Bug 880245 - Convert JS_MODULES_PATH to be relative to $(FINAL_TARGET); r=gps 2013-06-17 13:59:49 -04:00
Ryan VanderMeulen
a50162f1d7 Backed out changeset 94c939eeb5f6 (bug 885019) for bustage. 2013-06-26 10:14:08 -04:00
Brian O'Keefe
8b810c4a1a 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
Ehsan Akhgari
86c57d04d0 Backed out 2 changesets (bug 884587) because of Windows build bustage on a CLOSED TREE
Backed out changeset 0244a34bc419 (bug 884587)
Backed out changeset 796961a384b4 (bug 884587)
2013-06-25 16:38:55 -04:00
Gregory Szorc
9f69f982a3 Bug 884587 - Part 2: Add EXPORTS files to purge manifest; r=glandium 2013-06-25 11:04:06 -07:00
Gregory Szorc
b39bae5dc8 Bug 884587 - Part 1: Perform file removal with purge manifests; r=glandium 2013-06-25 11:04:03 -07:00
Ryan VanderMeulen
66ccaf8f81 Backed out 2 changesets (bug 884587)
Backed out changeset 447ff64adbb1 (bug 884587)
Backed out changeset 8d90527c22c6 (bug 884587)
2013-06-25 15:22:37 -04:00
Gregory Szorc
95117da528 Bug 884587 - Part 2: Add EXPORTS files to purge manifest; r=glandium 2013-06-25 11:04:06 -07:00
Gregory Szorc
184599b8bf Bug 884587 - Part 1: Perform file removal with purge manifests; r=glandium 2013-06-25 11:04:03 -07:00
Gregory Szorc
2ab9db3663 Bug 885572 - Fix upgrade_mercurial() in bootstrapper; r=khuey
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 3aa99eb3b3d2d273e4882779bb527ac96f757ef6
2013-06-24 10:23:14 -07:00
Edwin Flores
7b2237ff88 Bug 794282 - Add gstreamer packages to bootstrap scripts r=gps 2013-06-22 11:17:32 +12:00
Gregory Szorc
8a5a1dded6 Bug 884569 - Support for removing untracked files from a directory; r=glandium
--HG--
extra : rebase_source : e98fcbf839085ad6bc2e7a8fd3353834557caeec
2013-06-19 19:57:48 -07:00
Gregory Szorc
3e48e57775 Bug 884028 - Acquire lock before writing to terminal; r=ted
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 373c1fa5e47a2493970da0412788c55b9bdd9ef8
2013-06-19 12:10:57 -07:00
Joey Armstrong
6c91c3d1da bug 881344: move SHARED_LIBRARY_LIBS to mozbuild (logic). r=gps 2013-06-19 10:51:46 -04:00
Joey Armstrong
c141237860 bug 882907: move SDK_LIBRARY to mozbuild (logic) r=gps 2013-06-18 10:45:53 -04:00
Gregory Szorc
42ecd5cf32 Bug 872231 - Bootstrapper ensures Python 2.7.3 and Mercurial 2.5 are installed; r=ted
DONTBUILD (NPOTB)
2013-06-17 09:51:40 -07:00
Joey Armstrong
7d256d6138 bug 882904: move LIBS to moz.build (logic). r=gps 2013-06-14 15:33:45 -04:00
Gregory Szorc
9b2727baba Bug 879406 - Unbust |mach help| when arguments are not prefixed with '-'; r=ted
DONTBUILD (NPOTB)
2013-06-14 09:44:33 -07:00
Kevin Everets
b8f2911fa0 Bug 880371 - Add debian bootstrapping for mach. r=gps
Nearly the same as Ubuntu bootstrap, but uses the build dependencies from Debian's "iceweasel" package instead.
2013-06-06 14:14:31 -04:00
Mike Shal
7f2d09a297 Bug 880245 - move EXTRA_JS_MODULES to moz.build (logic); r=gps
From 20ae951b53609df92b021ae1dd52ae833f488f3e Mon Sep 17 00:00:00 2001
2013-06-10 11:54:44 -04:00
Arnaud Sourioux
ee2a30f335 Bug 881624 - Use Textwrap on mach's need-to-clobber help output. r=gps 2013-06-13 11:28:26 -04:00
Benoit Girard
0d44f34246 Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check

--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 862c39b9145328c8e9f85ae9d1963af374af76f1
2013-03-11 14:47:40 -04:00
Gregory Szorc
49d5e53aad Bug 882160 - Unbust mach mozbuild-reference; r=ted
Regressed from bug 863069.

--HG--
extra : rebase_source : ed545daf8e6c60817e99407a9be360b5e85576e6
2013-06-12 13:17:49 -07:00
Joey Armstrong
4a99ca86a3 bug 880246: move EXTRA_PP_COMPONENTS to moz.build (logic). r=gps 2013-06-12 13:51:10 -04:00
Joshua Cranmer
fa0044a326 Bug 869635 - Eliminate the xpcshell master manifest, r=gps. 2013-06-12 07:27:17 -05:00
Brian O'Keefe
b36947dfb0 Bug 875934 - Part 1: Move LIBRARY_NAME from Makefile.in to moz.build - moz.build support. r=ted 2013-05-24 10:49:12 -04:00
Arnaud Sourioux
79296bec80 Bug 878861 - Preseve 80 cols output with mach's timestamp. r=gps 2013-06-10 22:08:00 -04:00
Gregory Szorc
8bced55b3b Bug 878089 - mach shouldn't fail if terminal couldn't be configured; r=ted
DONTBUILD (NPOTB)
2013-06-10 16:16:25 -07:00
Joey Armstrong
34c71ef60b bug 880773: move SSRCS to moz.build (logic). r=ted 2013-06-10 09:59:42 -04:00
Joey Armstrong
8bec8839db bug 872087: move HOST_LIBRARY to moz.build (logic) r=ted 2013-06-07 17:00:19 -04:00
Joey Armstrong
05ffce93db bug 875549: move HOST_CSRCS to moz.build (logic) r=ted 2013-06-06 16:29:57 -04:00
Joey Armstrong
7ef37edc87 bug 870370: move EXTRA_COMPONENTS to moz.build (logic). r=ted 2013-06-06 10:22:32 -04:00
Joey Armstrong
bfff7a989d bug 870407: move CMMSRCS to moz.build (logic). r=ted 2013-06-05 14:34:56 -04:00
Ted Mielczarek
1c90df8a68 Bug 878043 - allow get_binary_path to return a path for any binary. r=glandium 2013-05-30 08:37:37 -04:00
Ehsan Akhgari
36eed3e6db Bug 878859 - Remove the mach clippy avatar; r=ted
DONTBUILD since this is not part of the build!
2013-06-03 15:46:23 -04:00
Landry Breuil
c264a51680 Bug 873720 - only import psutil on platforms that it supports. r=ted 2013-05-30 21:23:46 +02:00
Phil Ringnalda
4aec020413 Back out dc76402b8471 (bug 844288) on suspicion of breaking dep builds
CLOSED TREE
2013-05-31 07:39:56 -07:00
Ryan VanderMeulen
6cc0b1afaa Merge inbound to m-c.
--HG--
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
2013-05-30 20:50:16 -04:00
Ehsan Akhgari
5aabd1ebc1 Bug 863754 - Make mach run and mach debug pass -foreground by default on Mac; r=ted
DONTBUILD since this is NPOTB.
2013-05-30 14:50:11 -04:00
Phil Ringnalda
ad4c150cb3 Back out 816311e43409 (bug 844288) on suspicion of causing dep OS X universal builds to fail in packaging
CLOSED TREE
2013-05-29 23:42:20 -07:00
Benoit Girard
908b9e495b Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check

--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 5b9be0892323195d4e24f11ae785f0663ff38fd0
2013-03-11 14:47:40 -04:00
Ted Mielczarek
e2f187d18e Bug 875576 - Teach get_binary_path how to get paths from the staged-package directory. r=gps 2013-05-28 15:33:49 -04:00
Ted Mielczarek
cfb4755f27 bug 855262 - add MozbuildObject.from_environment. r=glandium 2013-05-28 15:33:22 -04:00
Benoit Girard
397d220ef5 Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check

--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 04c9c2efbc7db1c04c121cf3022612b488f83eb4
2013-03-11 14:47:40 -04:00
Mike Shal
8e06581fc0 Bug 864774 - Part 1: Support CPP_SOURCES in moz.build; r=gps
From 634fb39c43c258feca8c814c450cd9dfe30a8353 Mon Sep 17 00:00:00 2001
2013-04-23 10:44:33 -04:00
Gregory Szorc
a3fee76abf Bug 875512 - Part 2b: More bustage fix to original patch; r=ted 2013-05-23 16:50:21 -07:00
Gregory Szorc
a5b0db124a Bug 873720 - Part 4: Display a build progress indicator; r=ted 2013-05-23 16:28:10 -07:00
Gregory Szorc
6c39c3c2ea Bug 873720 - Part 3: Track build state in build monitor; r=ted 2013-05-23 16:28:10 -07:00
Gregory Szorc
5fff5f728f Bug 873720 - Part 2: Move mach's build monitoring logic into mozbuild core; r=ted 2013-05-23 16:28:10 -07:00
Gregory Szorc
6390b96832 Bug 875512 - Part 2: Followup mach bustage; r=me 2013-05-23 16:27:37 -07:00
Gregory Szorc
015998f1a2 Bug 875512 - mach now invokes pymake with an explicit python executable; r=ted 2013-05-23 14:44:35 -07:00
Joey Armstrong
c8f6b8160a bug 874266: move DEFINES to moz.build (logic), r=gps 2013-05-23 14:30:58 -07:00
Joey Armstrong
8f6fd44283 bug 872086: move SIMPLE_PROGRAMS to moz.build (logic), r=gps. 2013-05-22 15:43:35 -07:00
Joey Armstrong
2f426a273d bug 870406: move CSRCS to moz.build (logic) r=gps 2013-05-22 14:28:55 -07:00
Gregory Szorc
2a834196e7 Bug 874471 - Handle mach command help more robustly; r=ted
DONTBUILD (NPOTB) on a CLOSED TREE
2013-05-21 15:37:06 -07:00
Kartikaya Gupta
5469b97406 Bug 860898 - Add a verbose flag to mach build options. r=gps 2013-05-21 09:52:44 -04:00
Gregory Szorc
d68186dcef Bug 874078 - Move RecursiveMakeBackend.built rule to rules.mk; r=glandium 2013-05-20 23:26:20 -07:00
Gregory Szorc
3d9c02c05e Bug 873809 - Proper dependencies under pymake; r=khuey
--HG--
extra : rebase_source : dddc589c1052470312644b7f5f4e41e566e824e6
2013-05-19 13:19:00 -07:00
Gregory Szorc
2ef5ff2f09 Bug 848530 - Check for moz.build traversal at top of build; r=glandium
One of the first actions an invoked Makefile now does is check to see if
*any* moz.build file or Makefile.in is out of date. If so, config.status
is executed to rebuild the build backend.

Since we always perform this check as part of a build, we no longer need
special handling for out of date moz.build files during traversals. This
results in the removal of a significant amount of code!

Another upside of the change is that if a moz.build file is modified
during building, we don't (potentially) modify the build backend from
under the in-progress build. Thus the only race condition that remains
is if a moz.build is mutated during moz.build reading. This window (a
few seconds) is significantly shorter than the time of a full build
(minutes).

This patch should also enable us to remove empty Makefile.in files
without requiring a clobber.
2013-05-17 10:54:56 -07:00
Ryan VanderMeulen
5b207a88f1 Merge m-c to inbound. 2013-05-16 20:30:29 -04:00
Ryan VanderMeulen
91eae578bd Merge inbound to m-c. 2013-05-16 20:29:40 -04:00
Jan Keromnes
83f967e360 Bug 873216 - Fixed a typo in ./mach help; r=gps
DONTBUILD (NPOTB)
2013-05-16 12:59:00 -07:00
Gregory Szorc
2c9a5ec94a Bug 863069 - Part 5: Require sorted lists in moz.build files; r=ted
--HG--
extra : rebase_source : c5b91990944e3cc19d3759b894e41d88e42032cd
2013-05-14 15:13:37 -07:00
Ryan VanderMeulen
b61cf72937 Merge inbound to m-c. 2013-05-15 21:26:11 -04:00
Ryan VanderMeulen
3e297204ce Merge inbound to m-c. 2013-05-15 21:14:58 -04:00
Matt Brubeck
1f808bd8c9 Bug 799680 - Add a bash completion script for mach [r=gps]
DONTBUILD (not part of the build)
2013-05-15 17:00:01 -07:00
Matt Brubeck
256d6a4bf4 Bug 872807 - Make mach command names case-insensitive [r=gps]
DONTBUILD (not part of the build)
2013-05-15 16:58:11 -07:00
Joey Armstrong
b1e4956089 bug 869135: move ASFILES to moz.build (logic only). r=gps 2013-05-15 16:02:32 -04:00
Matt Brubeck
49ecfaa937 Bug 863709 - Add a +remote option to "mach run" and "mach debug" to disable -no-remote [r=gps]
DONTBUILD (not part of the build)
2013-05-13 14:09:09 -07:00
Ed Morley
cb2a0bbccd Merge latest green inbound changeset and mozilla-central 2013-05-10 09:13:03 +01:00
Ms2ger
30e5ae9b11 No bug - Fix mach's highlighting of 'TEST-UNEXPECTED-FAIL'; oy-r=gps 2013-05-10 09:13:32 +02:00
Gregory Szorc
04177dc5e6 Bug 870575 - Upgrade psutil to 0.7.1; rs=me
Archive obtained from
https://psutil.googlecode.com/files/psutil-0.7.1.tar.gz and checked in
with no modifications.
2013-05-09 15:39:30 -07:00
Nick Hurley
b4df2f2093 bug 870168 - make mach handle multiple logged-in users properly r=gps DONTBUILD (NPOTB) 2013-05-08 18:06:17 -07:00
Gregory Szorc
298c09657e Bug 856392 - Categorize mach commands; r=jhammel
DONTBUILD (NPOTB)
2013-05-08 17:56:30 -07:00
Dave Vasilevsky
876f275808 Bug 862562 - Fix mozboot on 10.6. r=gps 2013-05-02 12:51:10 -04:00
Brian O'Keefe
8d90859ddb Bug 862986 - Part 2a: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-05-01 14:05:40 -04:00
Gregory Szorc
5f9b04946f Bug 863069 - Part 3: Allow limited type coercion in moz.build sandbox; r=ted
We now differentiate between the stored and incoming types on global
variables. If an incoming type is not the stored type but is an allowed
type, we construct the stored type from the incoming value.
2013-05-16 09:53:14 -07:00
Ryan VanderMeulen
943e6d25b1 Merge m-c to inbound. 2013-05-15 21:17:10 -04:00
Mike Hommey
a84bb6be55 Bug 871080 - Send chrome manifest entries first to package formatters, before e.g. resource manifest entries. r=gps 2013-05-15 19:22:46 +02:00
James Willcox
4f82fe4a95 Bug 867966 - Add --jobs,-j option to 'mach build' r=gps
--HG--
extra : rebase_source : a1c1e0b371c11446a45025e03332a165699c78bf
2013-05-02 17:05:24 -04:00
Ryan VanderMeulen
05cfec22ce Merge m-c to inbound. 2013-05-02 07:39:49 -04:00
Edmund Wong
e1e5ecb16f Bug 867033 - Check self.wall_time for being zero. r=gps 2013-05-02 13:05:53 +08:00
Nick Alexander
5555792721 Bug 677452 - Add smartmake-like functionality to |mach build DIR|. r=gps 2013-05-01 15:36:05 -07:00
Benoit Girard
b33454db9a Bug 867372 - Mach gtest doesn't work with default test filter on windows. r=gps NPOTB 2013-05-01 16:54:08 -04:00
Ryan VanderMeulen
8dd4074205 Backed out changesets c7937fb5f4bb and cf8db9b6bd61 (bug 862986) for bustage.
CLOSED TREE
2013-04-30 21:09:41 -04:00
Brian O'Keefe
7422d5ac7b Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-04-30 20:46:10 -04:00
Ryan VanderMeulen
b6cc74b921 Backed out changesets 64c7ba1d3d04 and 7e9d5bb4a9af (bug 862986) for test failures. 2013-04-30 10:08:38 -04:00
Brian O'Keefe
0baa2a32d6 Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-04-30 09:08:31 -04:00
Joey Armstrong
3d79ece8fc bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:48:59 -04:00
Brian O'Keefe
ecdf115619 Bug 865445 - Add 'configure' command to mach to rebuild the backend. r=gps 2013-04-26 10:11:00 -04:00
Ed Morley
8b08daaf17 Bug 863091 - Followup: Fix test to expect correct return code after clobber
CLOSED TREE
2013-04-25 14:43:53 +01:00
Ed Morley
d46314dc33 Bug 863091 - Make auto clobbering opt-in rather than opt-out; r=glandium
To avoid surprises for devs building locally, auto clobbering is now opt-in, via
the use of |mk_add_options AUTOCLOBBER=1| in the mozconfig. Our automation uses
build/mozconfig.common which specifies this, so auto clobber will remain enabled
for our buildbot machines.
2013-04-25 13:41:17 +01:00
Jacek Caban
a0eb2d705a Bug 865216 - Recognize exacutables on WINNT in is_executable. r=glandium 2013-04-25 10:02:37 +02:00
Ehsan Akhgari
ca7d2a7125 Bug 863092 - Make mach run and mach debug run firefox -no-remote; r=gps
DONTBUILD
2013-04-19 09:03:09 -04:00
Mike Hommey
b7e1764ebe Bug 861453 - Restore empty substs after bug 857557, but put them in a separate file, unlisted as a dependency for everything. r=gps 2013-04-16 08:23:18 +02:00
Mike Hommey
d9bc5e1304 Backout changeset 0ff383d4a899 (bug 861453) for universal builds bustage 2013-04-16 09:18:06 +02:00
Mike Hommey
d64a195ccb Bug 861453 - Restore empty substs after bug 857557, but put them in a separate file, unlisted as a dependency for everything. r=gps 2013-04-16 08:23:18 +02:00
Ted Mielczarek
1a9ca1b9c4 bug 857383 - Don't try to print the app path for a partial build. r=gps 2013-04-10 11:39:46 -04:00
Mike Hommey
db0e799a83 Bug 857557 - Avoid autoconf.mk being modified for new other-platform-specific variables. r=gps 2013-04-10 09:02:11 +02:00
Mike Hommey
9a8ea8e0f4 Bug 462463 - Stop using mddepend.pl. r=ted 2013-04-09 15:10:25 -07:00
Mike Shal
e3f6b83988 Bug 846634 - Part 1: Support EXPORTS[_NAMESPACES] in moz.build; r=gps
---
 python/mozbuild/mozbuild/backend/recursivemake.py  |   22 ++++++
 python/mozbuild/mozbuild/frontend/data.py          |   12 +++
 python/mozbuild/mozbuild/frontend/emitter.py       |    5 ++
 .../mozbuild/mozbuild/frontend/sandbox_symbols.py  |   16 ++++
 python/mozbuild/mozbuild/test/backend/common.py    |    5 ++
 .../mozbuild/test/backend/data/exports/moz.build   |    8 ++
 .../mozbuild/test/backend/test_recursivemake.py    |   22 ++++++
 .../mozbuild/test/frontend/data/exports/moz.build  |   15 ++++
 .../mozbuild/test/frontend/test_emitter.py         |   37 +++++++++
 .../mozbuild/test/frontend/test_sandbox.py         |    8 ++
 python/mozbuild/mozbuild/test/test_util.py         |   71 +++++++++++++++++
 python/mozbuild/mozbuild/util.py                   |   81 ++++++++++++++++++++
 12 files changed, 302 insertions(+)
 create mode 100644 python/mozbuild/mozbuild/test/backend/data/exports/moz.build
 create mode 100644 python/mozbuild/mozbuild/test/frontend/data/exports/moz.build
2013-04-09 13:00:06 -04:00
Ehsan Akhgari
ac14fd4510 Bug 857600 - Add a mach command for debugging using gdb; r=gps
--HG--
extra : rebase_source : 85d0d7e717eb8ee92a61bd0ce7fd310ac2d3d715
2013-04-03 11:16:03 -04:00
Gregory Szorc
3e0e163c34 Bug 857984 - mach mochitest now colorizes and prints failure summary; r=Ms2ger 2013-04-04 15:17:23 -07:00
Matt Brubeck
b4b1d3a327 Bug 859349 - Saving .mozbuild/warnings.json fails if .mozbuild doesn't exist [r=gps] 2013-04-08 11:14:33 -07:00
Gregory Szorc
d93f593627 Bug 837323 - Automatically clobber when CLOBBER is updated; r=ted, glandium 2013-03-29 10:34:58 -07:00
Ryan VanderMeulen
ef526e586a Backed out changesets 206bb159d62f, a6ab3e11f721, and a61aa08ab4ac (bug 837323) for frequent Windows fatal clobber errors on a CLOSED TREE. 2013-04-08 09:59:45 -04:00
Mike Hommey
f4254c92f1 Bug 858393 - Avoid race condition creating directories in config.status. r=gps 2013-04-08 08:35:14 +02:00
Ms2ger
124aabc9f4 Backout changeset e1bddda508fe for double logging when running mochitests through mach. 2013-04-07 10:11:11 +02:00
Gregory Szorc
5d06e0201d Bug 857984 - mach mochitest now colorizes and prints failure summary; r=Ms2ger
--HG--
extra : rebase_source : 97900c2bf0aaa83a3a9fa5e4dc88901140f66e60
2013-04-04 15:17:23 -07:00
Matt Brubeck
3f0f8c28e7 Bug 855593 - Support ac_add_app_options in mozbuild.mozconfig [r=gps] 2013-04-03 15:42:16 -07:00
Ryan VanderMeulen
7cdb0c1b8c Merge m-c to inbound. 2013-04-03 13:47:31 -04:00
Timur Timirkhanov
aa7fc133a5 Bug 843492 - Bootstrapping fails using Python 3x due to urllib2; r=gps
DONTBUID (NPOTB)
2013-04-03 05:38:00 -07:00
Matt Brubeck
8bf35c2e8e Bug 857332 - Normalize topobjdir to an absolute path in mozbuild.base [r=gps] 2013-04-03 10:15:12 -07:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Ms2ger
85f87d7774 Bug 837323 - Followup: fix silly bug. 2013-04-01 09:47:45 +02:00
Kyle Machulis
43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Gregory Szorc
abd847026c Bug 837323 - Bustage followup; r=me 2013-03-29 11:23:07 -07:00
Gregory Szorc
3e2b83c475 Bug 837323 - Automatically clobber when CLOBBER is updated; r=ted 2013-03-29 10:34:58 -07:00
Benoit Girard
26bfdf2266 Bug 844292 - Add a mach target for GTest. r=gps DONTBUILD as NPOTB
--HG--
extra : rebase_source : f1d1ad8c736f3c5bc42526b00b34ca0fba153861
2013-03-27 19:15:18 -04:00
Gregory Szorc
072881eb60 Bug 854545 - Don't validate Fennec binary exists; r=ted
--HG--
extra : rebase_source : 20ac79f0abf8662f58bb40c4382dbce9e6720751
2013-03-27 11:02:17 -07:00
Matt Brubeck
d6d05c27d4 Bug 841445 - Make 'mach help <command>' call print_help directly [r=gps]
DONTBUILD (not part of the build)
2013-03-26 11:15:08 -07:00
Matt Brubeck
a0320cb053 Bug 841445 - Add a 'mach run' command to launch the compiled binary [r=gps]
DONTBUILD (not part of the build)
2013-03-26 11:15:08 -07:00
Gregory Szorc
ea6c5fda4e Bug 854057 - Look for binaries in the proper path; r=trivial 2013-03-23 12:18:38 -07:00
Daniel Holbert
5bce0161ab Bug 854058: Fix typo in mach error message: s/occured/occurred/. r=gps DONTBUILD 2013-03-22 22:02:37 -07:00
Gregory Szorc
65056aa394 Bug 648681 - OS X bustage; r=bustage CLOSED TREE 2013-03-22 15:28:10 -07:00
Gregory Szorc
44dbef1d48 Bug 648681 - Bustage; r=bustage CLOSED TREE
--HG--
extra : rebase_source : ae176b2810212112b8d59f7bce2621f6308ed0b1
2013-03-22 15:18:50 -07:00
Gregory Szorc
9063db9bf5 Bug 648681 - Print useful information after building the tree; r=ted 2013-03-08 09:42:34 -08:00
Matt Brubeck
fb6866e656 Bug 853225 - Fix the mach usage line for subcommands [r=gps]
DONTBUILD (not part of the build)
2013-03-20 17:53:34 -07:00
Mike Hommey
45116cdee1 Bug 852950 - Use signature sniffing for Elf and Mach-O binaries for dependentlibs.py. r=ted 2013-03-20 20:11:16 +01:00
Mike Shal
7402c2dd45 Bug 844654 - Part 1: Support MODULE in moz.build; r=gps 2013-03-19 11:46:00 -07:00
Mike Hommey
cb76980333 Fixup for bug 852103. r=me 2013-03-19 06:59:53 +01:00
Mike Hommey
0e9991d4c8 Bug 852103 - Fix race condition with .deps directory creation. r=ted 2013-03-19 06:29:48 +01:00
Kyle Huey
62c6138093 Back out Bug 462463 for massively regressing pymake depend build speed. CLOSED TREE 2013-03-18 12:57:35 -07:00
Gregory Szorc
e1bfa9bcf4 Bug 844635 - Part 2: Don't require Makefile.in to exist; r=glandium 2013-03-17 18:01:10 -07:00
Gregory Szorc
0d04d82387 Bug 851975 - Don't use conditionals in backend.mk; r=ted 2013-03-17 16:57:44 -07:00
Mike Hommey
3a35c07850 Bug 462463 - Stop using mddepend.pl. r=ted 2013-03-17 07:43:35 +01:00
Paul Adenot
8f7fa73990 Bug 847918 - install command for mach. r=gps 2013-03-05 17:27:37 +01:00
Gregory Szorc
f84486996f Bug 844204 - Report high Finder CPU usage when building; r=ted 2013-03-14 12:42:06 -07:00
Gregory Szorc
e46038ecc7 Bug 846523 - Relax Unicode encoding requirements in moz.build files; r=ted
This should be only until bug 844509 is addressed.
2013-03-14 12:42:03 -07:00
Gregory Szorc
78de5261e6 Bug 851141 - Use appropriate config.status for external moz.build files; r=gps 2013-03-14 12:42:01 -07:00
Matt Brubeck
683b96e34f Bug 840690 - Improve handling of relative paths when running mach in subdirectories [r=gps] 2013-03-14 11:09:00 -07:00
Gregory Szorc
d424f41bfa Merge mozilla-central into inbound 2013-03-13 09:03:20 -07:00
Gregory Szorc
de55b5242b Merge mozilla-central into build-system
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Mike Shal
f7bf25fd88 Bug 818246 - Part 8: Support XPIDL_FLAGS in moz.build; r=gps 2013-03-12 10:09:00 -07:00
Mike Shal
02d464acc1 Bug 818246 - Part 6: Support XPIDL_MODULE in moz.build; r=gps 2013-03-12 10:08:00 -07:00
Gregory Szorc
c3338f7441 Bug 818246 - Part 3: Build system support for XPIDLSRCS in moz.build; r=glandium 2013-03-12 10:15:24 -07:00
Ted Mielczarek
c818a9f25e bug 824396 - implement mach buildsymbols. r=gps
--HG--
extra : rebase_source : 3c0a4ebaa2d5537368e40e4dbac2fcf784ad41be
2013-03-13 11:39:35 -04:00
Ryan VanderMeulen
ccda8b6b9f Backed out changeset 432f32e842dd (bug 648681) for test failures on a CLOSED TREE. 2013-03-08 14:19:42 -05:00
Gregory Szorc
2067e704b4 Bug 648681 - Print useful information after building the tree; r=ted 2013-03-08 09:42:34 -08:00
Gregory Szorc
279167e622 Bug 818246 - Part 2: Support moz.build -> Makefile variable passthru; r=glandium
--HG--
extra : rebase_source : c9a914e1466e74d079383ef1162a4d1f9959a05c
2013-03-07 05:05:03 -08:00
Mike Hommey
1ea119afac Bug 846740 - Treat chrome searchplugins as non-chrome when doing l10n-repack. r=gps 2013-03-06 07:28:41 +01:00
Mike Hommey
3de3597585 Bug 846740 - Move most l10n-repack code under mozpack.packager, refactor it, and add a unit test. r=gps
--HG--
rename : toolkit/mozapps/installer/l10n-repack.py => python/mozbuild/mozpack/packager/l10n.py
2013-03-06 07:26:32 +01:00
Mark Hammond
49406d28ae Bug 840568 - mach: handle @CONFIG_GUESS@ in MOZ_OBJDIR. r=gps 2013-03-12 10:04:51 +11:00
Nick Alexander
bc3f7d2b4d Bug 836208 - Part 3: Make tests handle Windows path separators. r=gps 2013-03-05 22:18:32 -08:00
Nick Alexander
ccef78a6a5 Bug 836208 - Part 2: Make |mach build some/Makefile| start one level up. r=glandium 2013-03-05 10:45:43 -08:00
Nick Alexander
0be8375533 Bug 836208 - Part 1: Factor resolve_target_to_make out of mozbuild.mach_commands. r=glandium 2013-03-05 10:45:41 -08:00
Ryan VanderMeulen
2e72c39d70 Backed out changesets 64bad42e13b7 and 1e2fc9c3b3c5 (bug 836208) for Windows test failures on a CLOSED TREE. 2013-03-05 15:31:45 -05:00
Nick Alexander
e8d7344d2f Bug 836208 - Part 2: Make |mach build some/Makefile| start one level up. r=glandium 2013-03-05 10:45:43 -08:00
Nick Alexander
52d3dfad77 Bug 836208 - Part 1: Factor resolve_target_to_make out of mozbuild.mach_commands. r=glandium 2013-03-05 10:45:41 -08:00
Ryan VanderMeulen
4a1ef4dfd0 Merge m-c to inbound. 2013-03-04 18:20:41 -05:00
Gregory Szorc
f757ba542c Bug 846409 - Add |mach mach-debug-commands|; r=jhammel
DONTBUILD (NPOTB)
2013-03-04 10:18:48 -08:00
Gregory Szorc
8442536e3f Backout 05914d4f27e3 and 231b7f8046d9 (bug 844635) for causing test failures 2013-03-02 17:36:53 -08:00
Gregory Szorc
e5ad4d7a1c Bug 844635 - Part 2: Don't require Makefile.in to exist; r=glandium 2013-03-01 14:44:09 -08:00
Gregory Szorc
75bfecd9a3 Bug 844635 - Part 1: mach command to find empty Makefile.in; r=glandium 2013-03-01 14:44:06 -08:00
Gary Kwong
e3f624c367 Bug 846519 - Running bootstrap.py throws a "NameError: global name HOMEBREW_PACKAGES is not defined" error. r=gps DONTBUILD (NPOTB) 2013-02-28 14:52:18 -08:00
Gregory Szorc
1d62e7e30f Bug 845089 - Followup: Handle Windows paths when detecting external source directories; r=khuey
This is related to work that landed in part 20 of bug 784841.
2013-02-28 14:25:10 -08:00
Gregory Szorc
26c3b82fb1 Bug 784841 - Part 20: Fixes to support building external projects; r=glandium
This is extremely hacky. It will likely need many refinements as we
figure out how we want external projects to be handled.
2013-02-28 12:56:40 +01:00
Ms2ger
aea301eee3 Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Ed Morley
2f417022fb Merge mozilla-central to mozilla-inbound 2013-02-26 10:45:52 +00:00
Gregory Szorc
45faa95b04 Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Zuhao(Joe) Chen
0f670c7f48 Bug 805811 - Support bootstrapping with MacPorts; r=gps
DONTBUILD (NPOTB)
2013-02-25 19:52:36 -08:00
Gregory Szorc
c3f2ed9adf Bug 784841 - Part 18e: Convert /build, /config, and core build system; r=ted 2013-02-25 12:47:18 -08:00
Gregory Szorc
42c8470531 Bug 784841 - Part 16: Use moz.build files to build the tree; r=ted, glandium 2013-02-25 12:47:11 -08:00
Mike Hommey
026abf6d83 Bug 840094 - Change how nsZipArchive logging works. r=taras,r=gps
Now log in a single file given by the MOZ_JAR_LOG_FILE environment variable.
Log entries contain the URI of the Zip archive, followed by the path in the
archive.
* * *
Bug 840094 - Fixup for debug builds failure because of nsZipArchive::CloseArchive being called several times
2013-02-19 11:02:12 +01:00
Gregory Szorc
43c3437c77 Bug 784841 - Part 12: Don't recurse into static tier directories; r=ted 2013-02-18 16:40:17 -08:00
Gregory Szorc
4b70ebe1d5 Bug 847073 - Record and print detailed summary of moz.build execution; r=glandium
--HG--
extra : rebase_source : 7d88cea873764650e62368ba40305f8cfff9d864
2013-03-04 10:32:57 -08:00
Trevor Saunders
7c86473ca0 bug 833164 - consolodate the various makeDepend things in the tree r=ted 2013-02-14 07:06:16 -05:00
Matt Brubeck
9c6355b39f Bug 839786 - Print a more useful message for mach clobber errors [r=gps] 2013-02-14 11:49:52 -08:00
Chris Coulson
f4eee4a8f8 Bug 837631 - Refresh virtualenv.py to pick up the changes from 661f7866da20. r=gps 2013-02-06 16:58:09 -05:00
Edmund Wong
3123348099 Bug 838463 - make check failing in test_mozconfig at test_read_new_variables. pop env. vars. CC and CXX. r=gps 2013-02-06 17:46:13 +08:00
Gary Kwong
7ce1446707 Bug 838384 - mozboot bootstrap.py does not recognize newer Xcode's clang. r=gps 2013-02-05 16:59:01 -08:00
Gregory Szorc
dd1d41aa45 Bug 837631 - Part 2: Unbust virtualenv on Debians; r=glandium
This is a cherry-pick of Git commit 813fc02af8723421eeeadcb13eb361e2e44416ca
from the Virtualenv repo. It fixes https://github.com/pypa/virtualenv/issues/378.
2013-02-04 09:34:03 -08:00
Gregory Szorc
abe0bea34f Bug 837631 - Part 1: Upgrade virtualenv to 1.8.4; r=glandium
python/virtualenv now matches the upstream 1.8.4 release.
2013-02-04 09:33:30 -08:00
Mike Hommey
3923d117c9 Bug 835214 - Avoid re-stripping executables already stripped. r=ted
Also rework UnifiedExecutableFile so that it leaves stripping to ExecutableFile.
2013-02-03 07:20:33 +01:00
Mike Hommey
092a9fa25e Bug 836218 - Always copy files instead of skipping when destination is newer when doing l10n-repacks. r=ted 2013-02-03 07:20:24 +01:00
Mike Hommey
0d5b94986e Bug 835309 - Look at .xpi file contents when unifying them for universal builds. r=gps 2013-02-03 07:19:15 +01:00
Mike Hommey
aec48ba2bc Bug 835309 - Fix JarFileReader.readlines() and make flake8 happier. r=gps 2013-02-03 07:18:55 +01:00
Gregory Szorc
7d40cd1974 Bug 794162 - Mach command to generate a .clang_complete file; r=ehsan
DONTBUILD (NPOTB)
2013-02-01 12:21:43 -08:00
Masatoshi Kimura
c59c86bf0c Bug 784841 - Deal with non-ASCII substs. r=gps 2013-01-31 00:21:43 +09:00
Gregory Szorc
716204f494 Merge mozilla-central into build-system 2013-01-29 20:27:15 -08:00
Gregory Szorc
026d59b6d0 Bug 784841 - Part 11b: Normalize paths in tests (fix test failure); r=me 2013-01-29 14:06:39 -08:00
Gregory Szorc
cde622b60d Bug 784841 - Part 11a: Normalize paths in tests (fix test failure); r=me 2013-01-29 08:55:35 -08:00
Gregory Szorc
155fdfa487 Bug 784841 - Part 11: Add CONFIGURE_SUBST_FILES to moz.build files; r=ted 2013-01-29 06:35:46 -08:00
Gregory Szorc
f018b82438 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
3f0e709c09 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
88203907e7 Bug 784841 - Part 8: Capture and save moz.build tree state; r=ted 2013-01-29 06:24:24 -08:00
Gregory Szorc
8a34faf22a Bug 784841 - Part 7: Implement recursive make backend; r=ted 2013-01-29 06:24:24 -08:00
Gregory Szorc
5dbdd4988c Bug 784841 - Part 6: Move some functions from ConfigStatus to mozbuild; r=ted
--HG--
rename : build/tests/unit-ConfigStatus.py => python/mozbuild/mozbuild/test/backend/test_configenvironment.py
2013-01-29 06:24:24 -08:00
Gregory Szorc
70e5a71113 Bug 818789 - |mach build| can now control what is built; r=glandium
DONTBUILD (NPOTB)
2013-01-29 10:20:06 -08:00
Ryan VanderMeulen
3d06005920 Merge m-c to inbound. 2013-01-24 21:09:59 -05:00
Mike Hommey
7a21175d92 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
2acffd00d8 Bug 834176 - Use NON_OMNIJAR_FILES value in the new packager. r=gps 2013-01-25 00:38:47 +01:00
Zuhao(Joe) Chen
e901e82f40 Bug 831168 - Mach should handle a corrupted warnings database. r=gps 2013-01-24 18:10:27 -05:00
Mike Hommey
06559c6867 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
30605cdec8 Bug 780561 - Unit tests for the new packager code. r=ted,r=gps 2013-01-23 11:23:14 +01:00
Mike Hommey
0151c8b56a Bug 780561 - Import new packager code. r=gps 2013-01-23 11:23:14 +01:00
Jeff Hammel
8379e0acc9 Bug 831381 - ASCII vs unicode error in mozconfig.py _parse_loader_output();r=gps
--HG--
extra : rebase_source : 5db4d95239c9bde3228bd0820fb1147d7b52f437
2013-01-24 14:50:27 -08:00
Gregory Szorc
3a824d7543 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
ef2ff3557a Merge mozilla-central into build-system 2013-01-16 12:37:21 -08:00
Gregory Szorc
8d20f87c62 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
ec7a8780bf 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
24daa1d8d8 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
e92c8e933a Bug 829664 - make check fails on mozbuild/test/test_mozconfig.py with MOZCONFIG set;r=gps
--HG--
extra : rebase_source : 528f17303eaf11fe92f430c79b21a410aac50251
2013-01-15 12:54:20 -08:00
Ms2ger
63425cf9e5 Merge mozilla-central into build-system
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-06 11:58:19 +01:00
Ms2ger
9a3d3a3ef4 Merge mozilla-central into build-system 2013-01-04 21:21:29 +01:00
Ms2ger
4951adbb99 Merge mozilla-central into build-system 2013-01-03 10:46:16 +01:00
Chris Peterson
a70aae143a Bug 826120 - mach's warning parser should not stop at first '['. r=gps
--HG--
extra : rebase_source : b752099f4f6da4ea05220f8120a5518ee39994ed
2013-01-02 16:33:46 -08:00
Gregory Szorc
28aed6452e Bug 818646 - Add mozbuild Python tests to |make check|; r=ted 2012-12-21 12:43:46 -08:00
Gregory Szorc
1ea7cbf0a3 Bug 818777 - Switch to NamedTemporaryFile from mozfile; r=ted
This version works with Windows.
2012-12-20 16:11:35 -08:00
Nicholas Nethercote
224415775c Bug 825820 - Call WarningsDatabase.prune at the end of Build(). r=gps.
--HG--
extra : rebase_source : aefe3d3e1e3f5edacbb83bb0c44031c1cfb200a1
2013-01-02 17:20:47 -08:00
Jorge Luis Mendez
e2ecc82c18 Bug 820285 - Use distutils.version.StrictVersion in OSX version tests; r=gps
DONTBUILD (NPOTB)
2012-12-12 19:56:48 -05:00
Jorge Luis Mendez
13efe6f3dc Bug 820117 - Remove XQuartz from OS X prerequisites; r=gps
DONTBUILD (NPOTB)
2012-12-11 14:02:27 -08:00
Richard Newman
a0ac8cef41 Bug 820179 - Mach command for packaging. r=gps 2012-12-11 11:42:11 -08:00
Gregory Szorc
b90f244f8b Bug 818649 - Ensure mach logs are written to log file; r=jhammel
DONTBUILD (NPOTB)
2012-12-07 11:44:11 -08:00
Gregory Szorc
eec5c26676 Bug 818656 - Normalize paths when loading mozconfigs; r=glandium
DONTBUILD (NPOTB)
2012-12-05 22:47:35 -08:00
Gregory Szorc
f718bace7a Bug 803400 - Add clobber mach command; r=glandium
DONTBUILD (NPOTB)
2012-12-05 22:46:01 -08:00
Gregory Szorc
4651a24498 Bug 818545 - Gracefully handle errors when loading mozconfigs; r=glandium
DONTBUILD (NPOTB)
2012-12-05 14:34:14 -08:00
Gregory Szorc
76c6d0c01e Bug 818366 - Ability to pass through file descriptors to child processes; r=jhammel 2012-12-05 14:22:58 -08:00
Gregory Szorc
047d37efb9 Bug 810742 - Handle callee thrown exceptions when invoking a mach command; r=jhammel 2012-12-05 14:21:58 -08:00
Gregory Szorc
5a8419ee85 Bug 818628 - Handle long exit code values; r=edmorley
DONTBUILD (NPOTB)
2012-12-05 12:32:09 -08:00
Gregory Szorc
d1484b4697 Bug 818554 - Handle empty variables when parsing mozconfig output; r=glandium
DONTBUILD (NPOTB)
2012-12-05 11:20:59 -08:00
Gregory Szorc
963b4c0ea2 Bug 818543 - Define topsrcdir in mozbuild evaluation environment; r=glandium
DONTBUILD (NPOTB)
2012-12-05 10:20:42 -08:00
Gregory Szorc
4727558096 Bug 808357 - Part 2: Implement mozconfig finding and loading in Python; r=glandium 2012-12-04 22:02:06 -08:00
Gregory Szorc
c96956b189 Bug 808357 - Part 1: Split mozconfig code into own Python module; r=glandium
--HG--
rename : python/mozbuild/mozbuild/base.py => python/mozbuild/mozbuild/mozconfig.py
2012-12-04 22:02:03 -08:00
Benedict Singer
de90c16949 Bug 794180 - Rich comparison operators instead of __cmp__; r=gps
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : ae42b4711af58fdc04a55e00f3454c3825c1b311
2012-11-30 15:36:27 -05:00
Gregory Szorc
4c6884173e Bug 814075 - Remove reference to mach test, fix help usage; r=me
DONTBUILD (NPOTB)
2012-11-21 10:25:44 -08:00
Gregory Szorc
9eac13abf3 Bug 797471 - Handle mochitest failures gracefully in mach; r=Ms2ger 2012-11-14 12:56:02 -08:00
Ryan VanderMeulen
7bd581fd2e Merge m-c to inbound. 2012-11-07 20:48:51 -05:00
Ryan VanderMeulen
50c3369029 Merge the last PGO-green inbound changeset to m-c. 2012-11-07 20:08:02 -05:00
Cameron McCormack
379329a092 Bug 809650 - Handle mach @CommandArguments in the right order. DONTBUILD (NPOTB) r=gps 2012-11-08 10:21:43 +11:00
Gregory Szorc
ae6b6a8049 Bug 809544 - mach now prints elapsed time as MM:SS; r=jhammel 2012-11-07 11:54:41 -08:00
Gregory Szorc
26d1f2eb12 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
57be670bf6 Bug 808346 - Don't scan sys.path to discover mach commands; r=jhammel
All mach modules are now explicitly listed in the mach driver.

--HG--
rename : python/mozbuild/mach/commands/build.py => python/mozbuild/mozbuild/mach_commands.py
2012-11-06 17:00:19 -08:00
Gregory Szorc
fff0f2c942 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
262077ed01 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.

--HG--
rename : python/mach/mach/base.py => python/mach/mach/decorators.py
2012-11-06 16:57:41 -08:00
Ehsan Akhgari
2305a6fff8 Merge mozilla-central into mozilla-inbound 2012-11-07 17:24:27 -05:00
Ted Mielczarek
1f793ca130 bug 803654 - Import mock into virtualenv. r=jhammel 2012-10-29 11:12:30 -04:00
Ryan VanderMeulen
a7d45f8d16 Merge m-c to inbound. 2012-11-02 16:11:46 -04:00
Freddie F. Haddad
b857e39ff6 Bug 803990 - Add Gentoo to mozboot; r=gps
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : f5c73f1942b71bd0f47a43241c13ef7d7a4fd8d4
2012-11-01 17:06:00 -07:00
Gregory Szorc
c896275503 Bug 805835 - Update virtualenv to fix lib64 path issues; r=glandium
The following commits were cherry-picked from virtualenv's Git
repository from the develop branch:

0da2c50eafbf6841afad078e04aa873780905b99
e1ec5f3b9f5c3cfa533f5ce440d7ac251c14ad7d
da95f04065328a98d16bcad1e9ad0e89f3a41ebe

These should hopefully be part of virtualenv 1.8.3, whenever it is
released.

--HG--
extra : rebase_source : c759ea0d2874c17e39436780d5953f0c2cfaadee
2012-11-02 10:33:56 -07:00
Gregory Szorc
eb32b8572e Bug 795769 - Add "bootstrap" command to mach; r=ted
The command is currently just a proxy into mozboot.

DONTBUILD (NPOTB)
2012-10-10 17:17:00 -07:00
Gregory Szorc
39d79750c9 Bug 805127 - Upgrade virtualenv to 1.8.2; r=ted
Upstream tarball uncompressed in python/virtualenv. egg-info directory
was deleted. All other files are unchanged.
2012-10-24 14:25:40 -07:00