Commit Graph

339 Commits

Author SHA1 Message Date
Brian O'Keefe
efc7fe4e0f 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
d68fdf92e7 Bug 878861 - Preseve 80 cols output with mach's timestamp. r=gps 2013-06-10 22:08:00 -04:00
Gregory Szorc
cb69e3d905 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
dc717d79a8 bug 880773: move SSRCS to moz.build (logic). r=ted 2013-06-10 09:59:42 -04:00
Joey Armstrong
fa271ca978 bug 872087: move HOST_LIBRARY to moz.build (logic) r=ted 2013-06-07 17:00:19 -04:00
Joey Armstrong
a602733430 bug 875549: move HOST_CSRCS to moz.build (logic) r=ted 2013-06-06 16:29:57 -04:00
Joey Armstrong
449b55515d bug 870370: move EXTRA_COMPONENTS to moz.build (logic). r=ted 2013-06-06 10:22:32 -04:00
Joey Armstrong
26076beec3 bug 870407: move CMMSRCS to moz.build (logic). r=ted 2013-06-05 14:34:56 -04:00
Ted Mielczarek
6f95135721 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
f02477477f 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
84552f3658 Bug 873720 - only import psutil on platforms that it supports. r=ted 2013-05-30 21:23:46 +02:00
Phil Ringnalda
29fb49d007 Back out dc76402b8471 (bug 844288) on suspicion of breaking dep builds
CLOSED TREE
2013-05-31 07:39:56 -07:00
Ryan VanderMeulen
8445d428dc 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
ae02c74c3a 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
68025a3c2f 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
6adb6cba1f 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
fb8130ef91 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
dcbe3858b7 bug 855262 - add MozbuildObject.from_environment. r=glandium 2013-05-28 15:33:22 -04:00
Benoit Girard
9bd97dc15d 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
b91457697f 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
2275966c93 Bug 875512 - Part 2b: More bustage fix to original patch; r=ted 2013-05-23 16:50:21 -07:00
Gregory Szorc
a373571c12 Bug 873720 - Part 4: Display a build progress indicator; r=ted 2013-05-23 16:28:10 -07:00
Gregory Szorc
ccf67001bd Bug 873720 - Part 3: Track build state in build monitor; r=ted 2013-05-23 16:28:10 -07:00
Gregory Szorc
65394b3ece 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
3580b2ad01 Bug 875512 - Part 2: Followup mach bustage; r=me 2013-05-23 16:27:37 -07:00
Gregory Szorc
04829cee1f Bug 875512 - mach now invokes pymake with an explicit python executable; r=ted 2013-05-23 14:44:35 -07:00
Joey Armstrong
a92ff3abb3 bug 874266: move DEFINES to moz.build (logic), r=gps 2013-05-23 14:30:58 -07:00
Joey Armstrong
4a0ec07f52 bug 872086: move SIMPLE_PROGRAMS to moz.build (logic), r=gps. 2013-05-22 15:43:35 -07:00
Joey Armstrong
2f5467a32a bug 870406: move CSRCS to moz.build (logic) r=gps 2013-05-22 14:28:55 -07:00
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
Gregory Szorc
224d5bb176 Bug 837323 - Automatically clobber when CLOBBER is updated; r=ted, glandium 2013-03-29 10:34:58 -07:00
Ryan VanderMeulen
f7ffa9c846 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
e31b72a869 Bug 858393 - Avoid race condition creating directories in config.status. r=gps 2013-04-08 08:35:14 +02:00
Ms2ger
439fc61f53 Backout changeset e1bddda508fe for double logging when running mochitests through mach. 2013-04-07 10:11:11 +02:00
Gregory Szorc
91afcc54b5 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
1e6307fe01 Bug 855593 - Support ac_add_app_options in mozbuild.mozconfig [r=gps] 2013-04-03 15:42:16 -07:00
Ryan VanderMeulen
ffa352698a Merge m-c to inbound. 2013-04-03 13:47:31 -04:00
Timur Timirkhanov
cd2d4b4929 Bug 843492 - Bootstrapping fails using Python 3x due to urllib2; r=gps
DONTBUID (NPOTB)
2013-04-03 05:38:00 -07:00
Matt Brubeck
a4f3fa155f Bug 857332 - Normalize topobjdir to an absolute path in mozbuild.base [r=gps] 2013-04-03 10:15:12 -07:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Ms2ger
aed84cf476 Bug 837323 - Followup: fix silly bug. 2013-04-01 09:47:45 +02:00
Kyle Machulis
c79ccc0693 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
a59d40f143 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
662d64f970 Bug 837323 - Bustage followup; r=me 2013-03-29 11:23:07 -07:00
Gregory Szorc
1587b16d98 Bug 837323 - Automatically clobber when CLOBBER is updated; r=ted 2013-03-29 10:34:58 -07:00
Benoit Girard
a663f5f856 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
49244782db 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
b5510862dd 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
f878fe7142 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
1512dc87cf Bug 854057 - Look for binaries in the proper path; r=trivial 2013-03-23 12:18:38 -07:00
Daniel Holbert
7d492e6c97 Bug 854058: Fix typo in mach error message: s/occured/occurred/. r=gps DONTBUILD 2013-03-22 22:02:37 -07:00