Commit Graph

552 Commits

Author SHA1 Message Date
Mike Hommey
7371888973 Bug 917086 - Disallow DIRS, PARALLEL_DIRS and TEST_DIRS under TOOL_DIRS and TEST_TOOL_DIRS, and adapt moz.build files accordingly. r=gps
Also mark TOOL_DIRS/TEST_TOOL_DIRS directories in backend.mk and recurse them normally instead of forcing make -C dir libs for them.
2013-09-19 07:43:02 +09:00
Mike Hommey
153c82610c Bug 917622 - Use INSTALL_TARGETS for mochitests. r=gps 2013-09-19 07:39:58 +09:00
Neil Rashbrook
c6ae259b26 Bug 914560 - Package XPI extensions during tools phase so that all required files are in place when running the packaging step, r=glandium 2013-09-12 16:11:53 +02:00
Mike Hommey
6d2ab6f7e7 Bug 914482 - Allow overrides from the command line for variables defined in moz.build. r=gps 2013-09-12 08:14:52 +09:00
Mike Hommey
609a94e69f Backout changeset 237c32279481 (bug 914482) for bustage 2013-09-12 08:52:36 +09:00
Mike Hommey
e2b749149a Bug 914482 - Allow overrides from the command line for variables defined in moz.build. r=gps 2013-09-12 08:14:52 +09:00
Ms2ger
db90573f0e Merge m-c to inbound. 2013-09-06 12:31:58 +02:00
Ms2ger
279ef8f6af Bug 870407 - Move final batch of CMMSRCS to moz.build and disallow it in makefiles; r=khuey 2013-09-06 08:40:41 +02:00
Mike Hommey
18beb0b78d Bug 912856 - Add a compile 'tier' to build OBJS and HOST_OBJS. r=gps 2013-09-06 09:19:32 +09:00
Mike Hommey
b72cb335fd Bug 912832 - Inverse tiers and subtiers for build traversal. r=gps 2013-09-06 09:17:59 +09:00
Mike Hommey
cb4dfb8bff Bug 912292 - Always traverse sub-directories after executing rules in the current directory. r=gps 2013-09-05 15:08:43 +09:00
Mike Hommey
8c676ac42d Bug 912293 - Add a generic header and footer to generated Makefiles. r=gps 2013-09-05 09:01:45 +09:00
Mike Hommey
0df48ac4ce Bug 911936 - Kill make depend. r=gps 2013-09-05 09:01:45 +09:00
Mike Hommey
ac78d3f835 Back out changeset 6fe5a446b775 (bug 903118) 2013-09-05 09:01:44 +09:00
Mike Hommey
ce1cb59268 Bug 911924 - Remove MAKE_DIRS leftovers. r=ted 2013-09-05 09:01:44 +09:00
Mike Shal
f62d01a145 Bug 903118 - set mozconfig environment variables for sub-makes; r=gps 2013-08-14 09:34:18 -04:00
Mike Hommey
e16245a2fe Bug 909077 - Remove useless STATIC_DIRS and EXTERNAL_DIRS variables. r=gps 2013-08-30 11:10:19 +09:00
Brian O'Keefe
7d1adfdf5a Bug 875934 - Forbid LIBRARY_NAME in Makefile.ins; r=mshal 2013-08-15 11:46:20 -04:00
Gregory Szorc
fc42180b67 Bug 909412 - Don't attempt to track tier progression during partial tree builds; r=glandium 2013-08-27 14:40:07 -07:00
Ms2ger
9c723cab7f Bug 904831 - Part d: Disallow MSVC_ENABLE_PGO in Makefiles; r=khuey 2013-08-22 08:56:02 +02:00
Ms2ger
63b648bec1 Bug 883284 - Part h: Disallow LIBXUL_LIBRARY in Makefiles; r=khuey 2013-08-22 08:56:01 +02:00
Ms2ger
5c981f7ca9 Bug 906412 - Cleanup some random parts of the build system; r=mshal 2013-08-22 08:55:59 +02:00
Ms2ger
1dcdf03895 Bug 906342 - Move the remaining SIMPLE_PROGRAMS to moz.build and disallow setting SIMPLE_PROGRAMS in Makefiles; r=gps 2013-08-22 08:35:03 +02:00
Ryan VanderMeulen
c8880fc5aa Merge m-c to inbound. 2013-08-20 16:32:33 -04:00
Ryan VanderMeulen
971e3a8e52 Merge m-c to fx-team. 2013-08-20 15:33:48 -04:00
Gregory Szorc
9a4d428071 Bug 896695 - Re-enable accidentally disabled toolkit/devtools/apps xpcshell tests; r=mshal 2013-08-20 10:05:52 -07:00
Mike Hommey
e529f06fd1 Bug 904740 - Add a make macro for including dependency files. r=gps 2013-08-20 09:15:43 +09:00
Mike Hommey
3bdfe6c937 Bug 905938 - Fixup for make -s verbosity. r=gps 2013-08-20 16:21:34 +09:00
Gregory Szorc
d561f14d5c Bug 905879 - More robust tier tracking; r=glandium 2013-08-20 00:06:32 -07:00
Mike Hommey
3a5ac99067 Bug 905938 - Remove Java rules from rules.mk. r=gps 2013-08-20 15:22:33 +09:00
Mike Hommey
bd0ca3606e Bug 905938 - Cancel GNU make builtin implicit rules by forcing -r instead of adding implicit rules to cancel them out. r=gps 2013-08-20 15:21:45 +09:00
Mike Hommey
352ccb4bc6 Bug 905938 - Use explicit rules for %.i, %.s, %.res, moc_% and qrc_%. r=gps 2013-08-20 15:21:35 +09:00
Gregory Szorc
41905b45f6 Bug 906101 - Move tier make logic into own .mk file and don't use from rules.mk; r=glandium
The existing tier traversal logic is only used in the top-level Makefile
but was present in rules.mk. This meant it was getting evaluated for
every Makefile. This was silly and thus the logic has mostly been moved into
its own .mk file and is only included for the root Makefile.
2013-08-20 13:03:39 -07:00
Mike Hommey
8b244efc5c Bug 905074 - Hide build status markers when not building with mach. r=gps 2013-08-15 23:45:08 +09:00
Gregory Szorc
918eef7c37 Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Ryan VanderMeulen
a7872e972f Backed out changesets 1fa1f28c6edf and e74f694f31c4 (bug 850380) for PGO bustage on a CLOSED TREE. 2013-08-14 15:12:20 -04:00
Gregory Szorc
260d3a8e7c Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Ehsan Akhgari
7ca7ee1d16 Bug 904086 - Remove LOBJS; r=gps,jcranmer,glandium 2013-08-13 14:00:11 -04:00
Mike Hommey
bcdf124712 Bug 903321 - Don't update backend.RecursiveMakeBackend.built when no backend file changed. r=gps 2013-08-13 10:39:35 +09:00
Ed Morley
9a32ee0533 Bug 901898 - Remove codesighs now that it's no longer run in automation; r=gps 2013-08-12 13:10:41 +01:00
Mike Hommey
45c0281f34 Bug 903385 - Broaden REPORT_BUILD and make it report why something is rebuilt. r=gps 2013-08-10 15:57:09 +09:00
ISHIKAWA, Chiaki
5c7f83aa4c Bug 893362 - Put a space after TIERDIR_START in two config.mk. r=gps 2013-08-02 20:30:46 -04:00
Ms2ger
ad06681e97 Bug 897458 - Move EXTRA_PP_JS_MODULES to moz.build; r=gps 2013-08-02 09:03:25 +02:00
Mike Shal
f354fd56a7 Bug 888016 - Support compilation in subdirectories without VPATH; r=gps 2013-07-02 17:40:17 -04:00
Ms2ger
8c6cc4fa47 Bug 888643 - Part c: Disallow CPP_UNIT_TESTS in Makefiles; r=gps 2013-07-24 09:24:07 +02:00
Matt Brubeck
5ee97af944 Bug 896028 - Add a standard Makefile variable for mochitest-metro files [r=gps] 2013-07-19 16:59:23 -07:00
Mike Hommey
82b9fd31cd Bug 850576 - Statically link stlport on b2g and android, and always use a custom built stlport for that. r=ted 2013-07-15 18:48:39 +09:00
Gregory Szorc
0a41c9c2f9 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
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
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
Dan Minor (dminor@mozilla.com)
6b27b7227e Bug 811404 - Stage cpptests as part of package-tests. r=ted 2013-06-24 13:45:32 -04:00
Gregory Szorc
74bdcff28e Bug 418593 - Cancel GNU make's built-in RCS/% rule; r=khuey 2013-06-24 10:14:12 -07:00
Gregory Szorc
1c0ba8fe42 Bug 885906 - Remove .sh and .pl catch anything implicit rules; r=khuey 2013-06-24 10:13:33 -07:00
Joey Armstrong
1156439ca4 bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (cleanup). r=mshal 2013-06-20 15:59:59 -04:00
Joey Armstrong
c1077b8b98 bug 872087: mozbuild HOST_LIBRARY_NAME conversion cleanup. r=gps 2013-06-19 09:19:25 -04:00
Gregory Szorc
c71253e0de Bug 879809 - Don't export MOZBUILD_BACKEND_CHECKED to independent build systems; r=ted 2013-06-18 12:22:56 -07:00
Joey Armstrong
7db6856a13 bug 875549: mozbuild cleanup for HOST_CSRCS. r=gps 2013-06-18 09:10:50 -04:00
Vladimir Vukicevic
9e17b8825a b=882906; remove EXTRA_DSO_LIBS; r=ted 2013-06-13 22:58:22 -04:00
Gregory Szorc
f95a6369a3 Bug 873720 - Part 5: Only call into subtiers that perform work; r=ted 2013-05-23 16:28:11 -07:00
Gregory Szorc
db71028454 Bug 873720 - Part 1: Annotate build output with machine readable markers; r=ted 2013-05-23 16:28:09 -07:00
Gregory Szorc
b4b4a0f49b Bug 874543 - Restart Makefile execution if backend is regenerated; r=glandium 2013-05-23 10:10:39 -07:00
Mike Hommey
1255a621c5 Bug 875099 - Avoid including MDDEPEND_FILES twice. r=ted 2013-05-23 07:28:08 +02:00
Boris Zbarsky
0550b4483a Bug 861587. Rejigger the WebIDL binding build system to do all binding codegen in a single python process while still using our dependency tracking for bindings to minimize the number of bindings we try to regenerate. r=khuey 2013-05-09 13:05:33 -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
4936217251 Bug 828317 - Require pymake to build on Windows; r=ted 2013-03-06 12:05:24 -08: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
Gregory Szorc
2a72dc0d95 Bug 860957 - Support for invoking non-recursive targets during partial tree builds; r=glandium 2013-05-17 10:54:53 -07:00
Ryan VanderMeulen
882e4068d0 Backed out 6 changesets (bug 868996, bug 867903, bug 869014, bug 870219, bug 861587) for PGO bustage.
CLOSED TREE
2013-05-09 17:11:59 -04:00
Boris Zbarsky
30ab248cf6 Bug 861587. Rejigger the WebIDL binding build system to do all binding codegen in a single python process while still using our dependency tracking for bindings to minimize the number of bindings we try to regenerate. r=khuey 2013-05-09 13:05:33 -04:00
Gavin Sharp
5ddebc4159 Bug 853071: add some build-time defines for channel-specific features, r=gps, f=bhearsum
--HG--
rename : browser/config/mozconfigs/linux32/release => browser/config/mozconfigs/linux32/beta
rename : browser/config/mozconfigs/linux64/release => browser/config/mozconfigs/linux64/beta
rename : browser/config/mozconfigs/macosx-universal/release => browser/config/mozconfigs/macosx-universal/beta
rename : browser/config/mozconfigs/win32/release => browser/config/mozconfigs/win32/beta
extra : transplant_source : %F6%CFK%CE%16v%07%8A%D5o%97%8C%BB%95q%D5%3C%93%2B%94
2013-04-25 12:23:21 -07:00
Mike Hommey
5858426dab Bug 777379 - Set .DEFAULT_GOAL unconditionally, override with OVERRIDE_DEFAULT_GOAL, and fix pymake to be on par with GNU make when handling .DEFAULT_GOAL. r=gps 2013-05-05 10:16:25 +02:00
Ms2ger
f82b48f7ca Bug 863365 - Log a message when linking libxul with make -s; r=gps 2013-04-21 08:41:13 +02:00
Mike Hommey
c8f9fa3939 Bug 462463 - Stop using mddepend.pl. r=ted 2013-04-09 15:10:25 -07:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Joey Armstrong
aa666e80b3 bug 751156: robocop dependency build should be a nop 2013-03-19 15:34:59 -04:00
Ed Morley
a08fdc184c Backed out changeset 0f012ef3d3ac (bug 809978) for landing after being given r- 2013-03-19 17:21:01 +00:00
Joey Armstrong
37341e3e07 bug 809978: retry link I/O on potential race conditions 2013-03-19 12:26:57 -04:00
Kyle Huey
006e7997f5 Back out Bug 462463 for massively regressing pymake depend build speed. CLOSED TREE 2013-03-18 12:57:35 -07:00
Mike Hommey
20c634cb74 Bug 462463 - Stop using mddepend.pl. r=ted 2013-03-17 07:43:35 +01:00
Mike Shal
2eb7c496cb Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
f33b615884 Bug 818246 - Part 3: Build system support for XPIDLSRCS in moz.build; r=glandium 2013-03-12 10:15:24 -07:00
Mike Hommey
10314b9044 Bug 848735 - Fix INSTALL_EXTENSION_ID rule. r=ted 2013-03-08 09:32:55 +01:00
Mike Hommey
1cbc7821f6 Bug 847411 - Remove mkdir_deps dependency for PP_TARGETS rules. r=ted 2013-03-04 19:34:02 +01:00
Mike Hommey
fba304eef0 Bug 847397 - Remove mkdir_deps dependency for INSTALL_TARGETS rules. r=ted 2013-03-04 19:34:02 +01:00
Daniel Holbert
3e955d821d Bug 846460: Remove duplicate period at the end of error message in rules.mk. r=gps 2013-02-28 22:45:03 -08:00
Gregory Szorc
15c748cb14 Bug 784841 - Part 16: Use moz.build files to build the tree; r=ted, glandium 2013-02-25 12:47:11 -08:00
Benoit Girard
75c4cfd49c Bug 767231 - Part 1: Add GTest. r=ted 2012-05-22 13:45:24 -07:00
Benjamin Smedberg
5da193665b Bug 791244 - Make the hangprocessor pref dependent on RELEASE_BUILD since deploying multidump hasn't happened yet, r=heycam
--HG--
extra : rebase_source : 145a4fd0f9cecc8835c56389c2403f8c15c97489
2013-02-20 10:52:16 -05:00
Mike Hommey
034e18f90d Bug 790115 - Create .purgecaches in $(DIST)/bin and $(DIST)/bin/webapprt, and allow to override $(DIST)/bin. r=ted 2013-02-11 14:10:10 +01:00
Jim Mathies
5e6531403d Bug 802254 - Add quotes around XPI_ROOT_APPID which can contain {}. r=glandium 2013-02-07 10:22:11 -06:00
Jim Mathies
1bd8cf4097 Bug 802254 - Add support for multiple app dirs in add-on packaging (mc bits), r=glandium 2013-02-06 15:21:32 -06:00
Joey Armstrong
9b999c1b23 bug 830351: remove unused .mkdir.deps rule and clenaup cosmetic makefile problems 2013-01-31 14:55:30 -05:00
Joey Armstrong
ba59dca059 bug 747540: fix dependencies for java build 2013-01-25 15:22:13 -05:00
Mike Hommey
12c6ad28f8 Bug 833253 - Don't rely on eval during recursive expansion for nsinstall_is_usable. r=ted 2013-01-23 10:13:04 +01:00
Geoff Brown
8399039307 Bug 821424 - Make target for per-directory cppunittests-remote; r=ted.mielczarek
--HG--
extra : rebase_source : 487887607421f319dc98c1dcb874866cd0f7d09e
2013-01-03 13:02:11 -07:00
Ed Morley
f14bf64427 Backout 119c60543071 (bug 751156) for robocop failures 2013-01-03 18:12:36 +00:00
Joey Armstrong
7fdbf88066 bug 751156: robocop dependency build should be a nop 2013-01-03 10:48:04 -05:00
Cameron McCormack
83d448ae75 Bug 820148 - Add RELEASE_BUILD macro available in pref js files. r=ted 2012-12-22 16:35:51 +11:00