Commit Graph

509 Commits

Author SHA1 Message Date
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
Mike Hommey
d3856ec598 Bug 780448 - Add rules for generic python unit tests. r=ted 2012-12-12 16:01:32 +01:00
Mike Hommey
f8a90cc914 Bug 820289 - Quote paths in install/preprocessing/mkdir "magic" rules. r=ted 2012-12-11 16:36:40 +01:00
Jim Mathies
b1a8bc33ae Bug 817076 - Update package manifests to new service locations and key PREF_DIR location off DIST_SUBDIR. r=glandium 2012-12-05 16:36:15 -06:00
Jim Blandy
0f963fc03b Bug 701393 - Add suffix stripping to PP_TARGETS generic preprocessor rule r=glandium 2012-12-02 16:49:32 -08:00
Joey Armstrong
9b8069b669 bug 806558: add xpt.py as a dependency for XPIDL_LINK ing 2012-11-14 15:46:15 -05:00
Mike Hommey
bac58de07e Bug 794472 - Add quoting for some commands to make pymake happier. r=ted 2012-10-18 14:44:12 +02:00
Ted Mielczarek
48379d1462 bug 787176 - Add a Python wrapper script for running C++ unit tests. r=jmaher,waldo
--HG--
extra : rebase_source : 2282494578a7dd792555633df2526835d39c5ac4
2012-08-30 15:20:38 -04:00
Mike Hommey
b2e93f980e Bug 795204 - Trick make/pymake into waiting for shared libraries rules to run before installing import libraries in DIST/lib. r=ted 2012-10-09 10:17:26 +02:00
Makoto Kato
c4ab668c8d Bug 786579 - Remove old MSVC (<=2003) support. r=khuey 2012-09-28 16:02:40 +09:00
Ted Mielczarek
3843856c00 bug 792391 - Add a TARGET_LOCAL_INCLUDES variable to be used for compiling target sources only, not host sources. r=glandium 2012-09-20 09:46:04 -04:00
Phil Ringnalda
6d50fa80a7 Back out 1e7050c52cb9 (bug 792850), 776f7325952b (bug 705047), 2e1be0680e70 (bug 733501), 6adef296963c (bug 791775), b8397781f862 (bug 792391) for WinXP hangs and suspicion of breaking Android stacks 2012-09-20 14:38:14 -07:00
Ted Mielczarek
ccf0e31c31 bug 792391 - Add a TARGET_LOCAL_INCLUDES variable to be used for compiling target sources only, not host sources. r=glandium
--HG--
extra : rebase_source : f1a0b2f6f8051f7d274e38d458c6e426c913470b
2012-09-20 09:46:04 -04:00
Mike Hommey
b18b234a5f Bug 787184 - Use generic install/copy rule in target_libs.mk. r=ted 2012-09-20 09:52:12 +02:00
Mike Hommey
cc830d2164 Bug 789837 - Properly set dependencies on .deps directories. r=ted 2012-09-11 09:43:32 +02:00
Gregory Szorc
503d1a47d0 Bug 781498 - Conditionally install TESTING_JS_MODULES; r=glandium
Previously, installation was unconditional. It should be conditional on
ENABLE_TESTS.

--HG--
extra : rebase_source : 8fb11f96f4c776ee13ede2320ecc6b67d7e68971
2012-09-10 11:46:03 -07:00
Mike Hommey
46341f0cc9 Bug 788954 - Remove export-idl rule. r=ted 2012-09-06 14:46:41 +02:00
Ms2ger
7d03a4abff No bug - Remove STRICT_CPLUSPLUS_SUFFIX; rs=ted 2012-09-06 09:14:49 +02:00
Mike Hommey
35cf4e5266 Bug 784262 - Use generic install/copy rule in rules.mk. r=ted 2012-08-29 08:55:57 +02:00
Joey Armstrong
37e3e21cb3 bug 786708: remove unmatched paren from AUTOUPDATE_CONFIGURE 2012-08-30 14:29:38 -04:00
Siddharth Agarwal
b75edf83d7 Backout bug 784262 because of Pymake bustage and GNU Make "warning: overriding commands for target". 2012-08-29 20:36:23 +05:30
Mike Hommey
0a643d0aea Bug 785622 - Only include .pp files corresponding to files we do build. r=khuey 2012-08-29 08:55:58 +02:00
Mike Hommey
8472c466ec Bug 784262 - Use generic install/copy rule in rules.mk. r=ted 2012-08-29 08:55:57 +02:00
Siddharth Agarwal
f976c1f6e5 Bug 740854 - Remove --disable-auto-deps, SYSTEM_MAKEDEPEND, MOZ_NATIVE_MAKEDEPEND and associated crap. r=ted
--HG--
extra : rebase_source : 6a3f3017a3674738bb89e7e7f2e55c35a3cbe231
2012-08-28 00:57:16 +05:30
Kyle Huey
da0880b2aa Bug 766793: Look for .pp files for shared libraries. r=ted a=philor for landing on a CLOSED TREE 2012-08-23 13:32:37 -07:00
Makoto Kato
49b5608966 Bug 781479 - Remove unused Tru64 and QNX rules. r=khuey 2012-08-13 15:41:04 +09:00
Mike Hommey
53fddf08b8 Bug 777379 - Ensure that default is always the default target. r=ted 2012-08-08 09:33:16 +02:00
Simon Montagu
8d3cfa9819 Use printf instead of sed to prevent lots of blank lines in console output from make -s. Bug 756382, r=ted 2012-08-07 01:42:45 -07:00
Mike Hommey
361e1b40cc Bug 777892 - Link CPP_UNIT_TESTS against zlib when linking js statically. r=khuey 2012-08-07 09:30:01 +02:00
Mike Hommey
235c1a37ea Bug 773202 - Generic install/copy rule. r=ted 2012-08-07 09:29:59 +02:00
Mike Hommey
b45bdfecf0 Bug 770426 - Replace double colon rules with dependency chains for preprocessing rules. r=khuey 2012-07-23 07:42:22 +02:00
Mike Hommey
c8519cc92a Backout rules.mk part of changeset 1f4eae8d9e08 (bug 777379) for bustage on CLOSED TREE 2012-08-06 20:20:26 +02:00
Siddharth Agarwal
ec4ff6da12 Bug 780508 - Avoid a bunch of process spawns with Pymake by removing a redundant shell script and switching an echo to a $(info). r=khuey 2012-08-06 21:44:13 +05:30
Mike Hommey
a195685a40 Bug 777379 - Ensure that default is always the default target. r=ted 2012-08-06 15:21:10 +02:00
Masatoshi Kimura
7b91486db5 Bug 780446 - touch Makefile after invoking config.status. r=glandium 2012-08-05 12:43:00 +02:00
Siddharth Agarwal
f5ea284189 Bug 780421 - Use $(PYTHON) to run config.status. r=glandium 2012-08-05 12:42:57 +02:00
Ms2ger
95d866c21d Bug 773933 - Remove libs rules from browser/components/sessionstore/src/Makefile.in; r=ted 2012-08-04 09:43:58 +02:00
Ed Morley
4eb11bee72 Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger
e6463200a3 Merge m-c to m-i. 2012-08-04 13:02:15 +02:00
Ms2ger
bee14f4afa Bug 773933 - Remove libs rules from browser/components/sessionstore/src/Makefile.in; r=ted 2012-08-04 09:43:58 +02:00
Mike Hommey
875b3349b1 Bug 780159 - Remove obsolete REGCHROME. r=ted 2012-08-04 08:55:00 +02:00
Mike Hommey
6de82c7f66 Bug 774032 part 6 - Replace autoconf handling of config files and headers with our own. r=ted 2012-08-04 08:47:28 +02:00
Boris Zbarsky
90f6c60e4d Bug 777627. Make sure we can't accidentally turn off mochitests for a directory by reordering the Makefile.in. r=khuey 2012-07-26 12:38:03 -04:00
Ed Morley
0696306c60 Backout 137efb901fc9 (bug 777627) for bustage 2012-07-26 17:48:00 +01:00