Граф коммитов

4502 Коммитов

Автор SHA1 Сообщение Дата
André Reinald 436338cb49 Bug 1076385 - Sandbox the content process on Mac. r=smichaud 2014-10-30 13:33:17 -05:00
Mike Hommey da59e89c30 Bug 1091118 part 2 - Do not use the top-level cache file for freetype2 subconfigure. r=gps
We modify the environment before running freetype2 configure. When it uses
the same cache file, it stores knowledge about that environment in the cache
file. The cache file is then reused to configure in js/src, with yet again a
different environment, which makes subconfigure.py clear the cache because
of the differences.

The configure in js/src is however invoked with the same environment as the
main configure was invoked with (mostly), so without freetype2 on the way,
reusing the cache for it works as expected. In fact, it works better with the
cache because of things coming from mozconfig that are not exported.

With freetype2 on the way, as mentioned above, the cache is cleared. Without
the cache, js/src/configure does new detections with a possibly different
environment, and stores that in the cache. Until the next build, which then
uses that different cache for the top-level configure.

This results in subtle differences in the HOST_CC/HOST_CXX variables on
android builds because those variables are not exported from mozconfig,
depending on PATH, what the builder was building before, and if the build
is a clobber.

Avoiding the freetype2 subconfigure writing its environment variables change
to the top-level cache makes the cache never invalidate for js/src.
2014-10-30 14:35:01 +09:00
Mike Hommey 47c853314f 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 44b304224a 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 f5bc18d01c Bug 1089446 - Reimplement build/unix/uniq.pl in Python, and remove its unit test. r=gps.
--HG--
extra : rebase_source : 5e7ebf7a59a5966b1af5c8a3165b53bb7bd42770
2014-10-28 15:04:03 -07:00
Ehsan Akhgari 3414c53230 Bug 1090512 - Emulate the clang-cl compiler version in toolchain.m4; r=glandium
--HG--
extra : rebase_source : 65732c6696699ffb62acb76c19133537448e6fb7
2014-10-29 12:33:32 -04:00
Mike Hommey deb5d056a6 Bug 1090107 - Define stlport dependencies in moz.build. r=mshal 2014-10-29 13:29:42 +09:00
Carsten "Tomcat" Book 977dd5ae60 Backed out changeset 9742b31c634a (bug 1073419) for bustage 2014-10-27 16:56:40 +01:00
Dave Huseby 798adb1c66 Bug 1073419 - [ALA] Adjustable location accuracy. r=jdm, r=mt 2014-10-24 18:42:00 -04:00
Hiroyuki Ikezoe 670b1f51ac Bug 1084997 - Replace '\' in MOZ_BUILD_APP with '/' to eliminate the difference between windows and others. r=glandium 2014-10-22 07:18:00 +02:00
Panos Astithas a770ad057a Bug 1024110 - Change Aurora's default profile behavior to use channel-specific profiles. r=bsmedberg f=gavin,markh 2014-09-23 21:49:03 +03:00
Jan Keromnes 2db002a086 Bug 1011562 - Ship Firefox OS fonts with the simulator. r=fabrice, r=mshal 2014-10-21 12:34:00 -04:00
Ryan VanderMeulen 719072f90f Merge inbound to m-c. a=merge 2014-10-21 15:14:52 -04:00
Joshua Cranmer b4e2d4ace0 Bug 1086705: Disable -Werror=switch, r=froydnj, a=RyanVM
Gecko, for better or worse, allows non-m-c apps to define custom error codes and
use them in nsresult. This error breaks the ability to switch on those custom
error codes when an error happens. For this reason, it's not reasonable to make
this an error at present.
2014-10-21 12:23:12 -05:00
Andrew Martin McDonough 068835d9bb Bug 1014614 - Use Android MediaCodec for decoding H264 and AAC in MP4 r=cpearce,edwin
--HG--
extra : rebase_source : 7e7d1fc38d13b52e2294c0237479b78b31bdeafb
2014-10-21 08:53:01 -05:00
Chris Peterson 0a433c81f2 Bug 1081010 - Part 2: Fix -Wswitch warnings in dom/plugins and enable -Werror=switch warning-as-error. r=bsmedberg 2014-10-08 21:28:00 -07:00
Mike Hommey 23748b1072 Followup to bug 609976 - Build ICU as a shared library on windows. r=mshal 2014-10-18 09:28:57 +09:00
Wes Kocher 36939bc3c8 Backed out 9 changesets (bug 1014614) for Android mochitest bustage on a CLOSED TREE
Backed out changeset 40f99ba7f616 (bug 1014614)
Backed out changeset 8fbc3c85adfc (bug 1014614)
Backed out changeset 40dbd7c6ce65 (bug 1014614)
Backed out changeset f2b504bdd7c5 (bug 1014614)
Backed out changeset c878e29fbef9 (bug 1014614)
Backed out changeset 511dcc817f5d (bug 1014614)
Backed out changeset 2b72e71f1fdf (bug 1014614)
Backed out changeset 8b530a9a2f99 (bug 1014614)
Backed out changeset 7fa1b78de684 (bug 1014614)
2014-10-17 16:34:01 -07:00
Andrew Martin McDonough c7c6773ec1 Bug 1014614 - Use Android MediaCodec for decoding H264 and AAC in MP4 r=cpearce,edwin,snorp
--HG--
extra : rebase_source : 5f104f687b6a68d4d4100abf8a8a28039fbb324d
extra : histedit_source : 6f609ebacd51fffcdcfec92c99329b758c6fdbce
2014-10-17 10:35:12 -05:00
Ehsan Akhgari 94a20717aa Bug 1083616 - Build on clang-cl with MSVC 2013 with fallback emulation; r=gps
We officially test MSVC2013 builds now, so it makes sense to
emulate the same compiler when building with clang-cl.  Also,
we need to build with fallback mode, since clang-cl doesn't
still support SEH.  We also need to pass these flags to NSS
too for the same reason.
2014-10-16 21:40:22 -04:00
Ehsan Akhgari 6e5f973009 Bug 1083887 - Package the clang-cl runtime library for ASAN on Windows ASAN builds; r=gps 2014-10-16 21:40:00 -04:00
Mike Hommey 2597924fe1 Bug 609976 - Fold mozjs.dll back into xul.dll. r=ehsan 2014-10-17 08:12:27 +09:00
Mike Hommey 3d87c3e63b Bug 922912 - Fold gkmedias.dll back into xul.dll. r=ehsan 2014-10-17 08:12:01 +09:00
Carsten "Tomcat" Book e156f56b85 Merge m-c to mozilla-inbound 2014-10-16 16:10:53 +02:00
Carsten "Tomcat" Book 5cbd2e1c3c merge mozilla-inbound to mozilla-central a=merge 2014-10-16 16:07:06 +02:00
Chris Jones 54281ff17a Bug 1082997 - Add an option to explicitly disable skia-gpu and fix the build when it's disabled. r=mattwoodrow 2014-10-14 20:55:37 -07:00
Tooru Fujisawa 8189e6bc60 Bug 1080910 - Add USE_ICU variable separated from ENABLE_INTL_API. r=glandium 2014-10-10 02:55:00 -04:00
Ehsan Akhgari a61d9465c0 Bug 1081414 - Suppress clang-cl warnings about inline 'new' and 'delete'; r=glandium
This is the clang-cl version of the fix to bug 928808.
2014-10-16 09:11:31 -04:00
Jordan Santell f906459194 Bug 1077441 - create empty performance tool under build flag. r=vp 2014-10-15 09:46:00 +02:00
Mike Hommey b79a0595df bug 1081034 part 4 - Remove wrapping for weak libc symbols. r=nfroyd
This effectively backs out bug 791419, a part of bug 850332, and bug 1001703.
2014-10-16 09:20:16 +09:00
Mike Hommey 3fa39f0e02 Bug 1081682 - Make --with-ccache use --with-compiler-wrapper under the hood. r=mshal
Also, avoid removing --with-ccache from all subconfigure calls. Only remove it
from NSPR's.
2014-10-15 14:47:02 +09:00
Mike Hommey 32c8131976 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 59b9a6c072 Bug 1080341 - Remove --enable-wrap-malloc/--with-wrap-malloc. r=mshal
With bug 1077366, --enable-wrap-malloc is not abused anymore for android
linkage. Other than android linkage, the option has been of limited
usefulness since bug 804303 (replace-malloc), which allows runtime wrapping.

In fact, chances are --enable-wrap-malloc breaks things with jemalloc
integration.

This doesn't, however, remove those options from standalone js builds,
although it's not clear they're any useful there either.
2014-10-14 07:17:29 +09:00
Mike Hommey b77d0f1d19 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
Chris Peterson ddfb721db5 Bug 1081208 - Disable -Wparentheses warnings-as-errors because extra parens are expected in preprocessed files. r=bz 2014-10-10 11:25:11 -07:00
Kai Engert 2251b66f13 Bug 1075686, Update Mozilla 35 to use NSS 3.17.2, RTM 2014-10-10 19:16:08 +02:00
Chris Peterson 6344d3ecf3 Bug 1079672 - Fix -Wpointer-arith warning in GonkAudioDecoderManager.cpp. r=cpearce 2014-10-04 23:18:43 -07:00
Eric Rahm aee0114fd5 Bug 806819 - Part 2: Enable FORCE_PR_LOG globally. r=ted 2014-10-08 13:17:29 -07:00
Chris Peterson 788b67aaf6 Bug 1076698 - Part 3: Remove -Werror=implicit-int for jemalloc3. r=ted 2014-10-08 10:25:36 -07:00
Tooru Fujisawa 90f9cf6c63 Bug 1045958 - Enable ICU on B2G Desktop OS X build r=josh. 2014-10-08 22:43:47 +08:00
Chris Peterson 4ffe578250 Bug 1076698 - Part 2: Treat some individual gcc/clang warnings as errors in all directories. r=ted 2014-09-19 15:41:20 -07:00
Chris Peterson 7888f929d8 Bug 1076698 - Part 1: Remove unnecessary MOZ_*_SUPPORTS_WARNING checks for warnings supported by gcc 4.4+ and clang. r=ted 2014-09-23 19:48:47 -07:00
Chris Peterson 06fd088e9f Bug 1076698 - Part 0: Clean up configure.in's list of gcc/clang warnings. r=ted 2014-09-23 19:48:47 -07:00
Wes Kocher 445e1466e9 Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm 9fb6db7302 Bug 806819 - Part 2: Enable FORCE_PR_LOG globally. r=ted
--HG--
extra : rebase_source : 926d988f0e50abcd07c223b62d367b22ac242344
2014-10-06 13:08:02 -07:00
Mike Hommey ce2e710e2e Bug 1077214 - Don't export DLLFLAGS from main configure. r=mshal
DLLFLAGS was exported from main configure so that it would be picked by NSPR
configure, allowing to pass down flags to link NSPR against mozglue. With
MOZ_FOLD_LIBS always enabled on MSVC builds, that is not necessary anymore
since the NSPR build system doesn't build any shared library anymore.
2014-10-04 10:34:13 +09:00
Mike Hommey ca69fe623e Bug 1077212 - Move MOZ_FOLD_LIBS to configure. r=mshal
Setting MOZ_FOLD_LIBS should stop being an opt-in for individual applications,
which also makes them responsible for doing the right thing, which happens not
to be the case for B2G Desktop Linux builds.

Enforcing MOZ_FOLD_LIBS to be set on the relevant platforms in configure ensures
everything is setup up correctly, and also allows to stop caring about supporting
now hypothetical e.g. MSVC builds without MOZ_FOLD_LIBS (which require to pass
DLLFLAGS down to the nspr build system to make nspr built against mozglue which
would now be unnecessary)
2014-10-04 10:33:46 +09:00
Mike Hommey 8c10235da0 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
Mike Hommey 53ac2c146b Bug 1077132 - Force ELF hash style to System V when building with MOZ_LINKER. r=nfroyd 2014-10-04 10:32:27 +09:00
Ryan VanderMeulen 4b07046320 Merge fx-team to m-c. a=merge 2014-10-03 16:13:24 -04:00