Mike Hommey
5891d89d94
Bug 1094033 part 1 - Consolidate how to add new tiers. r=gps
2014-11-06 09:29:11 +09:00
Jan Beich
0df6da7ff6
Bug 1041795 - Disable system libs when generating DTrace probes. f=sfink f=ginn.chen
2014-11-04 02:01:00 +01:00
Mike Hommey
a98df6722f
Bug 1091384 - Remove EXPAND_LIBNAME and affiliated. r=mshal
2014-11-04 13:50:07 +09:00
Mike Hommey
1a8251444c
Bug 1091383 - Move delayload logic entirely in moz.build frontend code. r=gps
2014-11-04 13:48:25 +09:00
David Major
af0dfeba25
Bug 1084162 - Part 3: PGO most files by default on Windows. r=glandium
2014-11-04 14:28:57 +13:00
Ehsan Akhgari
74a9487c48
Bug 1083572 - Apply some make black magic to make the fix actually work
2014-10-31 18:09:06 -04:00
Brian Smith
8f74650db9
Reland Bug 1063281, Part 9: Switch Gecko from NSS to CheckCertHostname, r=keeler
...
--HG--
extra : rebase_source : 3a5e3bc2e113035e9c88b571bac68f3dbe2c8f04
2014-10-28 15:28:38 -07:00
Mike Hommey
81f5286e96
Add missing recurse.mk change from bug 1077148 part 1 after a bad merge. r=gps
...
--HG--
extra : amend_source : a6c285a79d2ca0b76a6896ae4478564de009c8b6
2014-10-30 13:51:01 +09:00
Mike Hommey
21ec48314e
Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
...
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.
Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.
Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Mike Hommey
0961266dfe
Bug 1077148 part 2 - Remove hack to avoid sqlite being linked against mozglue on mac. r=gps
...
This hack has actually not been actively used since sqlite, nss and nspr are
all folded together, because no shared library is actually linked in
db/sqlite3/src.
2014-10-30 13:05:56 +09:00
Mike Hommey
c5ba34275a
Bug 1077148 part 1 - Define mozcrt in moz.build. r=gps
...
--HG--
rename : mozglue/build/Makefile.in => mozglue/crt/Makefile.in
rename : mozglue/build/fixcrt.py => mozglue/crt/fixcrt.py
2014-10-30 13:05:50 +09:00
Nicholas Nethercote
a14bcb5b83
Bug 1089446 - Remove config/make-atom-strings.pl, which is ancient and unused. r=bz.
...
--HG--
extra : rebase_source : 21d3b24b8768f0d2732a2f9b396cc43cb21b66e8
2014-10-28 15:04:03 -07:00
Mike Hommey
44350cf440
Bug 1090114 - Avoid race condition when building logalloc replay on mac. r=mshal
2014-10-29 13:29:45 +09:00
Mike Hommey
2d355184c2
Bug 1090111 - Remove now unnecessary dependency for sqlite in recurse.mk. r=mshal
...
Since bug 1047267, there is a USE_LIBS += ['sqlite'] for the case it was
covering.
2014-10-29 13:29:44 +09:00
Mike Hommey
9b1a605c36
Bug 1090107 - Define stlport dependencies in moz.build. r=mshal
2014-10-29 13:29:42 +09:00
Nathan Froyd
d7d96dcdcd
Bug 1089855 - remove config/module2dir.pl; r=glandium
2014-10-27 17:27:59 -04:00
Brian Smith
55f774a344
Back out cset 9b72d139e817 (Bug 1063281, Part 9) due to compatibility regressions on a CLOSED TREE, a=ryanvm
...
--HG--
extra : rebase_source : cd9b43c3f66df3c5de337f2013fe61fae798b3ba
2014-10-28 12:30:53 -07:00
Ehsan Akhgari
86b9567292
Bug 1089613 - Never treat warnings as errors in clang-cl; r=gps
...
clang-cl warns about many more things than MSVC does, and supporting
warnings as errors there requires some work.
2014-10-28 09:43:45 -04:00
Brian Smith
be86e7036f
Bug 1063281, Part 9: Switch Gecko from NSS to CheckCertHostname, r=keeler
...
--HG--
extra : rebase_source : 340eb682ba1f9dbd51652438433e7d0196494e1f
2014-09-21 17:43:29 -07:00
Ehsan Akhgari
999661b627
Bug 1083572 - Enable passing external LDFLAGS to the NSS build system for Windows ASAN builds; r=glandium
2014-10-22 08:28:56 -04:00
Mike Hommey
e0b3c9dd01
Followup to bug 609976 - MOZ_SHARED_ICU case for windows doesn't vary with JS_SHARED_LIBRARY. r=me
...
--HG--
extra : amend_source : ebf2f7328a1bbb6982ee919a61bdb106a1b7d302
2014-10-18 13:09:25 +09:00
Tooru Fujisawa
cb75807d6d
Bug 1080910 - Add USE_ICU variable separated from ENABLE_INTL_API. r=glandium
2014-10-10 02:55:00 -04:00
Richard Barnes
7533c8ba0a
Bug 1034854 - Add support for ECDSA to WebCrypto API r=ttaubert,dkeeler r=bz
2014-10-13 23:19:00 +02:00
David Keeler
4a350b2635
bug 1042889 - test certificate overrides for untrusted x509v1 certificates used as CAs r=mmc
2014-10-15 10:42:13 -07:00
Wes Kocher
329a0340a9
Merge m-c to inbound a=merge
2014-10-13 19:02:56 -07:00
ffxbld
a85439ff9b
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2014-10-13 13:39:31 -04:00
Mike Hommey
916e59d701
Bug 1080904 - Allow to pass an extra input file for folded-lib symbols through configure. r=mshal
2014-10-14 07:18:57 +09:00
Mike Hommey
bf80a113ab
Bug 1077366 - Remove most symbol wrapping from Android builds. r=nfroyd
...
Since essentially everything is linked to libmozglue and libmozglue takes
precedence in symbol resolution in our dynamic linker, there is no need
to wrap most symbols. PR_GetEnv/PR_SetEnv still needs wrapping because
there's no other way to actually wrap the calls from NSPR itself and NSS,
as well as the symbols wrapped because our dynamic linker can't find them
in system libraries on some devices because they're weak.
2014-10-14 07:17:13 +09:00
Mike Hommey
2a378e99b5
Bug 857628 - Add a --enable-pie configure option to build target programs as position independent executables when supported by gcc/clang. r=mshal
2014-09-26 07:33:56 +09:00
David Cooper
10a4c0c3d7
Bug 1018259 - Thunderbird should stop using SHA-1 when signing email messages, m-c Windows build adjustments. r=dkeeler
2014-09-06 03:35:00 +02:00
Jonathan Kew
c5e558c0be
Bug 1066160 pt 2 - Include Brotli in the gecko build. r=gps
2014-10-04 10:02:24 +01:00
Mike Hommey
57bb3d7a5e
Bug 1077228 - Include the right autoconf.mk in GLOBAL_DEPS. r=mshal
...
Ever since bug 969164, the js build system, when building gecko (not when
building standalone) uses a autoconf-js.mk file for its config.
One of the suboptimal ways we have to retrigger builds when the build
configuration changes (changes to e.g. configure.in can do that) is to
make most things depend on autoconf.mk. Which unfortunately doesn't
account for the fact the js/src subdirectory uses a different file.
In practice, this means that some classes of changes to the js build
system, not accompanied with toplevel build system changes may no
trigger the corresponding rebuilds in the js subtree on incremental
builds.
2014-10-04 10:34:35 +09:00
Mike Hommey
38cd110ce5
Bug 1077151 - Always use expandlibs descriptors when they exist. r=mshal
...
Currently, when there is both an expandlibs descriptor and an actual static
library, expandlibs picks the static library. This has the side effect that
if there are object files in the static library that aren't directly used,
they're dropped when linking, even when they export symbols that would be
exported in the final linked binary.
In most cases in the code base, files are not dropped that way. The most
notable counter-example is xpcomglue, where actually not dropping files
leads to link failure because of missing symbols those files reference
(yes, that would tend to say the glue is broken in some way).
On the opposite side, there is mozglue, which does have both a descriptor
and a static library (the latter being necessary for the SDK), and that
linking as a static library drops files that shouldn't be dropped (like
jemalloc). We're currently relying on -Wl,--whole-archive for those files
not to be dropped, but that won't really be possible without much hassle
in a world where mozglue dependencies live in moz.build land.
Switching expandlibs to use descriptors when they exist, even when there
is a static library (so, the opposite of the current behavior) allows to
drop -Wl,--whole-archive and prepare for a better future. However, as
mentioned, xpcomglue does still require to be linked through the static
library, so we need to make it a static library only.
To achieve that, we make NO_EXPAND_LIBS now actually mean no expandlibs
and use that to build the various different xpcomglues.
2014-10-04 10:33:00 +09:00
Ed Morley
0a6ff6b98e
Backed out changeset e2fee324047d (bug 857628) for causing bug 1076892
2014-10-03 14:19:45 +01:00
Mike Hommey
5f3bfd0ece
Bug 1062221 - Replace add_tier_dir with DIRS. r=gps
2014-10-02 09:14:07 +09:00
Robert Strong
240ce21733
Mac v2 signing - Bug 1059467 - Move precomplete file from the root of the Mac bundle to Contents/Resources. r=bbondy, r=nthomas
...
--HG--
rename : tools/update-packaging/test/from-mac/precomplete => tools/update-packaging/test/from-mac/Contents/Resources/precomplete
rename : tools/update-packaging/test/to-mac/precomplete => tools/update-packaging/test/to-mac/Contents/Resources/precomplete
2014-09-29 11:51:55 -07:00
Stephen Pohl
03bdc411e4
Mac v2 signing - Bug 1047584 - Modify the .app file structure to allow for OSX v2 signing. r=bsmedberg
2014-09-29 11:50:56 -07:00
Mike Hommey
f6e7817505
Bug 857628 - Build target programs as position independent executable when supported by gcc/clang. r=mshal
2014-09-26 07:33:56 +09:00
Gian-Carlo Pascutto
57952a8bcb
Bug 1059573 - Add an option to use hardware AEC for WebRTC. r=jesup,ted
2014-09-24 19:11:58 +02:00
L. David Baron
f3abc661fc
Bug 1064636 followup: Add new function to config/external/nss/nss.def r=khuey a=bustage CLOSED TREE
2014-09-23 14:16:56 -07:00
Jacek Caban
a0bf708504
Bug 1060401
- NSS and NSPR libs can't be found in mingw builds. r=glandium
2014-09-23 11:51:36 +02:00
Terrence Cole
43e9461732
Bug 1068123 - Make the MOZ_GCTIMER logs more verbose and readable; r=jonco
2014-09-19 08:39:54 -07:00
Carsten "Tomcat" Book
bcae8e699a
merge mozilla-inbound to mozilla-central a=merge
2014-09-22 12:58:26 +02:00
Nick Alexander
af1d806393
Bug 1065773 - Part 1: Extract Android release signing bits into config/android-common.mk. r=mshal
2014-09-19 13:52:54 -07:00
Nicholas Nethercote
9a8bee0c06
Bug 1067699 (part 1) - Export double-conversion.h normally from MFBT. r=froydnj.
...
--HG--
extra : rebase_source : 14c3d827f4d8015d8326612e82782c52dcf7335d
2014-09-16 23:33:05 -07:00
Timothy Arceri
d0bdd9c9ed
b=1068964 Cleanup GTK print includes r=karlt
...
--HG--
extra : transplant_source : %18%ED%1B%24%9C%AB%FDA%F8%BE%A3%85%92h%F1%B0%FF%92D%8D
2014-09-18 15:59:01 +10:00
Mike Hommey
aa142a06fd
Bug 1059255 - Make stdc++compat errors fatal. r=mshal
2014-09-11 12:20:41 +09:00
Mike Hommey
88fab6a5c8
Bug 1059255 - Stop building stdc++compat as a real library. r=mshal
...
Incidentally, this makes the build fail because stdc++compat.o then appears
twice on the libxul linkage command line. This, in turn, is because
widget/xremoteclient creates both a program and an intermediate library for
libxul. The Program() template adds stdc++compat to the directory data,
which ends up being added to libxul as well. The same kind of issue arises
when linking the gtest-enabled libxul.
While eventually we'll be able to avoid those problems, it's not the case
yet, so work around the issue by making expand-libs skip .desc files that
appear multiple times.
2014-09-11 12:19:28 +09:00
Ehsan Akhgari
241377c92e
Backed out changeset 9a796d86bae8 (bug 1063728) until people agree what they want to do here
2014-09-08 20:38:21 -04:00
Jan de Mooij
212321ad9c
Bug 1063924 - Optimize check_spidermonkey_style.py and remove some cruft. r=njn
2014-09-08 11:12:04 +02:00
Ehsan Akhgari
946ed11828
Bug 1063728 - Run check_spidermonkey_style.py before starting to build; r=jandem
2014-09-05 18:00:24 -04:00
Joshua Cranmer
cb7d7894e5
Bug 1059769 - Add LIBRARY_DEFINES to moz.build, r=glandium.
2014-09-04 23:38:54 -05:00
Brian Smith
493b0e85e9
Bug 1061021, Part 15: Stop using PLArenaPool in CreateEncodedOCSPResponse, r=keeler
...
--HG--
extra : rebase_source : 00c3f77cd1e7e0d81b0acac84631b81e4cac59bd
2014-09-01 19:23:01 -07:00
Mike Hommey
4353f43090
Bug 1062219 - Don't build build/clang-plugin as an external directory. r=jcranmer
2014-09-04 17:44:01 +09:00
Mike Hommey
92deb5899a
Bug 1059113 - Use templates for shared libraries and frameworks. r=gps
...
Also force to use the existing template for XPCOM components.
2014-09-04 09:04:45 +09:00
Mike Hommey
8fd95ad480
Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps
2014-09-03 14:10:54 +09:00
Joshua Cranmer
63f08d7ed7
Bug 1060198, part 2: Move other IS_GYP_DIR rules to gyp_reader.py, r=glandium.
...
--HG--
extra : rebase_source : 5ad6eae63688f5582568f470b7266b0f7ebc8b6c
2014-09-02 23:45:26 -05:00
Joshua Cranmer
8088ac0aad
Bug 1060198, part 1: Remove IS_GYP_DIR's replacement of INCLUDES, r=glandium.
...
--HG--
extra : rebase_source : 4f322f0b9d57f108815f2aa4b689d2dc01b4e4e7
2014-09-02 23:46:29 -05:00
ffxbld
bd9bb69706
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2014-09-02 12:54:33 -04:00
Christian Holler
f975d86a67
Bug 1056233 - Fix uninitialized value in nsinstall.c. r=froydnj
...
--HG--
extra : rebase_source : 8d59e5ea240afb5ec07673bb7eb9085aed793a95
2014-09-01 14:30:11 +02:00
Chris Kitching
6d4aa5ceb8
Bug 1056128: Enable JDK source level 1.7 for Android Java code. r=nalexander
2014-08-29 03:44:27 -07:00
David Major
bc7c72c6c0
Bug 1001332 - Set subsystem version to 5.01 to make VS2013 builds run on XP. r=glandium
...
--HG--
extra : rebase_source : 30b0f750d6a094e16cc9815db697f6bd39ae5a97
2014-08-27 21:20:10 +12:00
Jacek Caban
6a5ae34596
Bug 1055627 - Pass MOZ_GLUE_PROGRAM_LDFLAGS after STATIC_LIBS to linker. r=glandium
2014-08-26 13:50:27 +02:00
Jacek Caban
6ab9d782b4
Bug 1055591 - Don't add lib prefix in config/external/ffi/moz.build for mingw. r=glandium
2014-08-26 13:50:14 +02:00
Mike Hommey
4d1c439d55
Bug 1055204 - Build C/C++ code when recursing from non-toplevel builds. r=gps
2014-08-26 09:33:58 +09:00
Garrett Robinson
45cc1d6a0d
Bug 1029155 - Store peer certificate chain from failed connections on TransportSecurityInfo r=keeler
2014-08-15 11:27:22 -07:00
Mike Shal
448b78957a
Bug 1047621 - Have link.py import and call expandlibs_exec.py; r=gps
2014-08-13 14:24:15 -04:00
Mike Shal
880d276775
Bug 1047621 - Move link.py to config for importing expandlibs_exec; r=gps
2014-08-13 14:23:11 -04:00
Steffen Michalke
99f7d404a7
Bug 1052508 - Fix --with-system-nss build bustage. r=glandium
2014-08-12 08:40:00 -04:00
Mike Hommey
91858cc321
Bug 1050560 - Preserve the ICU libraries order in config/external/icu/moz.build. r=mshal
2014-08-09 07:54:57 +09:00
Mike Hommey
cbe32e4bb3
Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
...
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Mike Hommey
357b465fc4
Bug 1047267 - Allow to reference libraries from third-party build systems in USE_LIBS. r=gps
2014-08-07 14:20:38 +09:00
Mike Hommey
84bec510f1
Bug 1050029 - Improve Makefile checks for deprecated or moz.build variables. r=mshal
2014-08-07 13:48:08 +09:00
Mike Hommey
931d4e1ddc
Bug 1049281 - Remove static dirs handling, now that there aren't any. r=gps
...
Also do some overdue cleanup from the removal of parallel and tools dirs
2014-08-07 02:58:53 +09:00
Mike Hommey
3a0a51dc58
Bug 1049281 - Move third-party build system "drivers" to config/external, and stop using static dirs. r=gps
...
--HG--
rename : intl/icu/Makefile.in => config/external/icu/Makefile.in
rename : config/nspr/Makefile.in => config/external/nspr/Makefile.in
rename : config/nspr/moz.build => config/external/nspr/moz.build
rename : security/build/Makefile.in => config/external/nss/Makefile.in
rename : security/build/moz.build => config/external/nss/moz.build
rename : security/build/nspr-dummy.def => config/external/nss/nspr-dummy.def
rename : security/build/nss.def => config/external/nss/nss.def
rename : security/build/nss.mk => config/external/nss/nss.mk
2014-08-07 02:58:52 +09:00
Mike Hommey
41ab4d6824
Bug 1048993 - Use nsinstall from $(topobjdir)/config instead of $(DIST)/bin to avoid races when make wants to reinstall it for some reason. r=mshal
2014-08-07 02:58:50 +09:00
Ian Neal
ba88f19d64
Bug 1047924 - When building with ac_add_options --enable-extensions extensions are put expanded into the wrong location in dist/bin r=glandium
2014-08-06 17:58:31 +01:00
Nathan Froyd
aa3167382a
Bug 1042226 - move DEFINES += -DAB_CD=$(AB_CD) pattern into config.mk; r=mshal
2014-08-01 12:53:05 -04:00
Mike Hommey
3e3afccd68
Bug 1045783 - Move HOST_EXTRA_LIBS to moz.build as HOST_OS_LIBS. r=mshal
2014-08-06 07:26:05 +09:00
Nathan Froyd
760c809272
Bug 1047173 - move MOZ_GTK*_CFLAGS hacking from config.mk to configure.in; r=glandium
...
This move ensures that other makefile variables that reference
MOZ_GTK*_CFLAGS, e.g. TK_CFLAGS, will always have a consistent view of
MOZ_GTK*_CFLAGS.
2014-08-01 12:11:01 -04:00
Nathan Froyd
056ab5697e
Bug 1044162 - part 2 - remove JS_MODULES_PATH from the build system; r=mshal
2014-07-25 14:37:22 -04:00
Karl Tomlinson
8ff2a07095
b=1033122 be consistent about speex_resampler symbol visibility r=khuey
...
When "speex/speex_resampler.h" was included, another exported header (in
dist/include) would find the speex/speex_resampler.h in dist/include before
dist/system_wrappers. Visibility of undefined symbols depended on the order
of includes.
This patch changes includes to <speex/speex_resampler.h> so that
WRAP_SYSTEM_INCLUDES works as expected but removes the wrapper when not using
GKMEDIAS_SHARED_LIBRARY.
--HG--
extra : rebase_source : 93ca1dbdd6b489647624326e78539f44c60d0b34
2014-07-02 14:21:34 +12:00
Mike Hommey
aa77ac8d82
Bug 1044458 - Work around l10n jobs cherry-picking parts of the build system on a CLOSED TREE. r=mshal,a=ryanvm
2014-07-29 09:01:58 +09:00
Mike Hommey
cd12f78667
Bug 1043869 - Derive build dependencies for programs and libraries from make backend data instead of getting them from expandlibs. r=mshal
2014-07-29 08:59:56 +09:00
Mike Hommey
b8cc89acde
Bug 1043865 - Remove the remainder of compilation bits from the libs tier. r=gps
2014-07-29 08:59:27 +09:00
Mike Hommey
9e0f16a8c2
Bug 1043862 - Make the binaries target use the compile tier. r=gps
2014-07-29 08:58:28 +09:00
Mike Hommey
010c0a5eb7
Bug 1043820 - Remove PARALLEL_DIRS. r=gps
2014-07-29 08:57:59 +09:00
Mike Hommey
42f57b6138
Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps
2014-07-29 08:55:55 +09:00
Mike Hommey
3fe368c9e9
Bug 1043954 - Export nspr headers in a different directory during the target rule. r=gps
2014-07-29 08:53:48 +09:00
Ms2ger
593cdb616e
Bug 1044657 - Move PYTHON_UNIT_TESTS to moz.build; r=mshal
...
As a first step, this moves PYTHON_UNIT_TESTS to moz.build as a passthru
variable. In the future, we could hook it up to |mach test|.
The __init__.py files may not need to be in the list, but I don't want to
change the list here.
2014-07-28 17:51:12 +02:00
Nathan Froyd
762a23e661
Bug 1044047 - add EXTRA_JS_MODULES to _MOZBUILD_EXTERNAL_VARIABLES; r=mshal
2014-07-25 11:10:50 -04:00
Mike Hommey
95df4fb49f
No bug - Don't chmod before deleting target in nsinstall.py on non Windows to avoid touching CLOBBER on a CLOSED TREE
2014-07-25 09:01:23 +09:00
Mike Hommey
2a08f131e0
Bug 1043344 - Move libraries and programs build to the compile tier. r=gps
2014-07-25 07:14:40 +09:00
Mike Hommey
a44157845d
Bug 1043286 - Use INSTALL_TARGETS to stage C++ unit tests. r=mshal
2014-07-25 07:09:44 +09:00
Jan Beich
174c4839d7
Bug 1041381 - Ignore missing depfiles for dtrace. r=glandium
2014-07-23 22:40:00 +02:00
Mike Hommey
731fc25aa5
Followup for bug 1041936 to unbreak spidermonkey fail-on-warnings builds. r=me
2014-07-23 14:01:55 +09:00
Mike Hommey
ad47a2519d
Bug 1041936 - Allow static library definitions to depend on shared libraries. r=gps
2014-07-23 13:33:06 +09:00
Mike Hommey
171507509c
Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
...
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.
Always pass EXTRA_LIBS before OS_LIBS on linker command lines.
Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey
5659a611dd
Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps
2014-07-23 13:30:52 +09:00
Mike Hommey
5c09d7ae19
Bug 1036894 part 7 - Move HOST_LIBS to moz.build, as HOST_USE_LIBS. r=gps
2014-07-23 13:29:50 +09:00
Mike Hommey
af37eab57f
Bug 1036894 part 6 - Emit SimplePrograms for CPP_UNIT_TESTs, and make the corresponding moz.build config look like that of SIMPLE_PROGRAMS. r=gps
2014-07-23 13:29:44 +09:00
Mike Hommey
bc97b68005
Bug 1036894 part 1 - Move MAKE_FRAMEWORK, SDK_LIBRARY, SHARED_LIBRARY_NAME and STATIC_LIBRARY_NAME to moz.build. r=gps
...
At the same time, make the Library data more useful in the build frontend.
2014-07-23 13:29:09 +09:00
Mike Hommey
4c1a95d4cf
Bug 1041960 - Remove subtiers from make backend. r=gps
2014-07-23 13:28:54 +09:00
ffxbld
15412c0bcf
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2014-07-21 14:19:15 -07:00
Mike Hommey
a98af9202d
Bug 1040649 - Detect changes to frozen variables between rules.mk include and the end of Makefile.in. r=mshal
2014-07-19 08:46:33 +09:00
Mike Hommey
09a1fe2354
Bug 1040639 - Remove LIBS_DIR. r=mshal
2014-07-19 08:42:16 +09:00
Mike Hommey
2d4377d0dd
Bug 1038639 - Remove --with-libxul-sdk and --with-system-libxul. r=bsmedberg
2014-07-17 08:42:16 +09:00
Gian-Carlo Pascutto
c96ce84351
Bug 1038799 - Properly wrap Xfixes.h header. r=glandium
2014-07-16 19:16:38 +02:00
Neil Rashbrook
c44b17d9c5
Bug 1037981 Make 'derecursed' builds support --enable-xterm-updates r=glandium
2014-07-16 08:36:30 +01:00
Mike Hommey
34799e0459
Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal
2014-07-11 19:06:55 +09:00
Mike Hommey
f059293f00
Bug 1035543 - Remove the MOZ_PSEUDO_DERECURSE variable. r=gps
2014-07-10 14:11:52 +09:00
Steve Fink
e8fbe48432
Bug 1036525 - DSO_SONAME should not depend on FORCE_SHARED_LIB, r=glandium
2014-07-09 17:16:19 -07:00
Mukilan Thiyagarajan
c0ddfb3ebf
Bug 1000994 - Allow specifying SONAME of a shared library in moz.build. r=glandium
2014-07-09 00:47:00 +02:00
Carsten "Tomcat" Book
611b2eff0f
merge fx-team to mozilla-central a=merge
2014-07-08 15:10:56 +02:00
Mike Hommey
5a8e449a74
Bug 1035087 - Avoid recursing some "binaries" targets when recursing for "libs". r=gps,a=nigelb
2014-07-08 13:47:24 +09:00
Gregory Szorc
66f4ee3a26
Bug 1033836 - Remove Makefile.in support for TESTING_JS_MODULES; r=glandium
...
--HG--
extra : rebase_source : 20cebe4a7d940cb3a18c6f13bae36cf63388e2b8
2014-07-02 16:54:51 -07:00
Nicholas Nethercote
1d574b1c28
Bug 1028064 - Remove lots of dead code in js/src/assembler/. r=jandem.
...
--HG--
extra : rebase_source : e5696eb5818871e8214ad5e5e4b54805260e6c35
2014-06-26 17:31:45 -07:00
Mike Hommey
48917168f9
Bug 938437 - Replace nsStaticXULComponents.cpp with smart use of sections. r=bsmedberg,irc-r=decoder,r=nfroyd,r=gps
2013-11-19 13:45:31 +09:00
Mike Hommey
cb8e982360
Bug 883339 - Enable gtest on windows TBPL non-PGO builds. r=ted
2014-06-26 07:59:24 +09:00
Mike Hommey
0fa0eb08c7
Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps
2014-06-25 08:38:28 +09:00
Mike Hommey
75f3b500c3
Bug 1027890 - Reject builds with pymake. r=gps
...
--HG--
extra : rebase_source : a662b896b5f431a37a1250ec19451324ebed3d14
2014-06-25 08:38:12 +09:00
Brian R. Bondy
1a59235ead
Bug 598615 - Rename HAVE_64BIT_OS to HAVE_64BIT_BUILD. r=ted
2014-06-24 22:16:25 -04:00
Wes Kocher
e1dd0ab43e
Backed out 2 changesets (bug 1027890) for B2G Windows Build bustage on a CLOSED TREE
...
Backed out changeset bcd694f0e95d (bug 1027890)
Backed out changeset 49cadfcde709 (bug 1027890)
2014-06-24 18:33:46 -07:00
Mike Hommey
a56bc0ee1c
Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps
2014-06-25 08:38:28 +09:00
Mike Hommey
072b490003
Bug 1027890 - Reject builds with pymake. r=gps
2014-06-25 08:38:12 +09:00
Mike Hommey
4e830b51c6
Bug 1027034 - Properly set up Gtk+3 compatibility headers. r=karlt
...
--HG--
rename : widget/gtk/compat/gtk/gtkenums.h => widget/gtk/compat-gtk3/gtk/gtkenums.h
2014-06-19 09:06:14 +09:00
Ryan VanderMeulen
5b3ac33af5
Bug 1025918 - Add support for the .cxx extension to mozbuild. r=ted
2014-06-16 22:36:24 -04:00
Nathan Froyd
39cb7dae95
Bug 1018375 - part 1 - add LD_VERSION_SCRIPT build variable; r=glandium
2014-05-30 14:12:20 -04:00
Mike Hommey
0f7ffd10f6
Fixup for bug 1024620 on a CLOSED TREE. r=me
2014-06-14 09:24:39 +09:00
Mike Hommey
6fa9be32f0
Bug 1024620 - Use object files next to archives when extracting them at link time, or in a subdirectory. r=ted
2014-06-14 09:08:22 +09:00
Wes Johnston
6ad19912b6
Bug 1006158 - Add ability to pull in v7 libraries and google support libraries. r=nalexander
2014-06-11 11:00:17 -07:00
ffxbld
cb593d0a06
Version bump. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release
2014-06-09 11:50:02 -07:00
Mike Hommey
7e68bb3860
Bug 1014976 - Don't define _DEBUG on Windows debug builds, it's implied by -MDd/-MTd, and breaks builds with -MD/-MT. r=bsmedberg
2014-05-30 09:39:53 +09:00
Randell Jesup
8d6c68d8b4
Bug 987979: Patch 3 - Fix various build issues in webrtc.org/Mozilla integration. r=rjesup
2014-05-29 17:05:14 -04:00
Anthony Jones
93019cbd7b
Bug 908503: Change to stagefright demuxer; r=cpearce
...
Bug 908503: Build config changes for libstagefright demuxer; r=glandium
Bug 908503: Remove Chrome demuxer; r=cpearce
Bug 908503: Add conversion to Annex B; r=cpearce
2014-05-22 14:42:39 +12:00
Robert O'Callahan
0fa2605918
Bug 1001320. Part 5: Use #pragma GCC visibility on B2G. r=glandium
...
--HG--
rename : config/gcc_hidden.h => config/gcc_hidden_dso_handle.h
2014-05-11 23:37:14 -07:00
Ryan VanderMeulen
5bc6b74209
Backed out changeset 8433a3609a54 (bug 1001320) for suspected B2G device image bustage.
...
CLOSED TREE
2014-05-20 12:17:51 -04:00
Robert O'Callahan
5f70fd2a1f
Bug 1001320. Part 5: Use #pragma GCC visibility on B2G. r=glandium
...
--HG--
rename : config/gcc_hidden.h => config/gcc_hidden_dso_handle.h
extra : rebase_source : 600bf9dd51c88ea0cdea3db2e20ce8ab1de9f3fb
2014-05-11 23:37:14 -07:00
Wes Kocher
af21632c4d
Backed out 4 changesets (bug 908503) for breaking the Hamachi eng dep build on an otherwise CLOSED TREE
...
Backed out changeset 476cd5c9c5a9 (bug 908503)
Backed out changeset add95b3c2e7f (bug 908503)
Backed out changeset 30957caad928 (bug 908503)
Backed out changeset f6f386352d12 (bug 908503)
2014-05-12 21:18:31 -07:00
Anthony Jones
4bf0f21f11
Bug 908503: Build config changes for libstagefright demuxer; r=glandium
2014-05-13 14:53:54 +12:00
Mike Shal
d7d72699b6
Bug 943971 - 'make foo.i' should work for unified files; r=glandium
2013-12-11 19:23:24 -05:00
Makoto Kato
910ac0f5f9
Bug 1008795 - Remove MOZ_ENABLE_MEEGOTOUCHSHARE. r=romaxa
2014-05-12 20:01:04 +09:00
Anthony Jones
9c35a2fbb6
Backed out changeset 7f57690f5141 (bug 908503)
2014-05-12 10:11:03 +12:00
Anthony Jones
52cd66c494
Bug 908503: Build config changes for libstagefright demuxer; r=glandium
2014-05-12 09:46:31 +12:00
Nathan Froyd
b7e87248f0
Bug 1006026 - remove duplicate distclean:: rule in rules.mk; r=mshal
2014-05-07 10:33:06 -04:00
Robert O'Callahan
e681e3ea7c
Bug 1001320. Address missed reivew comment. r=glandium
...
--HG--
extra : rebase_source : ed23c9ae7de0167a44068c03cfd9d32a52e358f6
2014-05-07 18:14:36 +12:00
Robert O'Callahan
2d9cdf858d
Bug 1006248. Part 3: Add lots of system header wrappers for B2G/Android. r=glandium
...
--HG--
extra : rebase_source : 8ea21e177bf6f5ba7bb9d53c8f564b46e8b97cd6
2014-05-06 17:40:47 +12:00
Ehsan Akhgari
b5c2c1f637
Backed out changeset 70946e64e8f8 (bug 1005704) because it caused bug 1006541
2014-05-06 16:39:39 -04:00
Ehsan Akhgari
240743945b
Bug 1005705 - Remove the unused DIST_CHROME_FILES rule; r=mshal
2014-05-05 21:26:32 -04:00
Ehsan Akhgari
2eabc5792d
Bug 1005704 - Enable installing files dist files without preprocessing; r=mshal
2014-05-05 21:26:11 -04:00
ffxbld
8b21a060c7
Version bump. CLOSED TREE NO BUG a=release
2014-04-28 14:18:37 -04:00
Trevor Saunders
54ad04ac76
bug 998959 - remove xpt headers from system headers list r=bsmedberg
...
These headers were added with the initial support for hidden visibility
in bug 273336. At that time this code probably lived in libxpcom and needed to
be callable outside of that, but that's not true anymore. At this point not
linking this code into libxul seems like madness, so we
might as well stop calling them system headers so we stop exporting them
from libxul.
2014-04-21 10:48:45 -04:00
Jan Beich
c78265bfdb
Bug 983953 - Don't try to use vpx_mem if --with-system-libvpx doesn't provide. r=glandium
2014-04-22 08:44:04 -04:00
Jeff Walden
c175e19d01
Bug 988619 - Fix bad includes bustage. r=njn over IRC to fix bustage in a CLOSED TREE
...
--HG--
rename : js/src/jit/ExecutionModeInlines.h => js/src/jit/ExecutionMode-inl.h
2014-04-14 18:26:15 -07:00
Tooru Fujisawa
1d2a53c522
Bug 918987 - Implement String.prototype.normalize. r=jwalden
...
--HG--
extra : rebase_source : c634fd1961c1eb004bc4e0dd9ed26047abb285b4
2014-04-09 14:38:24 -07:00
Mike Hommey
d4e380fe7f
Bug 989522 - Remove LIBXUL_LIBRARY from the moz.build sandbox. r=mshal
2014-04-02 11:52:04 +09:00
Mike Hommey
610912639c
Bug 988168 - Better integrate gtest libxul in the build system. r=mshal. DONTBUILD
...
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-31 13:21:38 +02:00
Mike Hommey
6d9ddb9419
Backed out changeset 561b9329d832 (bug 988168) for wrong attribution.
2014-04-01 13:17:50 +09:00
Jacek Caban
ce93f06cfd
Bug 988168 - Better integrate gtest libxul in the build system. r=mshal
...
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-31 13:21:38 +02:00
Mike Hommey
8a1f2aefb0
Backout changesets ca413634eba3 and a92851ff7444 (bug 988168) for likely windows PGO perf regression
2014-03-29 16:49:19 +09:00
Mike Hommey
92df8541c3
Bug 988168 - Better integrate gtest libxul in the build system. r=mshal
...
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-29 07:50:08 +09:00
Mike Hommey
e244f2b40c
Bug 915535 - Fixup for Windows bustage on a CLOSED TREE. r=me
2014-03-27 11:16:45 +09:00
Mike Hommey
4278d5aa0d
Bug 988141 - Clean up config/recurse.mk after bug 969164. r=gps
2014-03-27 10:36:36 +09:00
Mike Hommey
20e55d4af4
Bug 915535 - Remove subtier tracking from build system. r=gps
...
It's currently inaccurate, and soon, the very notion of subtier is going to
blow away in the compile/binaries targets.
2014-03-27 10:36:25 +09:00
Mike Hommey
aa033a9382
Bug 915535 - Remove directory tracking from build system. r=gps
...
It's not used except with pymake, anyways.
2014-03-27 10:36:16 +09:00
Mike Hommey
5d039a7eea
Bug 985836 - Move -Fd flags from configure to config.mk. r=mshal
2014-03-26 08:12:26 +09:00
ABE Hiroki (hATrayflood)
ba6a89f5e6
Bug 980697 - Add a configure option to pull newer versions of the d3dcompiler dll from installed Windows SDKs. r=mshal,vlad
2014-03-22 10:49:26 +09:00
Mozilla Release Engineering
0c196d67b7
Merging in version bump NO BUG CLOSED TREE DONTBUILD
2014-03-17 13:48:08 -07:00
Wes Kocher
029a6912b6
Merge m-c to fx-team
2014-03-12 21:23:37 -07:00
Nick Alexander
947f8f4ee9
Bug 979388 - Make aapt invocation rebuild R.java. r=glandium
...
This commit adds an empty recipe to dependencies of .aapt.deps, which
forces the appropriate gecko-R.jar rebuild. This is because Make treats
targets with no recipe at all differently than targets with an empty
recipe, in a way that defeats our dependencies.
What appeared to be happening is the following:
Touch a resource. On the next build, .aapt.deps is stale, so aapt is
invoked, which generates R.java, and we touch .aapt.deps.
Now R.java depends on .aapt.deps, but this does not appear to force Make
to consider targets that depend on R.java to be stale. A target that
depends on R.java (such as gecko-R.jar) itself compares timestamps and
finds that gecko-R.jar is newer than R.java (from the previous build),
and this comparison appears to happen before aapt is invoked. So even
though .aapt.deps is seen to be stale, and by transitivity R.java is
stale, this does not mark gecko-R.jar as stale. The timestamp check
between R.java and gecko-R.jar appears to happen *before* aapt is
invoked.
On the second build following the update, the R.java generated in the
previous build is newer than gecko-R.jar, triggering the observed
rebuild of gecko-R.jar.
2014-03-12 17:22:27 -07:00
Ted Mielczarek
b491b5d0d8
Bug 980015 - Remove MOCHITEST_FILES et. al. r=gps
2014-03-05 15:51:39 -05:00
Ryan VanderMeulen
9ced6c9188
Backed out changeset 88780b5a201e (bug 980015) for test_property_database.html failures.
...
CLOSED TREE
2014-03-10 15:31:23 -04:00
Ted Mielczarek
c0e5c0cfe5
Bug 980015 - Remove MOCHITEST_FILES et. al. r=gps
...
--HG--
extra : rebase_source : 3825abc63eb0901bc1422aa00aed3680dbe3e44c
2014-03-05 15:51:39 -05:00
Ryan VanderMeulen
633f9a6f80
Merge fx-team to m-c.
2014-03-05 15:49:40 -05:00
Robert Strong
b4c8aa075d
Bug 900251 - Add support for add-if-not instruction added by bug 759469 to the mar generation scripts. r=nthomas
2014-03-05 11:42:56 -08:00
Nick Alexander
aea81467c8
Bug 978587 - Pre: Let Java JARs contain either sources or generated sources. r=blassey
2014-03-05 08:57:09 -08:00
Ehsan Akhgari
444a26ed8e
Bug 976896 - Port STL_FLAGS to moz.build; r=mshal
2014-03-04 19:39:06 -05:00
Ehsan Akhgari
e35d712ecf
Bug 978594 - Part 2: Add support for expressing per-source build flags to moz.build; r=glandium
...
--HG--
extra : rebase_source : 254d8acf1a6a53845a2e2d6d895217515ea7b836
2014-03-04 11:30:01 -05:00
Mike Hommey
6caa4002d3
Bug 977951 - Don't force build a static libxul. r=gps
2014-03-04 16:09:08 +09:00
Ehsan Akhgari
fe37676470
Fix a typo, no bug, DONTBUILD
2014-03-02 16:35:24 -05:00
Ms2ger
31dbd4a133
Bug 973649 - Add logic for CFLAGS, CXXFLAGS and LDFLAGS to moz.build; r=gps
...
--HG--
extra : amend_source : d44541fd844c1b3f5fb4077add7aa0589ae61942
2014-02-26 12:49:00 -08:00
Mike Hommey
98702fc989
Bug 976853 - Exclude dependency file from dependency output for expandlibs_exec.py; r=gps
...
--HG--
extra : amend_source : d7f26ca852a9013d031fe752cd3ae5d8d6ad1414
2014-02-26 13:55:36 +09:00
Jan Beich
2cae2fb89d
Bug 962345 - Unhide cairo_qt_surface_*() when building with --enable-system-cairo. r=glandium
2014-02-25 15:55:26 -05:00
Ryan VanderMeulen
0a359611a1
Merge m-c to inbound.
2014-02-25 15:28:35 -05:00
Nick Alexander
b5a10ff343
Bug 903528 - Follow-up: Fix build dependencies. a=bustage
...
The issue is that the preprocessed files need to be referenced as
$(CURDIR)/file to have Make handle the dependencies correctly. To
allow this, this patch adds ANDROID_MANIFEST_FILE (defaulting to
AndroidManifest.xml) and uses it in the appropriate places.
2014-02-24 23:18:47 -08:00
Nick Alexander
3fa2a0ba88
Bug 903528 - Pre: Make classes.dex depend on ANDROID_EXTRA_JARS. r=glandium
2014-02-24 18:24:45 -08:00
Ralph Giles
a4ec495736
Bug 964559 - Remove MOZ_OGG. r=doublec,ted
...
We are unable to maintain all the --disable-foo build-time options
for the media code. Just support ogg unconditionally.
2014-02-20 18:01:00 -08:00
Ehsan Akhgari
368ecbc648
Bug 974216 - Set LIBXUL_LIBRARY for LIBRARY_NAME==xul; r=glandium
2014-02-18 22:20:51 -05:00
Ehsan Akhgari
22eada1dd3
Bug 973142 - Get rid of the MOZILLA_INTERNAL_API makefile variable; r=glandium
...
It's just as easy to directly set the preprocessor macro in the moz.build
files. Using this variable doesn't really buy us anything.
This patch also removes unused code from rdf/tests/dsds.
2014-02-18 01:56:51 -05:00
Nick Alexander
e5066e3a09
Bug 946083 - Part 1: Delete .class files when (re-)building a Java JAR. r=glandium
...
This cleans up stale .class files, so they don't get packaged into the
.jar files that Proguard consumes.
--HG--
extra : rebase_source : a090d707579711f85b8f9f174b88bf9302be0b24
2014-02-11 09:55:47 -08:00
Brian O'Keefe
11656bf98c
Bug 772828 - Part a: add support for RESOURCE_FILES in moz.build; r=mshal
2013-11-05 13:37:49 -05:00
Ryan VanderMeulen
38f8bae105
Backed out changesets 6948901b128f and d9a099b06911 (bug 946083) and changeset 1e038f308b8d (bug 961339) for intermittent Android build failures.
2014-02-11 09:35:12 -05:00
Nick Alexander
f5a61798ef
Bug 946083 - Part 1: Delete .class files when (re-)building a Java JAR. r=glandium
...
This cleans up stale .class files, so they don't get packaged into the
.jar files that Proguard consumes.
2014-02-10 21:43:00 -08:00
Nick Alexander
396bcc8ca2
Bug 961339 - Fix generated/ source dependencies. r=glandium
...
Generated sources are listed like 'generated/FILE.java'. Generated
sources are produced by PP_TARGETS, which generates the file
'$(CURDIR)/generated/FILE.java'. Because Make interprets $(CURDIR)/foo
and foo differently, this means we need to depend on $(CURDIR)/* for all
generated sources. Since R.java is both listed as a generated source,
but produced by aapt, we need any dependencies to be on
$(CURDIR)/.../R.java.
The change to java-build.mk includes $(CURDIR) in the dependencies for
generated sources. The changes to Makefile.in includes $(CURDIR) in the
produced R.java files for Make.
2014-02-10 21:43:00 -08:00
Mike Hommey
989b41cf6b
Bug 969164 - Replace most BUILDING_JS uses with JS_STANDALONE. r=gps
...
Before making top-level traverse js/src moz.build files, there was a need to
distinguish between top-level traversing e.g. top-level moz.build or
config/moz.build and js/src traversing them. With a single traversal of both
moz.build sets, we now only need to distinguish between js standalone builds
and gecko builds.
There is still, however, a need to distinguish between top-level vs. js/src
configure runs on gecko builds to make them subconfigure icu and libffi from
top-level instead of js/src in js standalone builds, or when choosing to make
js/src's config.status do something when run or not.
2014-02-11 10:37:47 +09:00
Mike Hommey
557439c337
Bug 969164 - Traverse js/src moz.builds from top-level configure. r=gps
...
Before, we would run configure in both top-level and js/src, and both
configures would traverse their own set of moz.builds, without actual
knowledge about the other. With this change, both configures still run,
but only top-level traverses moz.build files, and uses js/src's
config.status when traversing its moz.build files. This allows a better
sharing of information between both build systems and the removal of many
hacks.
This also moves running libffi and icu configure to top-level.
Standalone js builds still have their own configure doing moz.build traversal,
as before.
--HG--
rename : config/autoconf.mk.in => config/autoconf-js.mk.in
rename : config/emptyvars.mk.in => config/emptyvars-js.mk.in
2014-02-11 10:37:47 +09:00
EKR
86a1cc9a54
Bug 970476 - Re-add CPP unit test target. r=ted
2014-02-10 11:42:19 -08:00
Ehsan Akhgari
82ebdc883f
Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg
2014-02-10 17:57:01 -05:00
Ehsan Akhgari
e414c09a71
Bug 944800 - Move the information about delay loaded DLLs into moz.build; r=gps
2014-02-06 14:17:44 -05:00
Mike Hommey
c36da4be35
Bug 959519 - Keep timestamps when copying files with nsinstall.py while nsinstall is not ready to be used yet. r=gps
2014-02-05 13:02:20 +09:00