Commit Graph

2876 Commits

Author SHA1 Message Date
Ehsan Akhgari
4551a263be Bug 1084532 - Drop support for building with MSVC 2010; r=glandium 2014-12-17 10:50:15 -05:00
Nicholas Nethercote
067c967777 Bug 1111948 - Fix --disable-startupcache, and re-disable the startup cache on B2G in the process. r=mshal.
--HG--
extra : rebase_source : 59d14319e67eaf349df0ecc2aa80be94865aed70
2014-12-16 18:18:21 -08:00
Guilherme Goncalves
87e56456fd Bug 1094275 - Update the in-tree copy of jemalloc3 to commit b4acf73. r=glandium 2014-12-17 09:14:48 +09:00
Carsten "Tomcat" Book
377a249e57 merge fx-team to mozilla-central a=merge 2014-12-16 13:39:48 +01:00
Eugen Sawin
17c907caf2 Bug 1109940 - Wrap Android DNS resolver functions. r=glandium 2014-12-15 17:05:58 +01:00
Kai-Zhen Li
bc6f254ba7 Bug 1103827 - Remove __pthread_cond_timedwait. r=cyu 2014-12-12 16:12:21 +08:00
Jan Beich
ca760fcf9a Bug 1103858 - Enable FreeBSD wifi scanner on DragonFly. r=ted, r=jdm 2014-11-24 00:10:00 -05:00
Kyle Huey
c2d9abdd20 Bug 1126248: Enable skia by testing CPU_ARCH, which is more narrowly defined than target_cpu. r=glandium,jrmuizel 2015-02-11 11:09:16 -08:00
Ryan VanderMeulen
10a05b7a9c Bug 1108328 - Upgrade SQLite to version 3.8.7.4. r=mak 2014-12-10 10:02:17 -05:00
Terrence Cole
8077fcf892 Bug 1103269 - Remove the jscall tracer infrastructure; r=sfink 2014-12-04 09:41:02 -08:00
Kai Engert
3665e05348 Bug 1088969 - Upgrade Mozilla 36 to use NSS 3.17.3, changing version numbers, only. 2014-12-01 14:34:08 +01:00
awake
153d42d171 Bug 1100632 - Remove --disable-opus option and MOZ_OPUS #define macros. r=rillian,ted 2014-11-28 01:20:00 -08:00
Benoit Girard
a4449eed3b Bug 1097941 - Properly disable paint-will-resample on b2g. r=jmuizel 2014-11-28 18:42:20 -05:00
Bob Owen
9a0a395aed Bug 928044 Part 2: Enable the content sandbox by default on Windows with an open policy. r=tabraldes,glandium,jimm
--HG--
rename : security/sandbox/win/src/warnonlysandbox/wosCallbacks.h => security/sandbox/win/src/logging/loggingCallbacks.h
rename : security/sandbox/win/src/warnonlysandbox/wosTypes.h => security/sandbox/win/src/logging/loggingTypes.h
rename : security/sandbox/win/src/warnonlysandbox/warnOnlySandbox.cpp => security/sandbox/win/src/logging/sandboxLogging.cpp
rename : security/sandbox/win/src/warnonlysandbox/warnOnlySandbox.h => security/sandbox/win/src/logging/sandboxLogging.h
2014-11-29 17:12:18 +00:00
Mike Hommey
92e50a61ce Bug 1105894 - Let unified compilation ride the train. r=gps
It was conservatively kept out of non-nightly builds[1], but a year later, we
can assume there are no blocking issues to build releases without unified
compilation.

1. https://lists.mozilla.org/pipermail/dev-platform/2013-December/002393.html
2014-11-28 09:59:17 +09:00
David Major
d0d31172be Bug 1095103: Remove Windows PGO build hacks that are no longer necessary. r=glandium
--HG--
extra : rebase_source : b790c97d1fa3e12597d4cd5f4c7fd6dc7ba133cf
2014-11-27 16:18:25 +13:00
Georg Koppen
da4453f15f Bug 1067893 - Detect OTOOL in configure. r=glandium 2014-11-25 05:12:00 -05:00
Masatoshi Kimura
579c257630 Bug 1094016 - Do not ship d3dcompiler_43 for 64-bit builds. r=mshal 2014-11-24 22:18:10 +09:00
Masatoshi Kimura
ad759160d3 Bug 1094013 - Bump subsytem version to 6.1 (Win7) for Win64 builds. r=glandium,jorendorff 2014-11-24 22:18:09 +09:00
Alexander J. Vincent
2df72bf34b Bug 1102602 - part 2: Rename the XULRunner stub, so that we can compile it. r=gps 2014-11-20 17:08:40 -08:00
Ben Turner
768e5c4d9b Bug 1101217 - Upgrade to SQLite 3.8.7.2, r=mak 2014-11-18 20:52:33 -08:00
Mike Hommey
5da2027760 Bug 818922 - Add bidirectional method calls with replace-malloc library. r=njn 2014-11-18 19:21:06 +09:00
Julian Seward
0d110cefac Bug 788974 - Don't disable elfhack when enabling profiling on platforms supporting dl_iterate_phdr. r=glandium.
--HG--
extra : rebase_source : b89c14b8a11473e34707447656d8616dd90075c5
2014-11-17 23:43:14 +01:00
Cervantes Yu
4199f3e652 Bug 1091533, Part 1: Don't wrap tgkill() on the Nuwa process. r=BenWa 2014-11-06 19:10:52 +08:00
Chris Peterson
7134626c6a Bug 1095990 - Part 2: Treat -Wnon-literal-null-conversion warnings as errors to match C++14's fix for C++11 core defect 903. r=glandium 2014-11-08 11:33:18 -08:00
Thomas Zimmermann
54c9fa4fb8 Bug 1095436: Export MOZ_B2G_BT_DAEMON in configure.in, r=mh+mozilla
This change is required to use bluetoothd in Gecko. It probably
got lost while rebasing the patches of bug 1073548.
2014-11-12 10:36:08 +01:00
Carsten "Tomcat" Book
24a16f0935 Merge mozilla-central to fx-team 2014-11-11 13:27:49 +01:00
Panos Astithas
1c0d0c235c Define MOZ_DEV_EDITION in aurora branding configuration (bug 1095934). r=glandium
--HG--
extra : rebase_source : 28256984e52a182614d36bf0d47122bea6d44c93
2014-11-11 13:21:36 +02:00
Nathan Froyd
d27be95ebc Bug 1095633 - part 2 - remove HAVE_CPP_TROUBLE_COMPARING_TO_ZERO bits from the build system; r=mshal 2014-11-07 14:08:13 -05:00
Panos Astithas
a16e62494c Don't use the update channel to identify aurora (bug 1095934). r=glandium 2014-11-09 10:35:30 +02:00
Wes Kocher
86d13896ae Merge m-c to fx-team a=merge 2014-11-04 20:40:56 -08:00
Mike Conley
cf6162c415 Bug 1085622 - Fix E10S_TESTING_ONLY define so that it only ever applies when E10S_TESTING_ONLY config is true. r=ally,glandium.
We were defining the E10S_TESTING_ONLY build-time define with the value of the E10S_TESTING_ONLY config variable,
regardless of the value of E10S_TESTING_ONLY. Even if E10S_TESTING_ONLY in configure was blank, we'd still define
E10S_TESTING_ONLY, which resulted in E10S_TESTING_ONLY ifdef'd code to be included when we didn't want it to.

We now only ever define E10S_TESTING_ONLY iff NIGHTLY_BUILD is defined, and we do it globally.

This also fixes a busted E10S_TESTING_ONLY ifdef that didn't have an endif.

--HG--
extra : amend_source : 9c8fe8db110765272fa666a5c118d388f87c23d7
2014-11-04 11:16:47 -05:00
Nick Alexander
f504e228bd Bug 1091087 - Disable MOZ_NATIVE_DEVICES when MOZ_ANDROID_RESOURCE_CONSTRAINED is set. r=glandium
This saves dexing and shipping the Google Play Services and other Google
libraries, which add resources and about 3megs of code.

Due to ordering issues, the relevant flags and toggles were moved to
configure.in and exposed early enough to be used by confvars.sh.
2014-11-03 20:04:19 -08:00
Thomas Zimmermann
2a5770563c Bug 1073548: Support Bluetooth daemon in build system, r=mh+mozilla 2014-11-03 13:03:48 +01:00
Chris Peterson
855986060a Bug 1090088 - Part 2: Add -Werror=parentheses and -Werror=switch behind --enable-warnings-as-errors check. r=glandium 2014-10-26 21:22:27 -07:00
Chris Peterson
106d4966db Bug 1090088 - Part 1: Only enable tree-wide -Werror=* warnings-as-errors with --enable-warnings-as-errors opt-in. r=glandium 2014-10-26 21:22:27 -07:00
Carsten "Tomcat" Book
3b9f02f4e3 Merge mozilla-central to mozilla-inbound 2014-10-31 14:23:10 +01:00
Carsten "Tomcat" Book
2c6a1f2832 merge fx-team to mozilla-central a=merge 2014-10-31 14:19:30 +01:00
Nick Alexander
f240b60a99 Bug 1039902 - Minify the Fennec JS code in automation. r=glandium
This patch adds a SpiderMonkey jsshell binary via tooltool and arranges
for it to be used in automation (more specifically, whenever JS_BINARY
is defined).

We'd prefer to build a host SpiderMonkey jsshell, but that's not trivial
right now; and we'd prefer to use a minifier better than the existing
Python jsmin (possibly written in JavaScript), but one step at a time.
2014-10-30 17:02:58 -07:00
Glenn Randers-Pehrson
47c59a92a4 Bug 1087841 - Update intree libpng to version 1.6.14. r=jmuizelaar 2014-10-29 12:06:00 +01:00
Mike Hommey
d3a4cfe712 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
d667f4bb59 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
2a17803c46 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
bec0f45d96 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
9214591b2c 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
8ce6b1be38 Followup for bug 1091118: Also export RANLIB to unbust android builds on mac. r=gps 2014-10-31 08:51:33 +09:00
Mike Hommey
bc89ac2f89 Bug 1090107 - Define stlport dependencies in moz.build. r=mshal 2014-10-29 13:29:42 +09:00
Carsten "Tomcat" Book
69157d7124 Backed out changeset 9742b31c634a (bug 1073419) for bustage 2014-10-27 16:56:40 +01:00
Dave Huseby
bcb34fff21 Bug 1073419 - [ALA] Adjustable location accuracy. r=jdm, r=mt 2014-10-24 18:42:00 -04:00
Hiroyuki Ikezoe
7aa8403525 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
André Reinald
65c17572f5 Bug 1076385 - Sandbox the content process on Mac. r=smichaud 2014-10-30 13:33:17 -05:00
Ryan VanderMeulen
9ca77f6224 Bug 1091076 - Update SQLite to version 3.8.7.1 - Mozilla changes. r=mak 2014-11-04 10:48:42 -05:00
Dave Huseby
8c4853f6b9 Bug 1073419 - [ALA] All gecko code needed to support adjustable location accuracy. r=jdm, r=mt 2014-10-30 16:39:00 -04:00
Carsten "Tomcat" Book
6c259f5002 Merge mozilla-central to mozilla-inbound 2014-11-04 13:30:53 +01:00
Carsten "Tomcat" Book
25c8587e41 merge fx-team to mozilla-central a=merge 2014-11-04 13:17:35 +01:00
Mike Hommey
0039ffce9d Bug 1091505 - Run subconfigures in parallel. r=gps
On automation, this brings Windows configure time on a clobber from 5:30 to 3:10.

Sadly, because make needs to run under intl/icu/host before configuring
intl/icu/target, intl/icu/host needs to be configured independently. Fortunately,
that's not configured for normal windows builds anyways.

Also, having multiple subconfigures sharing the same cache file is dangerously
racy. Fortunately, not a lot do. In fact, only js/src and $_subconfigure_subdir
do, so force the latter (only used for ldap sdk on comm-central) not to
configure in parallel.
2014-11-04 13:50:18 +09:00
Terrence Cole
2a07984d71 Bug 1083464 - Use a more standard mechanism to export GC symbols to embedders. r=ted,r=jorendorff 2014-10-27 13:29:44 -07:00
Panos Astithas
bb949c4017 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
23ed99d959 Bug 1011562 - Ship Firefox OS fonts with the simulator. r=fabrice, r=mshal 2014-10-21 12:34:00 -04:00
Ryan VanderMeulen
cb0bff9736 Merge inbound to m-c. a=merge 2014-10-21 15:14:52 -04:00
Joshua Cranmer
4400b2a22f 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
e6fdc3e284 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
2e13c67070 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
1ab54a1b10 Followup to bug 609976 - Build ICU as a shared library on windows. r=mshal 2014-10-18 09:28:57 +09:00
Wes Kocher
7c26086f75 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
d1679cdb9c 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
c3f6508440 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
fa53abc047 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
24c79e15e0 Bug 609976 - Fold mozjs.dll back into xul.dll. r=ehsan 2014-10-17 08:12:27 +09:00
Mike Hommey
b681b23188 Bug 922912 - Fold gkmedias.dll back into xul.dll. r=ehsan 2014-10-17 08:12:01 +09:00
Carsten "Tomcat" Book
e6a9ddaca8 Merge m-c to mozilla-inbound 2014-10-16 16:10:53 +02:00
Carsten "Tomcat" Book
c3f8f98b4e merge mozilla-inbound to mozilla-central a=merge 2014-10-16 16:07:06 +02:00
Chris Jones
e3d70da1dd 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
dbd0aadeb5 Bug 1080910 - Add USE_ICU variable separated from ENABLE_INTL_API. r=glandium 2014-10-10 02:55:00 -04:00
Ehsan Akhgari
4e75b08de6 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
d25d54933b Bug 1077441 - create empty performance tool under build flag. r=vp 2014-10-15 09:46:00 +02:00
Mike Hommey
3bdc381f46 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
d2f7286d95 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
143fd413ed 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
7198a50710 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
b08088c7c1 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
4720f6fef2 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
486d122683 Bug 1075686, Update Mozilla 35 to use NSS 3.17.2, RTM 2014-10-10 19:16:08 +02:00
Chris Peterson
32977903f2 Bug 1079672 - Fix -Wpointer-arith warning in GonkAudioDecoderManager.cpp. r=cpearce 2014-10-04 23:18:43 -07:00
Eric Rahm
46ba903bec Bug 806819 - Part 2: Enable FORCE_PR_LOG globally. r=ted 2014-10-08 13:17:29 -07:00
Chris Peterson
ab88e89f3c Bug 1076698 - Part 3: Remove -Werror=implicit-int for jemalloc3. r=ted 2014-10-08 10:25:36 -07:00
Tooru Fujisawa
457a6d17e3 Bug 1045958 - Enable ICU on B2G Desktop OS X build r=josh. 2014-10-08 22:43:47 +08:00
Chris Peterson
0b6fd76362 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
d943611ddc 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
38bb9255d0 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
5d7f3c7007 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
bd73b23136 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
2cf4e5103f 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
608d70771a 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
b4265f0fa8 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
0406c0c45e 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
d222e46ad3 Merge fx-team to m-c. a=merge 2014-10-03 16:13:24 -04:00
Lucas Rocha
020b188c14 Bug 1065494 - Put the new tablet UI behind a build flag (r=nalexander)
--HG--
rename : mobile/android/base/resources/color-large-v11/new_tablet_tab_strip_item_title.xml => mobile/android/base/newtablet/res/color-large-v11/new_tablet_tab_strip_item_title.xml
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_default_favicon.png => mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_ic_menu_back.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_ic_menu_forward.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_ic_menu_reload.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_menu.png => mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_menu.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tabs_count.png => mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_default_favicon.png => mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_ic_menu_back.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_ic_menu_forward.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_ic_menu_reload.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_menu.png => mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_menu.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_tabs_count.png => mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/resources/drawable-large-v11/new_tablet_tab_strip_divider.xml => mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_tab_strip_divider.xml
rename : mobile/android/base/resources/drawable-large-v11/new_tablet_tab_strip_item_bg.xml => mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_tab_strip_item_bg.xml
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_default_favicon.png => mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_ic_menu_back.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_ic_menu_forward.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_ic_menu_reload.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_menu.png => mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_menu.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tabs_count.png => mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_default_favicon.png => mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_ic_menu_back.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_ic_menu_forward.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_ic_menu_reload.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_menu.png => mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_menu.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_tabs_count.png => mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/resources/layout-large-v11/new_tablet_browser_toolbar.xml => mobile/android/base/newtablet/res/layout-large-v11/new_tablet_browser_toolbar.xml
rename : mobile/android/base/resources/layout-large-v11/new_tablet_tab_strip.xml => mobile/android/base/newtablet/res/layout-large-v11/new_tablet_tab_strip.xml
rename : mobile/android/base/resources/layout-large-v11/new_tablet_tabs_counter.xml => mobile/android/base/newtablet/res/layout-large-v11/new_tablet_tabs_counter.xml
rename : mobile/android/base/resources/layout-large-v11/tab_strip.xml => mobile/android/base/newtablet/res/layout-large-v11/tab_strip.xml
rename : mobile/android/base/resources/layout-large-v11/tab_strip_item.xml => mobile/android/base/newtablet/res/layout-large-v11/tab_strip_item.xml
rename : mobile/android/base/resources/layout-large-v11/tab_strip_item_view.xml => mobile/android/base/newtablet/res/layout-large-v11/tab_strip_item_view.xml
2014-10-03 11:47:46 +01:00
Nathan Froyd
94fd463d11 Bug 1072071 - disable warning C4267 on windows; r=mshal 2014-10-01 10:43:53 -04:00
Mike de Boer
b7328204e1 Bug 1069816: implement Google contacts import class. r=abr 2014-10-02 12:37:38 +02:00
wesj
5b33ccde26 Bug 1071091 - Restrict the system download manager to non-release builds for now. r=nalexander 2014-09-24 22:29:00 -07:00
Carsten "Tomcat" Book
e8c52fe173 merge fx-team to mozilla-central a=merge 2014-09-26 13:27:36 +02:00
Robert Strong
25f34aaa79 Bug 1070428 - NSIS version check uses undefined REQ_NSIS_MAJOR_VER in output messages. r=ted 2014-09-25 13:29:01 -07:00
Gian-Carlo Pascutto
2d486eeb3a Bug 1059573 - Add an option to use hardware AEC for WebRTC. r=jesup,ted 2014-09-24 19:11:58 +02:00
Jacek Caban
fc9cce0e16 Bug 1060401 - NSS and NSPR libs can't be found in mingw builds. r=glandium 2014-09-23 11:51:36 +02:00
Timothy Arceri
dd9c48f685 b=1068964 Bump GTK required version to 2.18.0 r=karlt
Now that Seamonkey is building with CentOS 6
we can bump the gtk version ready for some code tidy ups.

--HG--
extra : transplant_source : q%B0%27%5By%171%F2%21%04Q%B4%07s%0A%9C%BC%19%3C%8B
2014-09-18 08:17:11 +10:00
Terrence Cole
8bbadd1d51 Bug 987666 - Remove root-analysis build option from root configure.in; r=sfink
--HG--
extra : rebase_source : b6fb9f8f13feddbb94b57cb65403519703cc37e0
2014-09-25 16:56:44 -07:00
David Keeler
af0a52a3c6 bug 1053565 - update minimum system NSS requirement in configure.in (it is now 3.17.1) r=glandium 2014-09-11 16:12:14 -07:00
Cervantes Yu
8b2412979d Bug 1067248: Fix the regular expression to strip ccache in building NSPR in bug 1066669. r=ted
--HG--
extra : rebase_source : 86b9b52966ce43d5ace9f2189f1db38173549f19
2014-09-15 17:48:38 +08:00
Markus Stange
ce479103be Bug 1066669 - Tweak the regex to work with just --with-ccache. rs=ted DONTBUILD 2014-09-12 18:40:12 +02:00
Markus Stange
96707bcbc0 Bug 1066669 - Use a regex that OS X sed understands. Fixes configure failures when using --with-ccache=... rs=ted 2014-09-12 18:31:50 +02:00
Christian Holler
53335f3133 Bug 1058500 - Add MSan support to the build system. r=ted,waldo 2014-09-11 23:21:46 +02:00
Cervantes Yu
31a5b6ed67 Bug 991035: Don't prepend ccache twice in building NSPR. r=ted
--HG--
extra : rebase_source : 95a4b5bd9d35b7cfc50da2fa4d14400f31f6d3f5
2014-09-01 17:34:17 +08:00
Mike Hommey
77c2089cb5 Bug 1051209 - Properly link libxul.so on GTK+3 builds after bug 1045783. r=mshal 2014-09-11 12:24:44 +09:00
Terrence Cole
29dc9aff5e Bug 914402 - Remove the defunct conservative stack scanner; r=sfink
--HG--
extra : rebase_source : c261ef7492694e9724c78edc7bc0dac7aa4357ba
2014-09-09 15:08:23 -07:00
Bob Owen
061d00b434 Bug 1063455 - Define MOZ_STACKWALKING when NS_StackWalk is available and replace other instances of the same #if logic. r=mshal, r=froydnj 2014-09-08 18:25:20 +01:00
David Major
af3cfdb5d0 Backed out 040e85d18eab (bug 931687) for causing bug 1018402
--HG--
extra : rebase_source : c41a6125fabb2b11fb546a3253979003d80095eb
2014-09-10 15:48:56 +12:00
Chris Kitching
ee8e407300 Bug 1062112: Part 5: Make configure accept JDK 8. r=nalexander 2014-09-03 17:26:06 -07:00
Ryan VanderMeulen
672fb4d000 Merge fx-team to m-c. a=merge 2014-09-05 11:54:57 -04:00
Nathan Toone
31885783c5 Bug 1055909 - Check for google play services after loading configure.sh from branding. r=glandium 2014-09-04 08:01:00 +02:00
Alan K
635f49e75e Bug 993584 - Initial landing for CloudSync. r=rnewman 2014-09-04 21:44:00 +02:00
Carsten "Tomcat" Book
0b56bf9838 Backed out changeset 5adabc2818b2 (bug 1018966) for b2g bustage 2014-09-04 15:14:41 +02:00
Bob Owen
3f62750874 Bug 1018966 - Part 1: Add the main warn only sandbox machinery - with no Chromium code changes. r=bsmedberg
This change also includes the content sandboxing code on Windows Nightly by defining MOZ_CONTENT_SANDBOX=1.
Whether the content sandbox is disabled, in warn only mode, or enabled is controlled by a new pref: browser.tabs.remote.sandbox=(off/warn/on)
2014-06-11 15:32:37 +01:00
Bob Owen
cf06b12d8d Bug 1018966 - Part 1: Add the main warn only sandbox machinery - with no Chromium code changes. r=bsmedberg r=tabraldes
This change also includes the content sandboxing code on Windows Nightly by defining MOZ_CONTENT_SANDBOX=1.
Whether the content sandbox is disabled, in warn only mode, or enabled is controlled by a new pref: browser.tabs.remote.sandbox=(off/warn/on)
2014-06-11 15:32:37 +01:00
Mike Hommey
d0c653396e Bug 1062219 - Don't build build/clang-plugin as an external directory. r=jcranmer 2014-09-04 17:44:01 +09:00
Chris Kitching
054ae14af2 Bug 1044794 - Part 1: build flag for share overlays. r=nalexander 2014-08-05 14:37:59 -07:00
Chris Kitching
4dbfee00cc Bug 1056128: Enable JDK source level 1.7 for Android Java code. r=nalexander 2014-08-29 03:44:27 -07:00
Andrew Halberstadt
3ae82623e4 Bug 1051809 - Package and upload code coverage data to build directory if code coverage is enabled, r=gps 2014-08-27 13:32:42 -04:00
Ryan VanderMeulen
d51fed3906 Merge m-c to inbound. a=merge
CLOSED TREE

--HG--
extra : amend_source : e59af3fa8b325da192204b3a227c24de690055c7
2014-08-27 15:54:44 -04:00
Joshua Cranmer
9227201777 Bug 1040009: Add support for comm-central applications to --enable-application in mozilla's configure.in, r=glandium, a=edmorley.
The purpose of this bug is to adjust the configure logic so that a .mozconfig
set up for comm-central can be used in the mozilla-central logic without needing
to adjust or override any commands.

--HG--
extra : amend_source : fa388484330eca8ead8b2fefe350f350ad5582e6
2014-08-27 10:03:24 -05:00
Jacek Caban
57c0ae2d2e Bug 1042426 - Added --disable-sandbox option that disables building sandbox code. r=glandium 2014-08-27 16:32:55 +02:00
Glenn Randers-Pehrson
b813184aa2 Bug 1021713 - Update in-tree libpng to version 1.6.13. r=jmuizelaar 2014-08-22 07:11:00 -04:00
David Major
6bb6f521fb 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
Mark Banner
df1783f479 Bug 763180 - NS_XRE_ENABLE_EXTENSION_MANAGER flag does nothing - remove it. r=glandium 2014-08-26 08:50:07 +01:00
Ryan VanderMeulen
1b936d692c Bug 1054680 - Upgrade SQLite to version 3.8.6 - Mozilla changes. r=asuth 2014-08-25 08:56:01 -04:00
Kartikaya Gupta
942bbe220f Bug 1055605 - Replace MOZ_ANDROID_OMTC with MOZ_WIDGET_ANDROID. r=BenWa 2014-08-22 15:26:56 -04:00
Nathan Froyd
6c4e55802a Bug 1056263 - remove unneeded configure checks for ssize_t, stat.st_blksize, and siginfo_t; r=mshal
js/src/ retains the ssize_t check because ctypes needs it.
2014-08-20 14:55:41 -04:00
Makoto Kato
c4e0574b7e Bug 1054811 - Set HAVE_X86_AVX2 for VS2012 or later. r=glandium 2014-08-21 15:46:45 +09:00
Ian Neal
e250024af7 Bug 1054470 - Remove unused MOZ_APP_COMPONENT_INCLUDE r=glandium 2014-08-19 12:38:03 +01:00
Ian Neal
3103f7a3f6 Bug 1053439 - MOZ_APP_COMPONENT_MODULES and MOZ_APP_EXTRA_LIBS are no longer required r=glandium 2014-08-15 20:40:19 +01:00
Jon Coppeard
22aa411e62 Bug 650161 - Add --enable-gccompacting configure flag for compacting GC r=terrence r=ted 2014-08-14 11:46:26 +01:00
David Keeler
843f8bbee8 bug 1030963 - remove non-standard window.crypto functions/properties r=jst r=briansmith r=glandium 2014-08-14 09:38:42 -07:00
Blake Wu
690e5b5189 Bug 1052536 - Remove extra space to silence configure warning. r=glandium 2014-08-12 20:06:00 -04:00
Sylvestre Ledru
1f1a764333 Bug 1053135 - Disable the usage of -freorder-blocks when using clang r=glandium
In future version of clang, unsupported optimization flags are going to trigger a warning. They used to be silently ignored or triggering an error.
2014-08-14 14:43:30 +02:00
Ed Morley
5a23df2bd2 Backed out changeset 297ca183fff9 (bug 650161) for crashes; CLOSED TREE 2014-08-14 12:53:15 +01:00
Jon Coppeard
d4dc9fe4ba Bug 650161 - Add --enable-gccompacting configure flag for compacting GC r=terrence r=ted 2014-08-14 11:46:26 +01:00
Ed Morley
f89428e987 Merge latest green fx-team changeset and mozilla-central; a=merge 2014-08-14 08:50:16 +01:00
David Major
77e70e7320 Bug 1043108 - Remove arch:IA32 from non-x86 builds. r=glandium
--HG--
extra : rebase_source : 3826e179b2e2f14371a58a476b29cb1dd4d088d7
2014-08-14 11:08:05 +12:00
Mike Hommey
4fda2da4f7 Bug 1042432 - Change how UPLOAD_EXTRA_FILES is passed down from mozconfig.cache to the build system. r=mshal 2014-08-14 07:15:35 +09:00
Vladimir Vukicevic
4a3c43c587 b=1052518; remove --disable-webgl; r=jgilbert 2014-08-12 12:04:36 -04:00