Commit Graph

1871 Commits

Author SHA1 Message Date
Gregory Szorc
0442d6ffe1 Bug 937803 - os.path.exists should work with MockedOpen; r=glandium
--HG--
extra : rebase_source : 567b70b6a75f3c918da2c99ceb490ac569919ed0
2013-11-12 12:30:34 -08:00
Mike Hommey
d35ec45570 Bug 938526 - Ignore import libraries when dealing with --extract in expandlibs_exec.py. r=khuey 2013-11-19 16:12:55 +09:00
Mike Hommey
56b313a90d Bug 939074 - Infer LIBXUL_LIBRARY from FINAL_LIBRARY. r=gps 2013-11-19 11:47:52 +09:00
Mike Hommey
f94778cdf9 Bug 939071 - Kill SHORT_LIBNAME. r=ted 2013-11-19 11:47:47 +09:00
Mike Hommey
636b672657 Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal 2013-11-19 11:47:45 +09:00
Mike Hommey
094cb7c044 Bug 939044 - Remove the last uses of the MODULE variable in makefiles. r=gps 2013-11-19 11:47:30 +09:00
Mike Hommey
f85ec564e8 Bug 939039 - Make FINAL_LIBRARY imply FORCE_STATIC_LIB. r=gps
This also moves the LIBXUL_LIBRARY implies FORCE_STATIC_LIB test in the emitter
instead of config.mk, since both variables are defined in moz.build exclusively.
backend.mk can end up with both LIBXUL_LIBRARY and FORCE_STATIC_LIB defined, but
it's just fine.
2013-11-19 11:47:26 +09:00
Mike Hommey
082d667fb2 Bug 938956 - Add a generic recursion rule. r=gps
Use by running:
  make -C objdir recurse RECURSED_COMMAND="command_to_run in_each_subdirectory"
2013-11-16 13:40:53 +09:00
Mike Hommey
077002b5c7 Bug 937526 - Cleanup unicharutil/util and rdf/util related things. r=gps 2013-11-16 13:37:54 +09:00
Dan Gohman
d6bcfc61bb Bug 569597 - Eliminate use of ranlib. r=glandium 2013-11-11 19:26:59 -08:00
Nathan Froyd
c06e306931 Bug 841373 - use STRIP_FLAGS with STRIP consistently; r=glandium 2013-11-11 11:01:22 -05:00
Mike Hommey
be0bf8fd8b Backout changeset 4810e8f4eb98 (part of bug 934864) for causing bug 937332. 2013-11-12 08:37:08 +09:00
Mike Hommey
c574cc46da Bug 935305 - Track preprocessor output dependencies. r=gps 2013-11-09 10:35:45 +09:00
Mike Hommey
91af4c88d7 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
f2b3b43dff Bug 934864 - Add REPORT_BUILD do INSTALL_TARGETS and PP_TARGETS. r=gps 2013-11-09 10:32:58 +09:00
Mike Hommey
425071163a 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
15d5a68d2b Backout of bug 934070 for breaking debugging on OS X 2013-11-07 18:42:22 -08:00
Mike Hommey
851bde9eb2 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
bf5fdbbd38 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
53e380d1ff Bug 935387 - Remove non recursed install targets. r=mshal 2013-11-07 10:37:45 +09:00
Mike Hommey
47f95a5be2 Bug 921816 - Handle idls in --with-libxul-sdk builds. r=gps 2013-11-07 10:37:44 +09:00
Mike Hommey
e8bcf52aeb Bug 934361 - Remove CHROME_DEPS. r=mshal 2013-11-05 07:39:28 +09:00
Mike Hommey
9a9a425c28 Bug 934166 - Disable pseudo derecurse on PGO builds. r=mshal 2013-11-05 07:39:28 +09:00
Landry Breuil
26fd07f497 Bug 932991: Partly revert bug 898274 on jscpucfg.h, breaks OpenBSD/sparc64 (at least) where <machine/endian.h> must be included after <sys/types.h>. r=njn 2013-11-04 22:05:51 +01:00
Mike Hommey
2a211e7c14 Bug 933120 - Move HOST_PROGRAM and HOST_SIMPLE_PROGRAMS to moz.build. r=gps 2013-11-02 08:44:11 +09:00
Mike Hommey
91865c8cd6 Bug 932618 - Use NO_PROFILE_GUIDED_OPTIMIZE to disable PGO for individual files. r=gps 2013-11-02 08:42:53 +09:00
Mike Hommey
f5259e7901 Bug 933062 - Avoid using > for preprocessing rules, so that pymake is happy. r=ted 2013-11-01 10:30:46 +09:00
Mike Hommey
441da07b30 Bug 932213 - Move HOST_CMMSRCS to moz.build. r=gps 2013-10-30 07:51:48 +09:00
Mike Hommey
71cbbf51cb Bug 901561 - Move CMSRCS to moz.build. r=gps 2013-10-30 07:51:27 +09:00
Gregory Szorc
0fd2e15636 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
Philipp Kewisch
b6ff74ff18 Fix bug 927073 - Binary compatibility broken for maintenance releases due to strict version-script. r=glandium 2013-10-29 21:48:28 +01:00
Phil Ringnalda
bf0b9dd61e Merge m-c to m-i 2013-10-28 17:14:46 -07:00
Phil Ringnalda
2fab6fc269 Merge m-i to m-c 2013-10-28 16:57:08 -07:00
Lukas Blakk
914f4b3b58 Merging in version bump NO BUG 2013-10-28 13:37:48 -07:00
Nick Alexander
b9e7d8a368 Bug 925185 - Part 2: Use add_java_jar and restrict JAVA_JAR_TARGETS to moz.build. r=gps 2013-10-24 15:38:22 -07:00
Ted Mielczarek
46db2c02bd Bug 930674 - convert VISIBILITY_FLAGS in Makefile.in to NO_VISIBILITY_FLAGS in moz.build. r=mshal 2013-10-24 15:06:19 -04:00
Mike Hommey
cf2b1d71d9 Bug 930896 - Keep track of files generated by a build backend. r=gps 2013-10-29 08:00:30 +09:00
Gregory Szorc
8a2d15ca5d Bug 927837 - Don't manage generated files in configure; r=glandium
--HG--
extra : rebase_source : b502ce209de6a0ae10e130644e424687e4fae85e
2013-10-23 14:43:32 -07:00
Cykesiopka
5fe26de789 Bug 914270 - Part 3: Disallow in Makefiles. r=joey 2013-10-24 18:53:00 +01:00
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
e6a230cd89 Bug 930380 - Fix host source rules when path contains a directory. r=gps 2013-10-25 07:58:14 +09:00
Ralph Giles
3d4ea8ba0a Bug 914963 - Remove spurious defined(@array). r=gps
Perl warns against this; defined takes a scalar context so it has
no effect on arrays; the correct thing is just to evaluate the
array directly in the conditional.
2013-10-24 15:32:00 -07:00
Mike Hommey
7772e54ef3 Bug 929983 - Restore ?= on CC/CXX_WRAPPER that bug 585011 removed. r=khuey 2013-10-24 12:25:52 +09:00
Mike Hommey
fbd9c6206e 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
1ac864ff12 Bug 928204 - Don't ignore missing depfiles when aggregating them. r=gps 2013-10-24 07:59:03 +09:00
Birunthan Mohanathas
de354c9745 Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
--HG--
extra : rebase_source : 9335e9b4b0ac02e8066fbb79797bbc0d3fd73874
2013-10-23 16:36:09 -04:00
Gregory Szorc
f7a94d6205 Bug 585011 - Move cl.py to mozbuild; r=ted
--HG--
rename : build/cl.py => python/mozbuild/mozbuild/action/cl.py
2013-10-22 14:25:56 -07:00
Carsten "Tomcat" Book
aff78ee587 Backed out changeset f90eb21ea4cd (bug 928204) for build failures on Linux PGO 2013-10-22 11:47:48 +02:00
Mike Hommey
79fc41f3cc 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
deafa81d69 Bug 664362 - Generate depfiles for host objects/programs/libraries. r=gps 2013-10-22 13:40:27 +09:00