Commit Graph

636 Commits

Author SHA1 Message Date
Gregory Szorc
8d30d5aabf Bug 828317 - Require pymake to build on Windows; r=ted 2013-03-06 12:05:24 -08: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
Gregory Szorc
01ad66f868 Bug 860957 - Support for invoking non-recursive targets during partial tree builds; r=glandium 2013-05-17 10:54:53 -07:00
Ryan VanderMeulen
1b533138b8 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
bd9f9292cf 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
ea8b76dbc4 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
9aab515c1d 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
0f519733b9 Bug 863365 - Log a message when linking libxul with make -s; r=gps 2013-04-21 08:41:13 +02:00
Mike Hommey
5ec0f35978 Bug 462463 - Stop using mddepend.pl. r=ted 2013-04-09 15:10:25 -07:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Joey Armstrong
a6c49bb883 bug 751156: robocop dependency build should be a nop 2013-03-19 15:34:59 -04:00
Ed Morley
1871f57fe3 Backed out changeset 0f012ef3d3ac (bug 809978) for landing after being given r- 2013-03-19 17:21:01 +00:00
Joey Armstrong
41afca41cb bug 809978: retry link I/O on potential race conditions 2013-03-19 12:26:57 -04:00
Kyle Huey
de9bae661d Back out Bug 462463 for massively regressing pymake depend build speed. CLOSED TREE 2013-03-18 12:57:35 -07:00
Mike Hommey
48307a4b44 Bug 462463 - Stop using mddepend.pl. r=ted 2013-03-17 07:43:35 +01:00
Mike Shal
e9f8bc0fbd Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
55e2c13ea6 Bug 818246 - Part 3: Build system support for XPIDLSRCS in moz.build; r=glandium 2013-03-12 10:15:24 -07:00
Mike Hommey
43c6f59e2b Bug 848735 - Fix INSTALL_EXTENSION_ID rule. r=ted 2013-03-08 09:32:55 +01:00
Mike Hommey
10660f1e5e Bug 847411 - Remove mkdir_deps dependency for PP_TARGETS rules. r=ted 2013-03-04 19:34:02 +01:00
Mike Hommey
62a9fc733a Bug 847397 - Remove mkdir_deps dependency for INSTALL_TARGETS rules. r=ted 2013-03-04 19:34:02 +01:00
Daniel Holbert
8986e09212 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
39ec7e4cdf 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
d4d649fe88 Bug 767231 - Part 1: Add GTest. r=ted 2012-05-22 13:45:24 -07:00
Benjamin Smedberg
4f2e9aac20 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
bbdbb106d3 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
eefe4e1340 Bug 802254 - Add quotes around XPI_ROOT_APPID which can contain {}. r=glandium 2013-02-07 10:22:11 -06:00
Jim Mathies
822369ff3d 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
278deb0097 bug 830351: remove unused .mkdir.deps rule and clenaup cosmetic makefile problems 2013-01-31 14:55:30 -05:00
Joey Armstrong
ee2eada8c4 bug 747540: fix dependencies for java build 2013-01-25 15:22:13 -05:00
Mike Hommey
fa66112164 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
82196a4234 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
e7160b3496 Backout 119c60543071 (bug 751156) for robocop failures 2013-01-03 18:12:36 +00:00
Joey Armstrong
1640af69e6 bug 751156: robocop dependency build should be a nop 2013-01-03 10:48:04 -05:00
Cameron McCormack
f8b803f9d3 Bug 820148 - Add RELEASE_BUILD macro available in pref js files. r=ted 2012-12-22 16:35:51 +11:00
Mike Hommey
7a281758d5 Bug 780448 - Add rules for generic python unit tests. r=ted 2012-12-12 16:01:32 +01:00
Mike Hommey
7faae537f1 Bug 820289 - Quote paths in install/preprocessing/mkdir "magic" rules. r=ted 2012-12-11 16:36:40 +01:00
Jim Mathies
4b5bd2fb0c 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
40e849e57c Bug 701393 - Add suffix stripping to PP_TARGETS generic preprocessor rule r=glandium 2012-12-02 16:49:32 -08:00
Joey Armstrong
61ce872904 bug 806558: add xpt.py as a dependency for XPIDL_LINK ing 2012-11-14 15:46:15 -05:00
Mike Hommey
c318b23973 Bug 794472 - Add quoting for some commands to make pymake happier. r=ted 2012-10-18 14:44:12 +02:00
Ted Mielczarek
50d314a70a 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
da3307eff1 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
222556a3d5 Bug 786579 - Remove old MSVC (<=2003) support. r=khuey 2012-09-28 16:02:40 +09:00
Ted Mielczarek
8196a1cdce 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
8eac6cec70 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
1f146a51ad 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
6540907667 Bug 787184 - Use generic install/copy rule in target_libs.mk. r=ted 2012-09-20 09:52:12 +02:00
Mike Hommey
b0c0deaf39 Bug 789837 - Properly set dependencies on .deps directories. r=ted 2012-09-11 09:43:32 +02:00
Gregory Szorc
f904bb0432 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
88dc62dcc0 Bug 788954 - Remove export-idl rule. r=ted 2012-09-06 14:46:41 +02:00
Ms2ger
edc358740e No bug - Remove STRICT_CPLUSPLUS_SUFFIX; rs=ted 2012-09-06 09:14:49 +02:00
Mike Hommey
d4d87778e3 Bug 784262 - Use generic install/copy rule in rules.mk. r=ted 2012-08-29 08:55:57 +02:00
Joey Armstrong
87fa4655da bug 786708: remove unmatched paren from AUTOUPDATE_CONFIGURE 2012-08-30 14:29:38 -04:00
Siddharth Agarwal
4ac6379343 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
6f9fd5c1fe Bug 785622 - Only include .pp files corresponding to files we do build. r=khuey 2012-08-29 08:55:58 +02:00
Mike Hommey
2c1a2e9335 Bug 784262 - Use generic install/copy rule in rules.mk. r=ted 2012-08-29 08:55:57 +02:00
Siddharth Agarwal
b95f39c7d8 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
d0e7de1d67 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
fafd62a900 Bug 781479 - Remove unused Tru64 and QNX rules. r=khuey 2012-08-13 15:41:04 +09:00
Mike Hommey
32a6095cde Bug 777379 - Ensure that default is always the default target. r=ted 2012-08-08 09:33:16 +02:00
Simon Montagu
464ccc6441 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
51f3c90718 Bug 777892 - Link CPP_UNIT_TESTS against zlib when linking js statically. r=khuey 2012-08-07 09:30:01 +02:00
Mike Hommey
b6f9bfdad5 Bug 773202 - Generic install/copy rule. r=ted 2012-08-07 09:29:59 +02:00
Mike Hommey
fd7fe8283e Bug 770426 - Replace double colon rules with dependency chains for preprocessing rules. r=khuey 2012-07-23 07:42:22 +02:00
Mike Hommey
54899f3192 Backout rules.mk part of changeset 1f4eae8d9e08 (bug 777379) for bustage on CLOSED TREE 2012-08-06 20:20:26 +02:00
Siddharth Agarwal
aa93634107 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
ee47330ec1 Bug 777379 - Ensure that default is always the default target. r=ted 2012-08-06 15:21:10 +02:00
Masatoshi Kimura
a6b774caa1 Bug 780446 - touch Makefile after invoking config.status. r=glandium 2012-08-05 12:43:00 +02:00
Siddharth Agarwal
41ac5ef842 Bug 780421 - Use $(PYTHON) to run config.status. r=glandium 2012-08-05 12:42:57 +02:00
Ms2ger
923600d481 Bug 773933 - Remove libs rules from browser/components/sessionstore/src/Makefile.in; r=ted 2012-08-04 09:43:58 +02:00
Ed Morley
bba173e66e 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
2529739530 Merge m-c to m-i. 2012-08-04 13:02:15 +02:00
Ms2ger
07b623f64b Bug 773933 - Remove libs rules from browser/components/sessionstore/src/Makefile.in; r=ted 2012-08-04 09:43:58 +02:00
Mike Hommey
0eae37769a Bug 780159 - Remove obsolete REGCHROME. r=ted 2012-08-04 08:55:00 +02:00
Mike Hommey
98cf7cdf43 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
d794ed88da 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
b24402aeb3 Backout 137efb901fc9 (bug 777627) for bustage 2012-07-26 17:48:00 +01:00
Boris Zbarsky
168d572fc7 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
853788ef5a Backout eecd3aa199e6 (bug 776305), 62facd5b3da9, c6a0ac7d47d2 & 2d56621abfee (bug 776035), e4e68cf2bd40 (bug 776016), 0853a4d49b4e & 31de6ffdedcb (bug 770426), 43a69b4981f5 (bug 756786) for Windows mochitest crashes 2012-07-25 09:35:32 +01:00
Mike Hommey
5f8309d9b6 Bug 770426 - Replace double colon rules with dependency chains for preprocessing rules. r=khuey 2012-07-23 07:42:22 +02:00
Gregory Szorc
42d6d9f5c1 Bug 776805 - Remove unused NO_GEN_XPT from rules.mk; r=glandium 2012-07-24 10:57:13 -07:00
Ed Morley
fb53aeec33 Backout deb1e2c80f84 (bug 770426) for causing bug 776503 on a CLOSED TREE 2012-07-23 14:28:32 +01:00
Mike Hommey
2b582f939d Bug 770426 - Replace double colon rules with dependency chains for preprocessing rules. r=khuey 2012-07-23 07:42:22 +02:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Mike Hommey
4f24ca47f6 Bug 771870 - Avoid js/src/Makefile being created with wrong topsrcdir. r=khuey 2012-07-09 15:47:26 +02:00
Siddharth Agarwal
e96cbe20c0 Bug 680636 - Add support for running nsinstall natively under pymake and convert a bunch of cases over. r=ted 2012-07-03 12:13:30 +05:30
Phil Ringnalda
8933eff28c Back out 6a386d638a1a (bug 746277) for packaged build bustage 2012-06-27 08:31:38 -07:00
Joey Armstrong
4d213decb0 bug 746277: replace hg shell pipelines with make logic 2012-05-16 15:09:00 -04:00
Mike Hommey
8c6644eac1 Bug 766975 - Rename OBJS-related dependency files. r=khuey 2012-06-22 18:29:03 +02:00
Randell Jesup
04cb98a9a8 Bug 757637: Rollup makesystem changes for webrtc r=khuey r=ted f=glandium 2012-06-20 07:27:43 -04:00
Joey Armstrong
1427952567 bug 757855: move xpidl* logic into a named makefile - batch #1 2012-06-01 11:13:07 -04:00
Joey Armstrong
4249f5fd38 bug 757828: move export logic into target_export.mk - batch #1 2012-05-23 11:19:24 -04:00
Mike Hommey
a659d7e6ee Bug 757339 - Make expandlibs commands generate dependencies like gcc does. r=ted 2012-06-08 08:59:02 +02:00
Timothy B. Terriberry
9387e956b1 Bug 759008 - Remove unused LIBOBJS from rules.mk, r=glandium 2012-05-29 11:54:31 -07:00
Joey Armstrong
a6c1197fc0 bug 742391: split config/rules.mk - file batch #1 2012-05-16 14:46:28 -04:00
Joey Armstrong
d3800f614a bug 751167: replace FORCE with makefile dependencies r=ted 2012-05-15 09:20:30 -07:00
Mike Hommey
e1c1bf2c5a Bug 748001 - Use explicit targets for object files. r=ted 2012-05-15 07:44:32 +02:00
Mike Hommey
1f46768cf3 Bug 754625 - Use idl-parser from $(LIBXUL_DIST)/sdk/bin and only remove lex and yacc files in header.py --regen. r=khuey 2012-05-14 17:19:39 +02:00
Landry Breuil
e68e03b499 bug 736961 - use the same cachedir for all idl-parser calls, fixes builds without objdir - r=khuey 2012-05-11 11:17:00 -07:00
Gregory Szorc
03add7dd8e Bug 748490 - Part 3: Followups to part 2; r=ted
Previous patch was submitted prematurely by accident. This addresses
nits from review.
2012-05-10 10:19:16 -07:00
Gregory Szorc
ce02a35113 Bug 748490 - Part 2: Register testing modules with xpcshell test runner; r=ted 2012-05-10 10:10:14 -07:00
Gregory Szorc
902df1ed06 Bug 748490 - Part 1: Provide build rules to install test-only JS modules; r=ted 2012-05-10 10:10:11 -07:00
Nathan Froyd
14eeb930ab Bug 744444 - Part 3: delete CPP_PROG_LINK; r=ted 2012-04-12 16:58:11 -04:00
Nathan Froyd
63643fbbad Bug 744444 - Part 2: delete quantify target and related support; r=ted 2012-04-12 16:56:57 -04:00
Nathan Froyd
82b7940845 Bug 744444 - Part 1: delete purify target; r=ted 2012-04-12 16:54:34 -04:00
Ryan VanderMeulen
a3a125f0c1 Backout 2c8ae0c81d32 (bug 742391) due to bustage. r=FAIL 2012-05-04 23:03:31 -04:00
Joey Armstrong
4562b3524a Bug 742391 - Split config/rules.mk - file batch #1. r=ted 2012-05-04 22:46:35 -04:00
Ehsan Akhgari
1264cba321 Backout changeset b0200dab0ccc to revert the incorrect backout of an fx-team range (no bug)
This is the range I mistakenly backed out before:
http://hg.mozilla.org/mozilla-central/pushloghtml?changeset=bc5fee76550b
2012-05-02 16:11:19 -04:00
Ehsan Akhgari
077dde163d Backout the latest merge from fx-team because of Ts regressions (no bug) 2012-05-02 15:37:08 -04:00
Tim Taubert
467f00c214 merge m-c to fx-team; a=js-only 2012-05-02 15:36:57 +02:00
Jim Blandy
af6268930f Bug 750368: Help 'make xpcshell-tests' find 'mozinfo' Python module. r=ted 2012-05-01 16:54:45 -07:00
Mike Hommey
d278e617c4 Bug 748739 - Link stdc++compat as a static library, and always link it when STDCXX_COMPAT is enabled. r=ted
--HG--
rename : build/stdc++compat.cpp => build/unix/stdc++compat/stdc++compat.cpp
2012-04-30 08:03:59 +02:00
Myk Melez
fd7a6dd8f7 bug 746156 - isolate webapp runtime files into subdirectory of Firefox package; r=bsmedberg, a=akeybl 2012-04-19 00:39:52 -07:00
Nathan Froyd
547541ab7c Bug 743988 - unconditionally link PROGRAMS and SIMPLE_PROGRAMS with CXX; r=ted 2012-04-10 10:16:26 -04:00
Mike Hommey
f1ca47c4d8 Bug 644608 - Implement full dependencies for expandlibs. r=ted
* * *
Bug 644608 - Fixups
2012-03-31 09:24:39 +02:00
Takanori MATSUURA
6ba21f9576 Bug 737006 - Use internal ply only if needed. r=khuey 2012-04-06 14:06:52 -04:00
Mike Hommey
f486d1cc20 Backout bug 644608 for subtly breaking layout/media build 2012-04-06 13:57:24 +02:00
Mike Hommey
63b2524d81 Bug 644608 - Implement full dependencies for expandlibs. r=ted 2012-03-31 09:24:39 +02:00
Joey Armstrong
ffd562b9b7 Bug 738404 - Makefile.in edits to use threadsafe mkdir (bug 680246) - r=ted 2012-04-03 16:08:16 -04:00
Joey Armstrong
fc0e131cb1 Bug 680246 - add a makefile library rule to support thread safe directory creation - r=khuey 2012-04-02 13:06:06 -04:00
Mark Capella
24883e7b24 Bug 595926 - Purge last traces of REQUIRES from the build system. r=khuey 2012-03-12 10:22:57 +01:00
Jacek Caban
987bd3c3bf Bug 733713 - xpcom/tests fail to compile on mingw r=glandium 2012-03-09 16:58:43 +01:00
Gregory Szorc
a272dc9b1e Bug 729098 - Part 1/2: Create xUnit XML results file when executing xpcshell tests; r=khuey 2012-03-06 15:03:34 -08:00
Philipp Wagner
38fa903280 Bug 730081 - Add a way to disable xpccheck for subdirectories; r=khuey 2012-02-23 22:22:00 +01:00
Jacek Caban
d5b8c93f78 Bug 728178 - js.exe fails to link on on mingw (missing MOZ_Crash) r=glandium 2012-02-21 15:48:02 +01:00
Makoto Kato
2ed3c82ead Bug 722933 - add -MACHINE option for link.exe. r=khuey 2012-02-21 16:19:23 +09:00
Mike Hommey
526bd939af Bug 717540 - Remove MFBT dependency on JS_Assert, add MOZ_Assert, and use it for WTF assertions. r=waldo,r=khuey 2012-02-13 15:48:23 +01:00
Mike Hommey
567913809a Bug 701371 - Rename mozutils to mozglue, and move it to top-level. r=khuey,a=brendan
--HG--
rename : memory/mozutils/Makefile.in => mozglue/Makefile.in
rename : memory/mozutils/Makefile.in => mozglue/build/Makefile.in
rename : memory/mozutils/dummy.cpp => mozglue/build/dummy.cpp
rename : memory/mozutils/fixcrt.py => mozglue/build/fixcrt.py
rename : memory/mozutils/mozutils.def.in => mozglue/build/mozglue.def.in
2011-12-28 08:24:02 +01:00
Matt Brubeck
5de13ee52d Merge from mozilla-inbound to mozilla-central 2011-12-27 11:04:58 -08:00
Oleg Romashin
d7705e8ae7 Bug 703434 - Add support for Qt resource files (qrc) which possible to pre-compile with rcc compiler. r=glandium 2011-11-17 01:28:33 -05:00
Jacek Caban
2e48d58fae Bug 712584 - Properly use .def files on mingw builds r=khuey 2011-12-27 10:51:53 +01:00
Ed Morley
af477c6f5e Backout 1d0ec7fa8b96 (bug 702179) for PGO Linux build failures 2011-12-21 15:57:26 +00:00
Ginn Chen
81d3d039c1 Bug 702179 dtrace probes are not installed on Solaris with static js lib r=glandium (reland with additional fix from Mike Hommey) 2011-12-21 19:25:31 +08:00
Bill McCloskey
af6c302c9e Bug 705332 - Re-enable printing filename in quiet builds (r=njn) 2011-12-08 10:14:06 -08:00
Nicholas Nethercote
a4c1789959 Bug 703456 - Kill REPORT_BUILD; kill it dead. r=ted. 2011-11-21 18:47:54 -08:00
Gregory Szorc
84fc0b630e Bug 701822 - Add TEST_DIRS Makefile variable; r=ted 2011-11-11 12:25:22 -08:00
Bobby Holley
6ff068db60 Bug 691781 - Generate IDL lexer and parser as part of the build system. r=khuey 2011-11-06 13:32:25 +01:00
ABE Hiroki
32178e822e Bug 675593 - Fix nspr4!1.pgc path mistake on NSPR PGO build (m-c part); r=ted 2011-11-04 21:26:53 +00:00
Mike Hommey
bcde7f06a7 Bug 695989 - Properly pick changes to jemalloc/mozutils on Linux incremental builds. r=ted 2011-10-27 15:15:21 +02:00
Mike Hommey
c04dec79a7 Bug 686464 - Leave it to Android to unpack the content process executable. r=ted 2011-10-27 14:53:20 +02:00
Mitchell Field
61f3f4ae6d Bug 593768 - Remove --enable-cpp-exceptions configure option; r=ted 2011-10-21 18:56:25 +01:00
Ehsan Akhgari
0f6e3e18c4 Backed out changeset 020f14584a2a (bug 680246) because it broke builds on all platforms 2011-09-26 11:53:28 -04:00
Joey Armstrong
d1f0112849 Bug 680246 - makefile logic to support threadsafe mkdir -p; r=ted 2011-08-18 17:16:21 -04:00
Mike Hommey
e47f41066a Bug 687805 - Allow DIST_FILES, DIST_CHROME_FILES and PREF_JS_EXPORTS to be in objdir. r=khuey 2011-09-21 18:06:14 +02:00
Mike Hommey
d0a3d1bc2f Backout the backout of e5815c156b6c (bug 683096), 9ca928d8095c (merge), a286edb8ca4b (bug 683875), 61dc35b8f63f (bug 683171), b0741ae44def (bug 683875), 8e01bc314326 + e2697c06468f (bug 677501), 805e28e85577 (bug 680440) 2011-09-03 08:19:06 +02:00
Ed Morley
ed260633c7 Backout e5815c156b6c (bug 683096), 9ca928d8095c (merge), a286edb8ca4b (bug 683875), 61dc35b8f63f (bug 683171), b0741ae44def (bug 683875), 8e01bc314326 + e2697c06468f (bug 677501), 805e28e85577 (bug 680440) for Win opt orange and purple galore, on a CLOSED TREE 2011-09-03 04:35:21 +01:00
Mike Hommey
022079a913 Bug 683875 - Fixup. r=me 2011-09-01 20:24:13 +02:00
Mike Hommey
30b5c313fc Bug 683875 - Remove stale static library when only creating a fakelib. r=ted 2011-09-01 18:26:07 +02:00
Mike Hommey
cfd3ac70a2 Bug 677501 - Build a mozutils library containing jemalloc and other things. r=khuey
--HG--
rename : memory/jemalloc/Makefile.in => memory/mozutils/Makefile.in
rename : memory/jemalloc/fixcrt.py => memory/mozutils/fixcrt.py
rename : memory/jemalloc/jemalloc.def => memory/mozutils/mozutils.def.in
2011-09-01 14:12:10 +02:00
Mike Hommey
1fbab12774 Bug 680440 - Clean up jemalloc linkage. r=khuey 2011-09-01 14:11:56 +02:00
Kyle Huey
411121afb0 Back out Bug 659311 for messing up Linux PGO builds. 2011-08-31 10:49:42 -04:00
Kyle Huey
7b7b45a351 Merge m-c to b-s. 2011-08-31 07:52:43 -04:00
Joey Armstrong
55c77d2cc5 bug 662833 - split rules.mk, dup *.mk beneath js/src/config 2011-07-07 11:29:41 -04:00
Mike Hommey
adaf3ba792 Bug 659311 - Avoid clobber between profile generate and use passes of PGO builds. r=ted 2011-05-24 16:19:15 +02:00
Kyle Huey
2eb5f2b441 Merge m-c to b-s. 2011-08-28 06:00:17 -04:00
Matheus Kerschbaum
0e48166430 Bug 671465 - Remove whitespace from rules.mk rs=khuey 2011-08-26 00:37:25 +01:00
Steve Fink
243e7968e5 Bug 678954 - Add object files back into dtrace command line for Solaris dtrace support (r=khuey)
Also the current version of systemtap on Linux does not need those object files any more (older versions did), they are accepted without complaint.

--HG--
extra : rebase_source : 95171251f96b31b4dbc9064fc75ff3aeaac4bf87
2011-08-17 15:14:52 -07:00
Gregory Szorc
617912109c Bug 680534 - Clean up $(IDL_DIR) rule definition; r=khuey 2011-08-22 18:34:01 +01:00
Rafael Ávila de Espíndola
09c724072a Bug 680711 - Remove the BUILD_MODULES variable. r=khuey 2011-08-22 13:10:15 -04:00
Geoff Brown
7329896875 Bug 668351 - Add make targets to run xpcshell tests on Android; r=jmaher 2011-08-22 09:00:50 +01:00
Kyle Huey
0e75aa6dec Back out Bug 659311 which made it to m-c prematurely. 2011-08-19 13:16:24 -04:00
Kyle Huey
c29ddcfaa4 Merge b-s to m-c. 2011-08-18 06:49:06 -04:00
Mike Hommey
889bc1e410 Backout changesets 66b336cc59b1 and dfe63797f67a (bug 676252) beause of Linux opt perma-red 2011-08-17 07:45:20 +02:00
Mike Hommey
cdfea56b19 Bug 659311 - Avoid clobber between profile generate and use passes of PGO builds. r=ted 2011-05-24 16:19:15 +02:00
Mike Hommey
325573a13d Bug 676252 - Use a different object file extension for the first PGO build pass with GCC. r=ted 2011-08-16 09:41:55 +02:00
Jason Orendorff
de11adf281 Build system: echo submake commands, just like all other commands. rs=ted.
--HG--
extra : rebase_source : 3fff7ad04fe8f31ff5e6e38ee1bd64cf85286d88
2011-08-17 11:21:46 -05:00
Makoto Kato
28d86dca55 Bug 675135 - should use -Fo instead of -o on MASM. r=ted 2011-08-25 18:31:52 +09:00
Mike Hommey
910fe37b7c Bug 681588 - Cleanup wrap malloc and its use on Android. r=ted 2011-08-29 19:21:22 +02:00
Mike Hommey
394b75114c Bug 676252 part 2 - Use a different object file extension for the first PGO build pass with GCC. r=ted 2011-08-29 07:34:12 +02:00
Mike Hommey
bc5bb72129 Bug 682794 - Refresh autoconf.mk when autoconf.mk.in is modified. r=khuey 2011-08-29 13:44:46 +02:00
Mike Hommey
7fc6b6d52b Backed out changeset 480f913edf3f (bug 676252) because of build failure 2011-08-29 08:31:58 +02:00
Mike Hommey
5a8b4a9df8 Bug 676252 part 2 - Use a different object file extension for the first PGO build pass with GCC. r=ted 2011-08-29 07:34:12 +02:00
Mike Hommey
081427d7a0 Bug 679334 - Don't remove pgd files, but clear them with pgomgr instead. r=ted 2011-08-29 07:33:48 +02:00
Steve Fink
bf6c625e51 Bug 574403 - Make --enable-dtrace work on all Linux and OSX builds
OSX has the "real" DTrace available by default. On Linux, this uses systemtap's
dtrace emulation tool and the <sdt.h> header to convert static probes into
special ELF sections describing the probe points so they may be enabled
dynamically.

systemtap-sdt-devel was installed onto all Linux build machines in bug 673753,
so it should be valid to --enable-dtrace for both OSX and Linux.

--HG--
extra : rebase_source : 480e81d27fe5c8fece172d52d16a37ae41e5993f
2010-09-20 12:43:52 -07:00
Kyle Huey
9536725f1f Bug 458936: Replace xpidlc's typelib generation with a python equivalent. r=ted 2011-08-09 20:48:41 -04:00
Steve Fink
c319d416f7 Bug 673616 - Fix build with --enable-shared-js and --enable-shark (r=khuey)
--HG--
extra : rebase_source : 8ec038317f7381df27942bd529ef9225ebc6fb0e
2011-07-26 15:42:16 -07:00
Kyle Huey
6ab62c5552 Bug 673940: Don't accidentally overwrite the environment's PYTHONPATH. r=ted 2011-07-25 10:20:43 -07:00
Kyle Huey
4682f37f8c Bug 585015: Invoke header.py as a native command. r=glandium 2011-07-21 17:01:45 -07:00
Kyle Huey
945bfa198d Bug 578478: Switch to pyxpidl for header generation. Parts by bsmedberg, with r=jorendorff,khuey, and parts by me, with r=bsmedberg 2011-07-19 14:46:25 -07:00
Kyle Huey
83c42e48af Merge m-c to b-s. 2011-07-19 08:50:02 -07:00
Siddharth Agarwal
996eff61b5 Bug 668058 - Add a DIR_INSTALL nsinstall shortcut, and allow $(INSTALL) to support target-specific makefiles. r=ted 2011-07-08 14:30:27 -07:00
Mike Hommey
4417ab4a0f Backed out changeset 8b7150ba4450 because of win opt build failure 2011-07-07 14:48:17 +02:00
Ehsan Akhgari
84e6e87f47 Back out changeset 51f17131556b (bug 632221) because it breaks the build 2011-07-13 16:37:18 -04:00
Andrew Paprocki
a657a850fc Bug 632221 - Add HOST_LDFLAGS to link of host programs, make jscpucfg a host program; r=ted 2011-07-13 12:37:35 -07:00
Mike Hommey
07e3d026ee Bug 644608 - Implement full dependencies for expandlibs. r=ted 2011-05-03 09:33:45 +02:00
Steve Fink
25b41ac85e Bug 588537 - Add ETW (Event Tracing for Windows) to the build, gated upon --enable-ETW (r=khuey) 2010-09-20 12:43:52 -07:00
Ted Mielczarek
62b37a06ef bug 664197 - integrate mozinfo + ManifestDestiny update into xpcshell harness. r=jmaher
--HG--
extra : rebase_source : 1783e1a39d592defa279488f0cd0266311ed35ea
2011-06-21 08:12:40 -04:00
Kyle Huey
6306507768 Bug 515492: Make jemalloc work on VS 2010. r=ted,pbiggar 2011-06-27 12:44:51 -07:00
Mike Hommey
662821fadf Bug 659942 - Clean up profiling data during PROFILE_GENERATE phase. r=ted 2011-06-13 11:58:34 -04:00
Rafael Ávila de Espíndola
eb595ddfc3 Bug 657653. Check for libstdc++ versions in stdc++compat.cpp; r=ted,glandium 2011-06-08 22:35:24 -04:00
Matheus Kerschbaum
35f86c76ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Joel Maher
8d37f99984 Bug 616999. Xpcshell manifest support; harness changes. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Mike Hommey
276732190f Backout bug 644608 because of bustage 2011-05-16 16:29:03 +02:00
Mike Hommey
a733c6b3cf Fixup for bug 644608. r=ted 2011-05-16 15:49:29 +02:00
Mike Hommey
c01d121edb Bug 644608 - Implement full dependencies for expandlibs. r=ted 2011-05-03 09:33:45 +02:00
Takanori MATSUURA
6c88e1c625 Bug 655439 - Use $(LIBXUL_DIST)/bin/xpcshell instead of $(DIST)/bin/xpcshell. r=khuey 2011-05-11 15:13:43 +02:00
Jacek Caban
d0bab4f594 Bug 644987 - Wrong EXPAND_LIBNAME on mingw compilation. r=glandium 2011-03-25 14:41:35 +00:00
Jonathan Watt
de6576b429 Bug 648053 - Always use absolute paths when specifying the source file to the compiler. r=ted.
--HG--
extra : rebase_source : c2cb4eba8efad66bb2f718c8397deee701801cf6
2011-04-20 10:43:08 +01:00
Ed Morley
bb4520ba57 Bug 648866 - Remove WinCE code from main build system + that of js/src/. r=ted 2011-04-19 14:11:40 +10:00
Mike Hommey
a89c15d4ec Bug 650503 - Hide libstdc++ compatibility check command line. r=khuey 2011-04-16 17:57:51 +02:00
Mike Hommey
619400dd23 Bug 643690 part 2 - Check that resulting binaries don't require GLIBCXX_3.4.9 or more. r=ted 2011-04-15 11:03:35 +02:00
Mike Hommey
0659550873 Bug 602245 - Don't build SIMPLE_PROGRAMS during MOZ_PROFILE_GENERATE pass. r=ted 2011-04-14 11:23:13 +02:00
Mike Hommey
22ee77c5ad Bug 643817 - Replace xpt_link/dump with pyxpt. r=ted,r=bsmedberg 2011-04-14 11:22:09 +02:00
Mitchell Field
6a54ac3aa6 Merge mozilla-central to build-system. 2011-04-09 22:09:02 +10:00
Benjamin Smedberg
95a3d6d693 Bug 648593 - Remove JavaXPCOM and its build support code from the main tree, r=ted
--HG--
extra : rebase_source : 5e3a8c714bb3761ec20170789ac5fc7d5033fc11
2011-04-08 12:51:33 -07:00
Mitchell Field
2416c34b76 Bug 645356 - Use pymake builtins. r=khuey 2011-04-03 17:16:49 +10:00
Chris Jones
02c5d89688 Bug 577899, part 1: Add mfbt, to contain code shared between SpiderMonkey and Gecko. r=luke,ted sr=brendan,bsmedberg,roc 2011-03-31 20:46:35 -05:00
Matheus Kerschbaum
355ae99518 Bug 640838: Remove OpenVMS support. r=khuey 2011-03-26 11:51:35 -04:00
Mike Hommey
6ef83c9db5 Bug 584474 part 9 - Replace fakelibs with a more sophisticated library expansion system. r=ted 2011-02-25 15:05:08 +01:00
Mike Hommey
de12d28491 Bug 584474 part 1 - Use a special value of EXPORT_LIBRARY to copy libraries in other directories. r=khuey 2011-02-25 15:02:04 +01:00
Mitchell Field
2e8a7d546f Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
Kyle Huey
974f7e890a Merge mozilla-central into build-system 2011-01-26 08:56:56 -05:00
Mitchell Field
6e6d670c88 Bug 462361 - Remove support for building with Cygwin. r=khuey 2011-01-26 07:14:30 +11:00
Andreas Gal
6278051362 Make Shark work with 64-bit MacOSX builds and rename to start/stopProfiling() (bug 625962, r=sayrer). 2011-01-14 17:58:40 -08:00
timeless@mozdev.org
224e3148f6 Bug 620905 rules.mk generally fails to set ELOG to print-failed-commands.sh for make -s
r=khuey a=bsmedberg
2011-01-05 14:17:10 -08:00
Mike Hommey
6445e28081 Bug 606145 part 1 - Properly link host programs written in C++. r=khuey,a=bsmedberg 2011-01-24 09:56:40 +01:00
Benjamin Smedberg
6c167a9962 Bug 616056 - prevent double registration of binary components, which causes crashes due to dead KnownModule pointers, r=Mossop a=blocking 2010-12-03 15:24:22 -05:00
Walter Meinl
48d1e8997b Bug 577011 - [OS/2] make _declspec unconditionally default symbol export r=daveryeo@telus.net a=benjamin
--HG--
extra : rebase_source : f73a926174bd7905f177b2e914492e42b90ac8c0
2010-11-09 11:13:03 +01:00
Justin Wood
f5b600f750 Bug 608044 - m-c rules.mk needs whitespace and spelling fixes. rs+=khuey, a=NPOTB
--HG--
extra : rebase_source : a2b2159faa8fcc8bf0a72427a5f5398de6e3981a
2010-10-28 14:28:21 -04:00
Mounir Lamouri
02f46cf461 Bug 585625 - ".js component without matching .manifest" error message should point to MDC. r=ted a=npotb
--HG--
extra : rebase_source : a3accda5720b23483b7338837e193cd7024970d0
2010-09-20 05:15:01 +02:00
Benedict Hsieh
91b486022f Bug 594612 Fastload not invalidated after building with pymake r=bsmedberg a=bsmedberg 2010-09-14 17:23:56 -07:00
Joel Maher
161d8ae5ae Bug 591325 Fix regression due to relativesrcdir landing in xpchsell test, continued cleanup in chrome tets r=ctalbert a=NPOTB 2010-09-10 10:20:38 -07:00
Michael Wu
d5fc5a0de5 Bug 589971 - Omnijar before profiling part of PGO, r=ted a=beltzner 2010-09-09 16:12:08 -04:00
Joel Maher
b61eda4b1d Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
Clint Talbert
1afdc1b8df Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Joel Maher
51fff79f07 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
Jonas Sicking
cbc0676504 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
6763342e81 Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB 2010-08-20 09:32:58 -07:00
Benjamin Smedberg
ced3d9c3f2 Revert bug 578478 because of issues in parallel builds (generating the yacc/lex tables), and because of a conflict with fatvals 2010-08-09 15:22:40 -04:00
Benjamin Smedberg
ad169ffd0f Bug 578478 part B - Create and use dependencies from the python IDL parser, r=khuey 2010-08-09 14:38:44 -04:00
Benjamin Smedberg
afbda24a70 Bug 578478 - Make header.py process the following new attributes: deprecated, optional_argc, implicit_jscontext, r=jorendorff 2010-08-09 14:38:44 -04:00
Benjamin Smedberg
c622433f07 Merge mozilla-central into single-chrome-manifest. 2010-08-04 14:23:04 -04:00
Benjamin Smedberg
1815abc007 Bug 579718 part B - packaging and build changes to ship a single chrome.manifest from which other manifests are read. r=khuey See long-form commit details below:
In a nonpackaged build, we have the following manifests:
* chrome.manifest is just a series of manifest directives for all the other manifests, generated in rules.mk using buildlist.py
** components/interfaces.manifest is also generated in rules.mk using buildlist.py
** components/components.manifest contains only the *binary* components. JS components each have their own manifest which is installed to dist/bin/components
** Each chrome/jarfile.jar has a matching chrome/jarfile.manifest, and JarMaker.py inserts this filename into the root chrome.manifest by importing buildlist.py

In a packaged build, we end up with the following manifests:

* chrome.manifest lists the four manifests below
** components/interfaces.manifest
** components/components.manifest
** chrome/nonlocalized.manifest
** chrome/localized.manifest

In the future it should be possible to integrate the three non-localized manifests directly into the root chrome.manifest for increased performance, but this is slightly tricky because it involves rewriting some manifest instructions which may include relative JAR URIs. That is left for a future followup.

When we repackage a l10n build, we only have to replace chrome/localized.manifest.
2010-07-22 10:38:59 -04:00
Benjamin Smedberg
736a902d51 Backed out changeset 0c116ba35956 2010-07-20 17:49:10 -04:00
Ted Mielczarek
337fe01582 Bug 578751: Use @loader_path instead of @executable_path on Mac OS X. Committing as a bustage fix, still needs review. 2010-07-20 01:41:22 -04:00
Kyle Huey
2dd5c7a553 Fix TestWindowsDND bustage (fallout from fakelibs)
--HG--
extra : rebase_source : e64dd9e1ad4e60ad2a1fe8968c309b13726760bd
2010-08-02 00:08:38 -07:00
Walter Meinl
4183c3cdef Bug 576606 - [OS/2] Fix registration follow-up to bug568691 r=dragtext
--HG--
extra : rebase_source : ff548f598f1e3e7c7b3b70e1f7d683011b238dd2
2010-07-18 11:22:01 +02:00
Jacek Caban
e8f6daf69e Bug 583584: Fakelibs breaks cross-compiles, even on this CLOSED TREE. r=khuey 2010-08-01 10:42:41 -07:00
Kyle Huey
932ea79b49 Bug 522770: Link directly to object files instead of intermediate static libs. Patch originally written by Ted Mielczarek. Checking into a CLOSED TREE as a bustage fix. reviews pending.
--HG--
extra : rebase_source : 54a506a5815dcdedaf3f61ad7d6bdd0529d7f5f7
2010-08-01 01:48:21 -07:00
Neil Rashbrook
ee7000c1b2 Bug 581903 Make --enable-xterm-updates work with PARALLEL_DIRS r=khuey 2010-07-27 12:44:21 +01:00
Ted Mielczarek
01a35302ce bug 542504 - SIMPLE_PROGRAMS (and CPP_UNIT_TESTS) don't get re-linked in a PGO build. r=mitch, a=mossop
--HG--
extra : rebase_source : b33997adcd4567057adf01d8d3e4ac857e4df502
2010-07-26 15:21:55 -04:00
Neil Rashbrook
b932e0ad5b Bug 581151 Make 'make chrome' work again (regression from bug 466492) r=khuey 2010-07-25 15:35:46 +01:00
Stefan Hundhammer
5dab5f8dd0 Bug 581318: Qt moc calls need DEFINES and ACDEFINES for conditional compilation. r=khuey 2010-07-23 10:56:19 -07:00
Chris Jones
33aee5d515 Bug 566050: Make runxpcshelltests.py tests more amenable to non-standard debugging scenarios. r=ted 2010-02-10 14:52:16 -08:00
Benedict Hsieh
94b9e463dd Bug 531886 - [regression] *.mfasl fastload caches not invalidated after build / changing XUL/JS code. r=bsmedberg 2010-07-02 16:59:17 -07:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Smedberg
2f6bb59008 Fix packaging of test-only XPT files for crashreporter and httpserver.
--HG--
extra : rebase_source : 27abb29f16e071a7c08220d46f9cbef4ded08fc4
2010-06-30 12:42:24 -04:00
Benjamin Smedberg
6da9e8c26a Require XPT files to be loaded explicitly: they are never auto-registered when found in a components/ directory. 2010-06-29 18:16:48 -04:00
Neil Rashbrook
84258324f3 Bug 572996 Compiler dependencies don't work for debug-only includes r=ted 2010-06-30 12:44:18 +01:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00