Commit Graph

615 Commits

Author SHA1 Message Date
Ehsan Akhgari
31e7cec189 Backed out changeset b54e8c328c32 (bug 944800) because of test failures on a CLOSED TREE 2014-02-04 17:03:17 -05:00
Ehsan Akhgari
cf46d0e8c5 Bug 944800 - Move the information about delay loaded DLLs into moz.build; r=gps
--HG--
extra : rebase_source : 3eca29dae04c42fa8e7d113318b8a169a0cf22e4
2014-02-04 13:57:34 -05:00
Sylvestre Ledru
f854b0dc6b Bug 777378 - Remove SUPPRESS_DEFAULT_RULES. r=gps 2014-01-23 09:38:29 -05:00
Mike Hommey
d3597cdd9b Bug 956398 - Error out at build time if we end up with text relocations. r=ted 2014-01-16 09:13:43 +09:00
Mike Hommey
925edbca14 Bug 950298 - Make the js build system use top-level as its root objdir. r=gps 2014-01-14 07:38:40 +09:00
Dan Minor
c94e429899 Bug 949536 - Remove cpp unittests from 'make check'; r=gps 2014-01-09 21:59:28 -08:00
Gregory Szorc
158ed8b3ec Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.

We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.

--HG--
extra : rebase_source : 21049b15e6bd9cf65b0805ccaccc4ba5aae93c98
extra : amend_source : 0b1ea866d725beef92d37c6f6d475369ac002e19
2013-12-10 16:18:11 +09:00
Mike Hommey
3325256d97 Bug 945042 - Move NO_PROFILE_GUIDED_OPTIMIZE to moz.build. r=gps,r=njn 2013-12-09 13:39:26 +09:00
Mike Hommey
bf60896454 Bug 943728 - Replace double quotes with single quotes in Makefiles (or remove them when it makes sense). r=mshal 2013-12-03 06:34:21 +09:00
Mike Hommey
95f50f57a3 Bug 944558 - Refactor config/makefiles/debugmake.mk for more correctness, and remove old cruft. r=gps
Also remove use of print-depth-path.sh in UPDATE_TITLE.
2013-12-01 07:20:19 +09:00
Mike Hommey
fc98abb416 Bug 942043 - Straighten up zlib linkage wrt shared js and system zlib. r=gps,r=ted 2013-11-22 23:03:21 +09:00
Mike Hommey
2b828323f2 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
1b90f90106 Bug 942043 - Straighten up zlib linkage wrt shared js and system zlib. r=gps,r=ted 2013-11-28 12:49:43 +09:00
Mike Hommey
62cde4eed8 Bug 940407 - Kill GTEST_SOURCES. r=gps 2013-11-26 11:48:58 +09:00
Mike Hommey
051aa3a2d3 Bug 942031 - Don't link against the js engine when there's no need to. r=mshal 2013-11-24 08:18:50 +09:00
Mike Hommey
b39418250a Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps 2013-11-22 08:16:18 +09:00
Ed Morley
dd12c93265 Backed out changeset 1eb6ceed2cda (bug 938437) on suspicion of causing WinXP debug jetpack failures on a CLOSED TREE 2013-11-22 16:00:32 +00:00
Ed Morley
0e1036028c Backed out changeset c30371a66429 (bug 941450) 2013-11-22 15:59:22 +00:00
Mike Hommey
f6b8ef93a4 Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps 2013-11-22 08:16:18 +09:00
Mike Hommey
99fc7c7312 Bug 938437 - Replace nsStaticXULComponents.cpp with smart use of sections. r=bsmedberg,irc-r=decoder,r=nfroyd 2013-11-19 13:45:31 +09:00
Mike Hommey
1b21d4aed0 Bug 914274 - Remove MODULE_NAME. r=mshal 2013-11-21 17:31:19 +09:00
Mike Hommey
e42fd39b2e Bug 939071 - Kill SHORT_LIBNAME. r=ted 2013-11-19 11:47:47 +09:00
Mike Hommey
74a879ee97 Bug 939044 - Remove the last uses of the MODULE variable in makefiles. r=gps 2013-11-19 11:47:30 +09:00
Dan Gohman
a940ed6acf Bug 569597 - Eliminate use of ranlib. r=glandium 2013-11-11 19:26:59 -08:00
Nathan Froyd
3243d20805 Bug 841373 - use STRIP_FLAGS with STRIP consistently; r=glandium 2013-11-11 11:01:22 -05:00
Mike Hommey
fda70b1aad Backout changeset 4810e8f4eb98 (part of bug 934864) for causing bug 937332. 2013-11-12 08:37:08 +09:00
Mike Hommey
68d0ab728c Bug 935305 - Track preprocessor output dependencies. r=gps 2013-11-09 10:35:45 +09:00
Mike Hommey
8f10c67fbb Bug 935305 - Move preprocessor to mozbuild.action. r=gps
--HG--
rename : config/Preprocessor.py => python/mozbuild/mozbuild/preprocessor.py
rename : config/tests/unit-Expression.py => python/mozbuild/mozbuild/test/test_expression.py
rename : config/tests/unit-LineEndings.py => python/mozbuild/mozbuild/test/test_line_endings.py
rename : config/tests/unit-Preprocessor.py => python/mozbuild/mozbuild/test/test_preprocessor.py
2013-11-09 10:35:44 +09:00
Mike Hommey
d902db1229 Bug 934864 - Add REPORT_BUILD do INSTALL_TARGETS and PP_TARGETS. r=gps 2013-11-09 10:32:58 +09:00
Mike Hommey
1595ce6870 Bug 934864 - Add option to make INSTALL_TARGETS and PP_TARGETS keep the original path when copying/preprocessing. r=gps
Also, refactored them for more debuggability and clarity.
2013-11-09 10:32:53 +09:00
Seth Fowler
90d83b3d32 Backout of bug 934070 for breaking debugging on OS X 2013-11-07 18:42:22 -08:00
Mike Hommey
ebd64d4dbd Bug 934070 - Stop copying dist/bin under dist/$(MOZ_MACBUNDLE_NAME)/Contents/MacOS in */app/Makefile.in. r=ted
Consequently, revert changeset 92bea49b46b4 (bug 914560).
2013-11-07 10:38:13 +09:00
Mike Hommey
d2778baa7e Bug 862770 - Fix --disable-compile-environment a little. r=gps
--HG--
rename : config/makefiles/target_libs.mk => config/makefiles/target_binaries.mk
rename : js/src/config/makefiles/target_libs.mk => js/src/config/makefiles/target_binaries.mk
2013-11-07 10:37:45 +09:00
Mike Hommey
6aea58d822 Bug 934361 - Remove CHROME_DEPS. r=mshal 2013-11-05 07:39:28 +09:00
Mike Hommey
9a8761e80a Bug 933062 - Avoid using > for preprocessing rules, so that pymake is happy. r=ted 2013-11-01 10:30:46 +09:00
Gregory Szorc
d13caf7d3e Bug 877308 - Change when build backend update check it performed; r=glandium
Before, we checked if config.status was stale in any entrant Makefile
(top level or child directory). This had undesirable side-effects for
partial tree builds, notably that if the build backend was out of date,
the current Makefile was invalidated.

With this patch, we only regenerate the build config automatically in
full/toplevel builds. If an outdated build config is detected on partial
tree builds, we error. The impact of this is mitigated by having mach
build automatically ensure the build config is current.

--HG--
extra : rebase_source : a3a2c1d2bf68d1c0727352ebd9bfb785654e45bf
2013-10-29 14:53:52 -07:00
Mike Hommey
40d13924dc Bug 930896 - Keep track of files generated by a build backend. r=gps 2013-10-29 08:00:30 +09:00
Gregory Szorc
9ada834d56 Bug 927837 - Don't manage generated files in configure; r=glandium
--HG--
extra : rebase_source : b502ce209de6a0ae10e130644e424687e4fae85e
2013-10-23 14:43:32 -07:00
Mike Hommey
5a07c82309 Bug 930380 - Fix host source rules when path contains a directory. r=gps 2013-10-25 07:58:14 +09:00
Mike Hommey
6761193a4a Bug 930227 - Don't use lists to link host binaries. r=gps
Host and target linkers may not support the same kind of lists expandlibs uses.
On the other hand, lists are only really needed for libxul, where the command
line length or number of arguments may overflow the kernel support. So just
don't use them for host linkage.
2013-10-24 08:06:43 +09:00
Mike Hommey
261cd6adea Bug 928204 - Don't ignore missing depfiles when aggregating them. r=gps 2013-10-24 07:59:03 +09:00
Carsten "Tomcat" Book
d21f03b6d5 Backed out changeset f90eb21ea4cd (bug 928204) for build failures on Linux PGO 2013-10-22 11:47:48 +02:00
Mike Hommey
19198c7b84 Bug 928204 - Don't ignore missing depfiles when aggregating them. r=gps
However, since we don't generate depfiles when compiling assembly, explicitly exclude those.
Also, fix a few issues with included depfiles:
- The tools tier need them because it (sadly) links binaries.
- depfiles for TARGETS use the full path, whereas the depfiles for OBJS and others don't.
2013-10-22 13:40:37 +09:00
Mike Hommey
45fb052ada Bug 664362 - Generate depfiles for host objects/programs/libraries. r=gps 2013-10-22 13:40:27 +09:00
Joshua Cranmer
d972bcf278 Bug 900526, part 2: Move backend.mk inclusion to config.mk instead of rules.mk, r=gps 2013-10-21 13:08:00 -05:00
Nick Alexander
f7d9fb4dcb Bug 900522 - Part 3: Add passthru ANDROID_GENERATED_RESFILES. r=gps
This defines all of the Android resources in moz.build files (although
some are still generated by mobile/android/base/Makefile.in).
2013-10-09 16:19:00 -07:00
Nick Alexander
2cb50cac5d Bug 900522 - Part 1: Make ANDROID_RESFILES a moz.build-only variable. r=gps
This depends on Bug 923306, which I think is close to r=glandium.
Since this is more moz.build than Android, r?=gps.
2013-10-09 16:18:00 -07:00
Mike Hommey
e14c138103 Bug 925605 - Allow to build with a special build of GNU make on windows. r=gps 2013-10-16 08:34:18 +09:00
Wes Kocher
e36f9ab572 Backed out changeset 5f0bfb16fa4a (bug 925605) 2013-10-15 16:57:00 -07:00
Mike Hommey
a83240dce1 Bug 925605 - Allow to build with a special build of GNU make on windows. r=gps 2013-10-16 08:34:18 +09:00
Gregory Szorc
b1f1fa3284 Bug 924615 - Move JarMaker.py into mozbuild; r=mshal
--HG--
rename : config/JarMaker.py => python/mozbuild/mozbuild/jar.py
rename : config/tests/unit-JarMaker.py => python/mozbuild/mozbuild/test/test_jarmaker.py
2013-10-11 13:19:11 -07:00
Gregory Szorc
9691b82900 Bug 585016 - Move buildlist.py to a mozbuild action; r=mshal
--HG--
rename : config/buildlist.py => python/mozbuild/mozbuild/action/buildlist.py
rename : config/tests/unit-buildlist.py => python/mozbuild/mozbuild/test/action/test_buildlist.py
2013-10-11 07:22:49 -07:00
Nick Alexander
7e9466764b Bug 923306 - Add JAVA_JAR_TARGETS. r=glandium 2013-10-09 17:05:36 -07:00
Marco Castelluccio
9a1528e3b9 Bug 924549 - Add MOCHITEST_WEBAPPRT_CHROME_MANIFESTS to specify webapprt chrome tests and convert all the webapprt mochitests to use manifests. r=gps 2013-10-09 09:16:18 -04:00
Mike Hommey
c1772e4bcd Bug 905973 part 3 - Add a "binaries" tier that optimizes for recompilation times. r=gps 2013-10-02 08:53:23 +09:00
Mike Hommey
a52e6ba617 Bug 922605 - Remove last reference to JAVA_LIBRARY. r=gps 2013-10-02 08:02:08 +09:00
Mike Hommey
0f42ae96d7 Bug 919832 - Remove EXPORTS related rules from rules.mk. r=gps 2013-09-26 16:43:52 +09:00
Gregory Szorc
21bb25384f Bug 901990 - Part 1: Integrate test manifests with build config; r=ted 2013-09-24 11:50:04 -07:00
Joey Armstrong
95175aeee8 bug 883350: move SDK_HEADERS to mozbuild r=mshal 2013-09-24 12:17:26 -04:00
Cykesiopka
8bbc511111 Bug 914273 - Move JS_MODULES_PATH to mozbuild. r=joey 2013-09-24 10:29:30 -04:00
Nick Alexander
e509ad8b1c Bug 909432 - Unify RESFILES and RES_FILES, and rename both to ANDROID_RESFILES. r=gps 2013-09-23 09:02:08 -07:00
Mike Hommey
362a6b7e54 Bug 907365 - Pseudo-derecursify the build (opt-in). r=gps
Also remove the compile tier added in bug 912856 when pseudo-derecursify is disabled.
2013-09-20 10:44:11 +09:00
Cykesiopka
b947cdc80e Bug 914272 - Move IS_COMPONENT to mozbuild. r=joey 2013-09-19 17:29:32 -04:00
Mike Hommey
16d06af70c 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
ae0966be15 Bug 917622 - Use INSTALL_TARGETS for mochitests. r=gps 2013-09-19 07:39:58 +09:00
Neil Rashbrook
52e0bf420f 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
64b3e49033 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
71c2c68014 Backout changeset 237c32279481 (bug 914482) for bustage 2013-09-12 08:52:36 +09:00
Mike Hommey
c867a13ffd 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
4abf38566a Merge m-c to inbound. 2013-09-06 12:31:58 +02:00
Ms2ger
bb536a6478 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
e297b68676 Bug 912856 - Add a compile 'tier' to build OBJS and HOST_OBJS. r=gps 2013-09-06 09:19:32 +09:00
Mike Hommey
a229160645 Bug 912832 - Inverse tiers and subtiers for build traversal. r=gps 2013-09-06 09:17:59 +09:00
Mike Hommey
f5d048db5e 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
9a4e27117c Bug 912293 - Add a generic header and footer to generated Makefiles. r=gps 2013-09-05 09:01:45 +09:00
Mike Hommey
77175c0058 Bug 911936 - Kill make depend. r=gps 2013-09-05 09:01:45 +09:00
Mike Hommey
d8476755d5 Back out changeset 6fe5a446b775 (bug 903118) 2013-09-05 09:01:44 +09:00
Mike Hommey
39b0d07225 Bug 911924 - Remove MAKE_DIRS leftovers. r=ted 2013-09-05 09:01:44 +09:00
Mike Shal
b2f26a0d64 Bug 903118 - set mozconfig environment variables for sub-makes; r=gps 2013-08-14 09:34:18 -04:00
Mike Hommey
7ac7f0c273 Bug 909077 - Remove useless STATIC_DIRS and EXTERNAL_DIRS variables. r=gps 2013-08-30 11:10:19 +09:00
Brian O'Keefe
0f1bd321fc Bug 875934 - Forbid LIBRARY_NAME in Makefile.ins; r=mshal 2013-08-15 11:46:20 -04:00
Gregory Szorc
41b5775451 Bug 909412 - Don't attempt to track tier progression during partial tree builds; r=glandium 2013-08-27 14:40:07 -07:00
Ms2ger
ecdd2b4462 Bug 904831 - Part d: Disallow MSVC_ENABLE_PGO in Makefiles; r=khuey 2013-08-22 08:56:02 +02:00
Ms2ger
e3bbb3be02 Bug 883284 - Part h: Disallow LIBXUL_LIBRARY in Makefiles; r=khuey 2013-08-22 08:56:01 +02:00
Ms2ger
8ccdba4aa0 Bug 906412 - Cleanup some random parts of the build system; r=mshal 2013-08-22 08:55:59 +02:00
Ms2ger
7d56a6ab7d 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
a3a9ced267 Merge m-c to inbound. 2013-08-20 16:32:33 -04:00
Ryan VanderMeulen
2203bcca10 Merge m-c to fx-team. 2013-08-20 15:33:48 -04:00
Gregory Szorc
ddf5d26ade Bug 896695 - Re-enable accidentally disabled toolkit/devtools/apps xpcshell tests; r=mshal 2013-08-20 10:05:52 -07:00
Mike Hommey
fe45555b58 Bug 904740 - Add a make macro for including dependency files. r=gps 2013-08-20 09:15:43 +09:00
Mike Hommey
c447eb3391 Bug 905938 - Fixup for make -s verbosity. r=gps 2013-08-20 16:21:34 +09:00
Gregory Szorc
acd9d1a011 Bug 905879 - More robust tier tracking; r=glandium 2013-08-20 00:06:32 -07:00
Mike Hommey
d650806aa7 Bug 905938 - Remove Java rules from rules.mk. r=gps 2013-08-20 15:22:33 +09:00
Mike Hommey
12db32ebb7 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
f66e910130 Bug 905938 - Use explicit rules for %.i, %.s, %.res, moc_% and qrc_%. r=gps 2013-08-20 15:21:35 +09:00
Gregory Szorc
9bfe2211ed 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
e78b3ab249 Bug 905074 - Hide build status markers when not building with mach. r=gps 2013-08-15 23:45:08 +09:00
Gregory Szorc
c089ae373d Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Ryan VanderMeulen
64b2bc7dd9 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
9f99cee9a1 Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00