Commit Graph

260 Commits

Author SHA1 Message Date
Gregory Szorc
4abe3fc4ea 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
6339060888 Bug 860898 - Add a verbose flag to mach build options. r=gps 2013-05-21 09:52:44 -04:00
Gregory Szorc
06dd9683e9 Bug 874078 - Move RecursiveMakeBackend.built rule to rules.mk; r=glandium 2013-05-20 23:26:20 -07:00
Gregory Szorc
b382a7ef26 Bug 873809 - Proper dependencies under pymake; r=khuey
--HG--
extra : rebase_source : dddc589c1052470312644b7f5f4e41e566e824e6
2013-05-19 13:19:00 -07:00
Gregory Szorc
8e72b6e44d 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
5b8d25f0d3 Merge m-c to inbound. 2013-05-16 20:30:29 -04:00
Ryan VanderMeulen
0a63e25ce6 Merge inbound to m-c. 2013-05-16 20:29:40 -04:00
Jan Keromnes
387b27d7aa Bug 873216 - Fixed a typo in ./mach help; r=gps
DONTBUILD (NPOTB)
2013-05-16 12:59:00 -07:00
Gregory Szorc
5605993c5e 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
e7330749bd Merge inbound to m-c. 2013-05-15 21:26:11 -04:00
Ryan VanderMeulen
f9b7785a5b Merge inbound to m-c. 2013-05-15 21:14:58 -04:00
Matt Brubeck
71b9c103eb 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
7fb83a0361 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
3d35ce4a1b bug 869135: move ASFILES to moz.build (logic only). r=gps 2013-05-15 16:02:32 -04:00
Matt Brubeck
03136caf41 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
345c8d111b Merge latest green inbound changeset and mozilla-central 2013-05-10 09:13:03 +01:00
Ms2ger
a527150731 No bug - Fix mach's highlighting of 'TEST-UNEXPECTED-FAIL'; oy-r=gps 2013-05-10 09:13:32 +02:00
Gregory Szorc
db1ebbb165 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
be89950349 bug 870168 - make mach handle multiple logged-in users properly r=gps DONTBUILD (NPOTB) 2013-05-08 18:06:17 -07:00
Gregory Szorc
408aacec08 Bug 856392 - Categorize mach commands; r=jhammel
DONTBUILD (NPOTB)
2013-05-08 17:56:30 -07:00
Dave Vasilevsky
1766ad0b6d Bug 862562 - Fix mozboot on 10.6. r=gps 2013-05-02 12:51:10 -04:00
Brian O'Keefe
2186ab5dce Bug 862986 - Part 2a: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-05-01 14:05:40 -04:00
Gregory Szorc
9a91ad615e 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
8f6a6c8d87 Merge m-c to inbound. 2013-05-15 21:17:10 -04:00
Mike Hommey
732376fded 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
1645bb6a28 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
e895c0f228 Merge m-c to inbound. 2013-05-02 07:39:49 -04:00
Edmund Wong
7b96bf5ea5 Bug 867033 - Check self.wall_time for being zero. r=gps 2013-05-02 13:05:53 +08:00
Nick Alexander
9dbb4cbc2c Bug 677452 - Add smartmake-like functionality to |mach build DIR|. r=gps 2013-05-01 15:36:05 -07:00
Benoit Girard
4cc837ff5d 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
9e80ef1555 Backed out changesets c7937fb5f4bb and cf8db9b6bd61 (bug 862986) for bustage.
CLOSED TREE
2013-04-30 21:09:41 -04:00
Brian O'Keefe
6cb4a9b9be Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-04-30 20:46:10 -04:00
Ryan VanderMeulen
d1a59f8eab Backed out changesets 64c7ba1d3d04 and 7e9d5bb4a9af (bug 862986) for test failures. 2013-04-30 10:08:38 -04:00
Brian O'Keefe
43eddbd12b Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-04-30 09:08:31 -04:00
Joey Armstrong
4c9698d3cd bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:48:59 -04:00
Brian O'Keefe
bc040e83d4 Bug 865445 - Add 'configure' command to mach to rebuild the backend. r=gps 2013-04-26 10:11:00 -04:00
Ed Morley
541c2de1f0 Bug 863091 - Followup: Fix test to expect correct return code after clobber
CLOSED TREE
2013-04-25 14:43:53 +01:00
Ed Morley
da2e785663 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
67c9de8826 Bug 865216 - Recognize exacutables on WINNT in is_executable. r=glandium 2013-04-25 10:02:37 +02:00
Ehsan Akhgari
912cb1e117 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
b926643870 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
8fc54f8a52 Backout changeset 0ff383d4a899 (bug 861453) for universal builds bustage 2013-04-16 09:18:06 +02:00
Mike Hommey
0b2ff3e67c 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
43005554c1 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
b6708e5695 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
5ec0f35978 Bug 462463 - Stop using mddepend.pl. r=ted 2013-04-09 15:10:25 -07:00
Mike Shal
504b25c49d 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
1125f5e698 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
0cbb99ce0a Bug 857984 - mach mochitest now colorizes and prints failure summary; r=Ms2ger 2013-04-04 15:17:23 -07:00
Matt Brubeck
c4cb1c452d Bug 859349 - Saving .mozbuild/warnings.json fails if .mozbuild doesn't exist [r=gps] 2013-04-08 11:14:33 -07:00