Commit Graph

283 Commits

Author SHA1 Message Date
Gregory Szorc
c493147b61 Bug 889963 - Unbust |mach build| when build terminal isn't present; r=ted
DONTBUILD (NPOTB)
2013-07-03 11:59:58 -07:00
Ryan VanderMeulen
0b25f9c7d8 Merge inbound and m-c. 2013-07-03 14:04:16 -04:00
Gregory Szorc
edec21c8d9 Bug 886498 - Obtain lock before writing to terminal; r=ted
DONTBUILD (NPOTB)
2013-07-03 10:06:52 -07:00
Mike Shal
2f5d43999f Bug 868536 - Move ipdl.mk files to moz.build; r=gps
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
Gregory Szorc
54495188f5 Bug 884587 - Part 2: Add EXPORTS files to purge manifest; r=glandium
--HG--
extra : rebase_source : 5b783b192d0324ef7b867a8229d2e5f55d482aac
2013-06-25 11:04:06 -07:00
Gregory Szorc
e65cc254d8 Bug 884587 - Part 1: Perform file removal with purge manifests; r=glandium
--HG--
extra : rebase_source : bfe9c0eb27d5b19e26e557af8762bb45c21b949e
2013-06-25 11:04:03 -07:00
Gregory Szorc
809a9b75b1 Bug 884587 - Part 0: Teach FileCopier how to remove unwritable files on Windows; r=glandium
--HG--
extra : rebase_source : 2a340802af58159adaf2c11b0928e237c746f699
2013-06-28 14:46:56 -07:00
Nick Alexander
66582b795d Bug 887121 - Make packager install and szip .so libraries in assets/ directly. r=glandium
This adds a Component type to the mozbuild.mozpack package manifest
parser, and teaches the packager to accept components of the form
[name destdir="dir"].  Then we update the Android package manifest and
simplify the packager code.

I would have liked to make the packager put mozglue.so and
MOZ_CHILD_PROCESS_NAME in lib/$(ABI_DIR) directly, but this turned out
to be awkward.  Since MOZ_CHILD_PROCESS_NAME needs to have lib/ in its
name to load successfully on Android, we would have to add notation in
package manifests to install bin/lib/*plugin-container* to
lib/$(ABI_DIR)/*plugin-container*.
2013-06-28 09:10:57 -07:00
Brian O'Keefe
91e899d57e Bug 885019 - Move GTEST_CPPSRCS, GTEST_CMMSRCS, and GTEST_CSRCS to moz.build as GTEST_CPP_SOURCES, GTEST_CMM_SOURCES, and GTEST_C_SOURCES. r=gps 2013-06-22 10:33:31 -04:00
Joey Armstrong
c2de9707f6 bug 888009: move HOST_CPPSRCS to mozbuild (logic) r=gps 2013-07-03 08:56:33 -04:00
Gregory Szorc
e361973f01 Bug 889678 - Fix mozpack purge manifest tests and bug in version detection code; r=glandium 2013-07-02 22:55:55 -07:00
Mike Shal
57e16067ad Bug 880245 - Convert JS_MODULES_PATH to be relative to $(FINAL_TARGET); r=gps 2013-06-17 13:59:49 -04:00
Ryan VanderMeulen
b8d640eeab Backed out changeset 94c939eeb5f6 (bug 885019) for bustage. 2013-06-26 10:14:08 -04:00
Brian O'Keefe
74cc1dccb5 Bug 885019 - Move GTEST_CPPSRCS, GTEST_CMMSRCS, and GTEST_CSRCS to moz.build as GTEST_CPP_SOURCES, GTEST_CMM_SOURCES, and GTEST_C_SOURCES. r=gps 2013-06-22 10:33:31 -04:00
Ehsan Akhgari
a8bfea6116 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
070243403a Bug 884587 - Part 2: Add EXPORTS files to purge manifest; r=glandium 2013-06-25 11:04:06 -07:00
Gregory Szorc
f8d99eeb9b Bug 884587 - Part 1: Perform file removal with purge manifests; r=glandium 2013-06-25 11:04:03 -07:00
Ryan VanderMeulen
6f4b79afc6 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
ba825698f7 Bug 884587 - Part 2: Add EXPORTS files to purge manifest; r=glandium 2013-06-25 11:04:06 -07:00
Gregory Szorc
d16a589a6d Bug 884587 - Part 1: Perform file removal with purge manifests; r=glandium 2013-06-25 11:04:03 -07:00
Gregory Szorc
aa3092833f 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
46928a4f88 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
9716b68e35 bug 881344: move SHARED_LIBRARY_LIBS to mozbuild (logic). r=gps 2013-06-19 10:51:46 -04:00
Joey Armstrong
5fbbc5ef6f bug 882907: move SDK_LIBRARY to mozbuild (logic) r=gps 2013-06-18 10:45:53 -04:00
Joey Armstrong
989334160e bug 882904: move LIBS to moz.build (logic). r=gps 2013-06-14 15:33:45 -04:00
Mike Shal
a34397e4e5 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
da1274443a Bug 881624 - Use Textwrap on mach's need-to-clobber help output. r=gps 2013-06-13 11:28:26 -04:00
Benoit Girard
945cb3c483 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
c173a3ff1b 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
dadd61d0a8 bug 880246: move EXTRA_PP_COMPONENTS to moz.build (logic). r=gps 2013-06-12 13:51:10 -04:00
Joshua Cranmer
896ab9bb65 Bug 869635 - Eliminate the xpcshell master manifest, r=gps. 2013-06-12 07:27:17 -05:00
Brian O'Keefe
4b4b8e4da3 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
41a03b27c1 Bug 878861 - Preseve 80 cols output with mach's timestamp. r=gps 2013-06-10 22:08:00 -04:00
Joey Armstrong
5fca1b9660 bug 880773: move SSRCS to moz.build (logic). r=ted 2013-06-10 09:59:42 -04:00
Joey Armstrong
a772126bdd bug 872087: move HOST_LIBRARY to moz.build (logic) r=ted 2013-06-07 17:00:19 -04:00
Joey Armstrong
bd9b8237cd bug 875549: move HOST_CSRCS to moz.build (logic) r=ted 2013-06-06 16:29:57 -04:00
Joey Armstrong
79eff71410 bug 870370: move EXTRA_COMPONENTS to moz.build (logic). r=ted 2013-06-06 10:22:32 -04:00
Joey Armstrong
a1ab0be7d2 bug 870407: move CMMSRCS to moz.build (logic). r=ted 2013-06-05 14:34:56 -04:00
Ted Mielczarek
74dddfeb7b Bug 878043 - allow get_binary_path to return a path for any binary. r=glandium 2013-05-30 08:37:37 -04:00
Landry Breuil
2074f6b3a2 Bug 873720 - only import psutil on platforms that it supports. r=ted 2013-05-30 21:23:46 +02:00
Phil Ringnalda
ea17398276 Back out dc76402b8471 (bug 844288) on suspicion of breaking dep builds
CLOSED TREE
2013-05-31 07:39:56 -07:00
Ryan VanderMeulen
7fe5d2f12d 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
0163a0a180 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
315cb76195 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
5a4e5c64c2 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
1521624c57 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
64a87e3d4c bug 855262 - add MozbuildObject.from_environment. r=glandium 2013-05-28 15:33:22 -04:00
Benoit Girard
da3a0b92cd 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
bd0a68f115 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
0ec82ac402 Bug 875512 - Part 2b: More bustage fix to original patch; r=ted 2013-05-23 16:50:21 -07:00
Gregory Szorc
e48676b1f8 Bug 873720 - Part 4: Display a build progress indicator; r=ted 2013-05-23 16:28:10 -07:00
Gregory Szorc
569b940af9 Bug 873720 - Part 3: Track build state in build monitor; r=ted 2013-05-23 16:28:10 -07:00
Gregory Szorc
0ba339778d 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
543cb7eca7 Bug 875512 - Part 2: Followup mach bustage; r=me 2013-05-23 16:27:37 -07:00
Gregory Szorc
31dc3e6280 Bug 875512 - mach now invokes pymake with an explicit python executable; r=ted 2013-05-23 14:44:35 -07:00
Joey Armstrong
643eff2d37 bug 874266: move DEFINES to moz.build (logic), r=gps 2013-05-23 14:30:58 -07:00
Joey Armstrong
5eeb3531e3 bug 872086: move SIMPLE_PROGRAMS to moz.build (logic), r=gps. 2013-05-22 15:43:35 -07:00
Joey Armstrong
124b63ab8b bug 870406: move CSRCS to moz.build (logic) r=gps 2013-05-22 14:28:55 -07:00
Kartikaya Gupta
b027618cb6 Bug 860898 - Add a verbose flag to mach build options. r=gps 2013-05-21 09:52:44 -04:00
Gregory Szorc
76e47f2072 Bug 874078 - Move RecursiveMakeBackend.built rule to rules.mk; r=glandium 2013-05-20 23:26:20 -07:00
Gregory Szorc
1b57b99b5f Bug 873809 - Proper dependencies under pymake; r=khuey
--HG--
extra : rebase_source : dddc589c1052470312644b7f5f4e41e566e824e6
2013-05-19 13:19:00 -07:00
Gregory Szorc
9a1da3f7a8 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
a61b407d08 Merge m-c to inbound. 2013-05-16 20:30:29 -04:00
Ryan VanderMeulen
3b2fb8dd48 Merge inbound to m-c. 2013-05-16 20:29:40 -04:00
Jan Keromnes
f525c580be Bug 873216 - Fixed a typo in ./mach help; r=gps
DONTBUILD (NPOTB)
2013-05-16 12:59:00 -07:00
Gregory Szorc
8469010231 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
Joey Armstrong
0844d8ce42 bug 869135: move ASFILES to moz.build (logic only). r=gps 2013-05-15 16:02:32 -04:00
Gregory Szorc
5218d62adc 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
Mike Hommey
45813814b9 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
Matt Brubeck
ec801115f9 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
Brian O'Keefe
3f66654fdb Bug 862986 - Part 2a: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-05-01 14:05:40 -04:00
Nick Hurley
81dddf8778 bug 870168 - make mach handle multiple logged-in users properly r=gps DONTBUILD (NPOTB) 2013-05-08 18:06:17 -07:00
Gregory Szorc
2afb3f3369 Bug 856392 - Categorize mach commands; r=jhammel
DONTBUILD (NPOTB)
2013-05-08 17:56:30 -07:00
James Willcox
cead435e43 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
d069ab8fee Merge m-c to inbound. 2013-05-02 07:39:49 -04:00
Edmund Wong
b4d007cde3 Bug 867033 - Check self.wall_time for being zero. r=gps 2013-05-02 13:05:53 +08:00
Nick Alexander
5328c473e3 Bug 677452 - Add smartmake-like functionality to |mach build DIR|. r=gps 2013-05-01 15:36:05 -07:00
Benoit Girard
ca7a424b66 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
a940e46079 Backed out changesets c7937fb5f4bb and cf8db9b6bd61 (bug 862986) for bustage.
CLOSED TREE
2013-04-30 21:09:41 -04:00
Brian O'Keefe
9305158b76 Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-04-30 20:46:10 -04:00
Ryan VanderMeulen
4f020afd30 Backed out changesets 64c7ba1d3d04 and 7e9d5bb4a9af (bug 862986) for test failures. 2013-04-30 10:08:38 -04:00
Brian O'Keefe
fd2b88f265 Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-04-30 09:08:31 -04:00
Joey Armstrong
f985d453d4 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:48:59 -04:00
Brian O'Keefe
467ddbd33a Bug 865445 - Add 'configure' command to mach to rebuild the backend. r=gps 2013-04-26 10:11:00 -04:00
Ed Morley
4e726fe2d5 Bug 863091 - Followup: Fix test to expect correct return code after clobber
CLOSED TREE
2013-04-25 14:43:53 +01:00
Ed Morley
d936089103 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
3ceff3f3da Bug 865216 - Recognize exacutables on WINNT in is_executable. r=glandium 2013-04-25 10:02:37 +02:00
Ehsan Akhgari
2280cc7aa8 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
ad7bbd003a 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
79bdb7bac1 Backout changeset 0ff383d4a899 (bug 861453) for universal builds bustage 2013-04-16 09:18:06 +02:00
Mike Hommey
e8d125eaf7 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
bba672589f 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
f7601334ae Bug 857557 - Avoid autoconf.mk being modified for new other-platform-specific variables. r=gps 2013-04-10 09:02:11 +02:00
Mike Shal
8bbfed0a8d 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
03332c647e 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
Matt Brubeck
91c4b690de Bug 859349 - Saving .mozbuild/warnings.json fails if .mozbuild doesn't exist [r=gps] 2013-04-08 11:14:33 -07:00
Gregory Szorc
d31bd6e4ff Bug 837323 - Automatically clobber when CLOBBER is updated; r=ted, glandium 2013-03-29 10:34:58 -07:00
Ryan VanderMeulen
e288c8ce8e 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
1213a83b6b Bug 858393 - Avoid race condition creating directories in config.status. r=gps 2013-04-08 08:35:14 +02:00
Matt Brubeck
89d73dd6de Bug 855593 - Support ac_add_app_options in mozbuild.mozconfig [r=gps] 2013-04-03 15:42:16 -07:00