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

396 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher 07f8858bf6 Merge inbound to central, a=merge 2016-08-17 16:38:41 -07:00
Gregory Szorc 205a281d56 Bug 1295811 - Check COMPILE_ENVIRONMENT instead of SKIP_COMPILER_CHECKS; r=glandium
Reviewed over pastebin+irc, like a boss.
2016-08-17 13:54:22 -07:00
Gregory Szorc 0053208f34 Bug 1295811 - Remove check for __attribute__(aligned()); r=glandium
It was setting ATTRIBUTE_ALIGNED_MAX which hasn't been used for 6 years
since 590a7be0e60f (bug 556455) removed its only consumer.

MozReview-Commit-ID: HSAql5cUrQH

--HG--
extra : rebase_source : 34193d16b6073c5ad13eb4787b876fc3a9266c2b
2016-08-16 21:14:42 -07:00
Gregory Szorc f9df0d3dca Bug 1295811 - Only run allocator checks when compile environment needed; r=glandium
Skipping them saves 1.5-2.0s from configure during an artifact build
on Windows.

MozReview-Commit-ID: ArCvrFP9UsD

--HG--
extra : rebase_source : fa580b69d1d96dc0631b626512273302647126f7
2016-08-16 17:07:00 -07:00
Gian-Carlo Pascutto 99cf64792b Bug 1294331 - Don't enable sandboxing outside of x86/x86_64. r=glandium
MozReview-Commit-ID: Jc0OpFwznVY

--HG--
extra : rebase_source : d0c7a84a8b4440973c6fb315a3171db9aca2bc2b
2016-08-12 15:24:35 +02:00
John Paul Adrian Glaubitz c6b39f0f90 Bug 972945 - Add autoconf test to enable AltiVec on supported targets only. r=glandium
Currently, the build scripts enable AltiVec unconditionally on all ppc*
targets. However, there some ppc* targets which do not support AltiVec
instruction set extensions, these are often embedded systems like the
PowerPC e500 or similar which have their own type of instruction set
extensions like SPE. Trying to enable Altivec support on these targets
results in a compiler error, hence we need to add an autoconf test for
AltiVec support before trying to enable it on ppc* targets.

Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>

--HG--
extra : rebase_source : 6c4df813d97d95046fd2269c876313ce7591c5cf
2016-08-16 05:17:00 -04:00
Mike Hommey bafa8ffb78 Bug 1295480 - Move MOZ_WEBSPEECH_MODELS to python configure. r=chmanchester 2016-08-17 11:02:01 +09:00
Mike Hommey c504a71a5b Bug 1295480 - Move --enable-webspeechtestbackend to python configure. r=chmanchester 2016-08-17 11:01:56 +09:00
Mike Hommey ff6286a8e2 Bug 1295480 - Move --disable-webspeech to python configure. r=chmanchester 2016-08-17 11:01:52 +09:00
Mike Hommey d891dd2ea2 Bug 1295480 - Move MOZ_WEBSPEECH_POCKETSPHINX to python configure. r=chmanchester 2016-08-17 11:01:48 +09:00
Mike Hommey 86c8b781d4 Bug 1295480 - Move --enable-dbm to python configure. r=chmanchester 2016-08-17 11:01:44 +09:00
Mike Hommey 195a0eb8e7 Bug 1295480 - Move --enable-ipdl-tests to python configure. r=chmanchester 2016-08-17 11:01:40 +09:00
Mike Hommey 9cbe9243c6 Bug 1295480 - Move --enable-websms-backend to python configure. r=chmanchester 2016-08-17 11:01:35 +09:00
Mike Hommey 6f35afadf9 Bug 1295480 - Move --enable-synth-speechd to python configure. r=chmanchester 2016-08-17 11:01:30 +09:00
Mike Hommey 29f57f3e58 Bug 1295480 - Move --disable-printing to python configure. r=chmanchester 2016-08-17 11:01:24 +09:00
Mike Hommey 05f10c47d3 Bug 1294630 - Move --enable-ipc-fuzzer to python configure. r=chmanchester 2016-08-17 11:01:05 +09:00
Mike Hommey e7928a74b0 Bug 1294639 - Move --with-servo to python configure. r=chmanchester
Subtly, as toolkit/moz.configure happens before toolchain tests, we
can't set MOZ_SERVO_LIBS from there. And toolkit/moz.configure is
not always included either, making things awkward to do in python
configure.

OTOH, there's only one place where MOZ_SERVO_LIBS is used, and the
corresponding setup can actually be done there (in moz.build) instead.

I think we shouldn't shy away from moving things this way.
2016-08-16 08:32:55 +09:00
Mike Hommey c6d1e73834 Bug 1294585 - Move --with-*-keyfile options to python configure. r=chmanchester 2016-08-16 08:32:51 +09:00
Mike Hommey 02d1dcdac0 Bug 1294585 - Remove the --with-google-oauth-api-keyfile configure flag. r=mikedeboer 2016-08-16 08:32:49 +09:00
Alexandre Lissy 0ce8616941 Bug 1295516 - Do not build B2G with RTSP enabled r?
MozReview-Commit-ID: heTGRgh3am

--HG--
extra : rebase_source : 3c64aeece2a7ea608b8cb9baa70eb01317c8ca3b
2016-08-16 11:24:44 +02:00
Wes Kocher a177bd0ff1 Merge m-c to inbound a=merge 2016-08-17 17:24:02 -07:00
Chris Manchester 872c57fe84 Bug 1294803 - Move BUILD_CTYPES to Python configure. r=glandium
MozReview-Commit-ID: 3TlgdpNDLZW
2016-08-17 15:02:31 -07:00
Chris Manchester 269e8590e8 Bug 1294803 - Move MOZ_SYSTEM_FFI to moz.configure in preparation for moving libffi to our build system. r=glandium
This patch introduces a small change in behavior: we now unconditionally
require libffi > 3.0.9 when using system ffi, rather than accepting 3.0.9
when using GCC, as 3.0.10 was released 5 years ago, and should be widely
available.


MozReview-Commit-ID: DtSDPoZSPcx
2016-08-17 15:02:31 -07:00
Wes Kocher 02224536e4 Merge m-c to autoland, a=merge 2016-08-10 16:56:26 -07:00
Mike Hommey a918e97bfa Bug 1293837 - Move HAVE_64BIT_BUILD test to python configure. r=chmanchester
Also, now that we're using modern C++11 compilers, we can just rely on
static_assert, instead of the pile of macros used in the autoconf test.

--HG--
extra : rebase_source : 85d507da653d07e6527a971082277486e3502ea2
2016-08-10 09:00:23 +09:00
Mike Hommey 77ee4f3ce4 Bug 1292463 - Move MOZ_C{,XX}_SUPPORTS_WARNING to python configure. r=chmanchester 2016-08-10 10:50:01 +09:00
Mike Hommey cc883a2e7a Bug 1292463 - Set MOZ_PGO subst/config from python configure. r=chmanchester 2016-08-10 10:49:58 +09:00
Mike Hommey 4585ac7815 Bug 1292463 - Move --enable-warnings-as-errors to python configure. r=chmanchester 2016-08-10 10:49:54 +09:00
Nathan Froyd 5330c39ccd Bug 1293315 - remove RUSTFLAGS and friends from the build system; r=mshal
Now that we compile with cargo, we don't have fine-grained control over
the build flags used via environment variables detected in configure or
set in config.mk.  We should just remove that dead code so nobody trips
over it.
2016-08-09 18:10:19 -04:00
Glenn Randers-Pehrson 58ccfbeead Bug 1291986 - Part 02 (old-configure.in) Update embedded libpng to version 1.6.24. r=glenn 2016-08-04 20:11:00 +02:00
Karl Tomlinson 1a85ce6cf7 bug 1288702 suppress all GTK3 deprecated warnings r=glandium
Functions deprecated in GTK3 are often used for compatibility with GTK2
builds.

MozReview-Commit-ID: F220phw3wVO

--HG--
extra : rebase_source : 128e885652b184c5a7916378d9cebb067ab97eb0
2016-07-27 13:17:00 +12:00
Chris Manchester 306a1c739b Bug 1292558 - Skip sanitizer option detection when doing an artifact build. r=mshal
MozReview-Commit-ID: DjHBqK2TMQT

--HG--
extra : rebase_source : 076fb573ff37478d7c40e92f42f942987803242e
2016-08-05 10:18:49 -07:00
Wes Kocher e2fcb18843 Backed out 2 changesets (bug 1292046) for android build failures a=backout
Backed out changeset 3263785341f2 (bug 1292046)
Backed out changeset a1b9e1631661 (bug 1292046)
2016-08-04 14:22:54 -07:00
Mike Hommey 9712b25c12 Bug 1292080 - Don't set NSINSTALL_BIN from old-configure. r=gps
The only use of this variable is to override NSINSTALL, and its value is
the same as NSINSTALL_PY.

While here, remove the outdated NSINSTALL_NATIVECMD that was used for
pymake.

--HG--
extra : rebase_source : b871fbb409836a17cb8d71cd1e5ddc9d5ad3f49f
2016-08-04 17:55:54 +09:00
Mike Hommey 1cd034b955 Bug 1292066 - Move GNU make detection to python configure. r=chmanchester
Nothing is using MAKE in old-configure, and it was not AC_SUBST'ed, so
we don't need to set it when it's not set in the environment already.

--HG--
extra : rebase_source : 9a525517808db87add72989ab9f43a135c0cc776
2016-08-04 17:27:05 +09:00
Mike Hommey 6df9c96b3e Bug 1292059 - Remove now useless compiler checks in compiler-opts.m4. r=chmanchester
Since bug 1259382, CC and CXX are always set, so we can stop
falling back to cl on Windows, and clang on OSX in compiler-opts.m4.

Also, we were actively rejecting GCC on OSX because it was based on
GCC 4.2 and known to be broken, but that test predates our requirement
for more recent versions of GCC, which would fail configure anyways.
So just remove that GCC test. Building with a modern GCC from macports
or wherever might actually work anyways.

Finally, remove target bit-width mismatch with the compiler as it's
handled in python configure since bug 1288313.

--HG--
extra : rebase_source : 9968028cc4e9c197b72136037a7298be10cc139a
2016-08-04 17:11:52 +09:00
Mike Hommey 94fe17e0c2 Bug 1292046 - Add a check that the compiler works with -c out of the box. r=chmanchester
The base compiler check in python configure does some preprocessing,
which ensures the compiler works to some extent. Autoconf used to have
a more complete test, doing a compile/link. We do have plenty of tests
afterwards that do that anyways, but it's better if we fail early if
the toolchain fails somehow.

This refactors try_compile such that the *_compiler variable themselves
can be used to trigger compiler tests. Eventually, we'll want something
similar for preprocessing and possibly other invocations.

This also removes similar tests from build/autoconf/toolchain.m4 and
old-configure.in.

--HG--
extra : rebase_source : 4f6f84e5ad220386e9edf82d19cc2cd6c1f4c43e
2016-08-04 15:51:47 +09:00
Alexandre Lissy 0af5b943b6 Bug 1284674 - Remove NUWA r=cyu
MozReview-Commit-ID: GyMRNzOBKw6

--HG--
extra : rebase_source : 293af1cd55f2035ce6a99f4ebf144059c32a2b8f
2016-08-02 14:54:00 +02:00
Carsten "Tomcat" Book 57bfee62b0 merge fx-team to mozilla-central a=merge 2016-08-03 17:01:16 +02:00
Frank-Rainer Grahl 511f09f505 Bug 1290756 - Remove Help Viewer from Toolkit. r=gps 2016-07-31 14:08:00 +02:00
Nathan Hakkakzadeh cd4636a6e4 Bug 1290044 - Moved NSIS configure to Python. r=glandium
MozReview-Commit-ID: 6JFR5K1XDBr

--HG--
extra : rebase_source : 7125dfaf1b3be9e9044540238bd15ec518398607
2016-07-28 17:39:24 -07:00
Carsten "Tomcat" Book fc8e03f0d8 Merge mozilla-central to autoland 2016-07-30 16:49:41 +02:00
Mike Hommey 13846510e3 Bug 1290045 - Pass JS_STANDALONE as a configure argument, instead of an environment variable. r=chmanchester
Python configure "environment variables" can be passed as actual
environment variables, but can also be passed as command line arguments
(unless they also make it to old-configure, which doesn't support that).

Passing empty environment variables is broken in msys2/cygwin: the
subprocess doesn't see the environment variable being set, so it can't
tell the difference between "not set" and "set to nothing", which has a
different meaning for python configure environment variables.

Currently, JS_STANDALONE is passed this way. Passing it as a command
line argument makes it properly passed down to the subconfigure.

--HG--
extra : rebase_source : d4ebaf9d626902166c3861ee9d6141255658194f
2016-07-29 22:14:33 +09:00
Eugen Sawin a90cb717a5 Bug 1272693 - [1.1] Disable building libpkix. r=keeler,ted 2016-07-29 15:25:07 +02:00
Carsten "Tomcat" Book 73a62f5c90 Backed out changeset dd66dc5f5603 (bug 1272693) for bustage
--HG--
extra : rebase_source : cc915fd36fbd5119335a591382b81e9f84c78229
2016-07-29 13:27:30 +02:00
Eugen Sawin 164a43e6c7 Bug 1272693 - [1.1] Disable building libpkix. r=keeler,ted 2016-07-29 12:42:56 +02:00
Carsten "Tomcat" Book 7293066753 merge mozilla-inbound to mozilla-central a=merge 2016-07-27 16:35:44 +02:00
Mike Hommey 1f9624559e Bug 1289294 - Move MT detection to python configure. r=chmanchester
--HG--
extra : rebase_source : c84ade9a0db9aca2f2e64b8a3424fe14dd19a924
2016-07-26 15:15:08 +09:00
Mike Hommey 8398056155 Bug 1289291 - Move Windows SDK detection to python configure. r=chmanchester
At the same time, autodetect the SDK if WINDOWSSDKDIR is not given.

--HG--
extra : rebase_source : 4ee98e2105b607bab5050127f23354e9b291a246
2016-07-22 19:10:04 +09:00
Mike Hommey 1b9c70450b Bug 1289289 - Move --with-windows-version to python configure. r=chmanchester
Also, don't set the MOZ_WINSDK_TARGETVER define anymore, as it's unused.

--HG--
extra : rebase_source : a6aa1458985d6c158abdc7cd7926b73990f4df2a
2016-07-22 17:08:53 +09:00
Mike Hommey 4fdd5ca717 Bug 1289248 - Stop using MOZ_WINSDK_MAXVER outside configure. r=blassey,cpearce
Its value was only used in a couple C++ files, and a corresponding value
can be gotten directly from including winsdkver.h.

--HG--
extra : rebase_source : 618f1eb2ee0243a6c1c652ccce45b2aeba959edf
2016-07-22 18:52:13 +09:00
Nick Alexander c6f2ef4d51 Bug 1268944 - Remove GeckoView packaging. r=chmanchester
The best kind of patch: bulk deletion.  This removes two separate but
similar build flags, and an unsupported integration piece.  The first
packaged Fennec's resources into an ill-defined GeckoView archive; the
second built on the first to produce an Android ARchive for external
consumption.  Neither of these artifacts are supported or have
consumers; in fact, they mislead potential consumers, since they're
known to be broken.  The Gradle build work under the --with-gradle
flag, and significant follow-up, is the path forward if Mozilla wants
to invest in packaging GeckoView on Android for external consumption.
That is, rather than hacking together AAR files, we'll use the
well-supported Gradle mechanisms for building and publishing such
libraries.

MozReview-Commit-ID: 4Z1jJ8z0cyJ

--HG--
extra : rebase_source : b8e65f39c286313fe8963bf3832d9b6977ef188f
2016-07-25 11:54:03 -07:00
Jan Beich c8eb72460d Bug 1288984 - Copy X11 include flags for more BSDs. r=glandium
MozReview-Commit-ID: 8Nr3hehjp2v

--HG--
extra : transplant_source : %9E%EB%A4%3E%F9%90t%F6o%AA%A9%BB%40%B6J%0Ai%B8%E4%1A
2016-07-25 00:30:00 +00:00
Mike Hommey 02e5baaf74 Bug 1289246 - Do not hardcode mt.exe as the Manifest Tool. r=chmanchester
Configure uses the value of the MT environment variable before falling back
to mt(.exe), but the build system was completely ignoring the MT
environment variable.

--HG--
extra : rebase_source : 8c9b43aeb08493ae5bd6d6361f4f18f097ea0553
2016-07-22 15:56:26 +09:00
Jed Davis a713ce246b Bug 1287971 - Disable sandboxing in Linux ASan builds. r=jhector
ASan itself can be accomodated under sandboxing, but LSan can't. Also fixes bug 1287437.
2016-07-22 08:50:00 -04:00
Bob Owen 0c976cb1cb Bug 1246505: Let the Windows low integrity content process sandbox ride the trains. r=jimm 2016-07-21 06:39:25 +01:00
Xidorn Quan 3e496bc40a Bug 1286089 - Ensure servo can be linked properly for different compilers. r=glandium
MozReview-Commit-ID: 71NofEtZx6B

--HG--
extra : rebase_source : 2b975352c1271d58185f40607ef0baac22dcc219
2016-07-13 09:01:25 +10:00
Xidorn Quan 17ee95ed83 Bug 1284406 part 1 - Move warning suppression of C4577 to global level. r=glandium
MozReview-Commit-ID: 66TD5A3L73D

--HG--
extra : source : e35f507952ccb081e77d5ba78c1b0d2ed566ac73
2016-07-20 15:00:13 +10:00
Jan Beich cdea3dbebf Bug 1287325 - Prevent AC_CHECK_LIB from polluting LIBS after bug 1286649. r=glandium
MozReview-Commit-ID: 2lvje6y30Ge

--HG--
extra : transplant_source : %08%AFs%09%B1%9B%10%17M%3FD%1C%F6%22%1F%21%B5W%8F%C8
2016-07-17 14:10:56 +00:00
Chris Manchester 84564f1ce1 Bug 1269517 - Move various header checks to Python configure. r=glandium
MozReview-Commit-ID: CLn3PQUh4gG
2016-07-26 15:27:19 -07:00
Chris Manchester 35d8261b9c Bug 1269517 - Remove header checks from old-configure that are no longer needed. r=glandium
This patch removes the checks for compat.h, sys/bittypes.h, gnu/libc-version.h,
X11/XKBlib.h, sys/sysmacros.h, and sys/cdefs.h from old-configure, because they
are not checked meaningfully in the tree.

The check for memory.h is removed, because while there are checks for
HAVE_MEMORY_H in the tree, they are in places this is set by a third party
build system.

The check for io.h is also removed, because while there are checks for
HAVE_IO_H, they're only relevant on windows, where this is set manually in
old-configure.

MozReview-Commit-ID: MOI50CP00k
2016-07-26 15:27:19 -07:00
Steve Fink 3765bea320 Bug 1280637 - Make --enable-thread-sanitizer & friends do more work, r=glandium
MozReview-Commit-ID: KinAe8zLivJ

--HG--
extra : rebase_source : 8ce1b58222a034f2d6ec45f28aabb3a543bc84c7
2016-07-12 17:30:23 -07:00
Nathan Hakkakzadeh a0ff39704a Bug 1100925 - Changed old-configure.in to detect mingw32-make as a priority. r=gps
This is what we want on msys2 installations, since it is compliant and
installable with the package manager.

MozReview-Commit-ID: ARMcpJmbk2
***
Bug 1100925 - Have JS subconfigure recognize mingw32-make as a valid GMAKE. r?gps

MozReview-Commit-ID: Gg8FcgW7BHM

--HG--
extra : rebase_source : 5bd779812e52b8ce29ca078b41e2c12e1950de09
2016-06-23 13:58:14 -07:00
Andrew Comminos 7d69ebf641 Bug 1286649 - Replace X11 SHM dependencies with XCB. r=glandium
MozReview-Commit-ID: Ii74rWquYhb

--HG--
extra : rebase_source : 3d5ba8333e6598d4940958920ea3271ad78c6785
2016-07-13 16:28:07 -04:00
Wes Kocher 85c761efaa Merge m-c to autoland, a=merge 2016-07-13 14:12:44 -07:00
Nicholas Nethercote a913f99107 Bug 1285554 - Remove remnants of widget/qt. r=dougt,mshal.
Because bug 1282866 removed Qt support but missed a bunch of things.
* * *
Bug 1285554 - more

--HG--
extra : rebase_source : c48d2485f1fdf1c961e08d91651bbca41e3a1a53
2016-07-12 09:16:45 +10:00
Thomas Zimmermann 7065b7cb62 Bug 1280600: Cleanup Android linker flags and libraries, r=glandium
Android and b2g have duplicated linker flags and libraries. This patch
removes the duplicates from b2g scripts. The library 'log' is now listed
in the correct variable 'LIBS'.

MozReview-Commit-ID: EtVzZpoXkdK
2016-07-11 15:16:56 +02:00
Thomas Zimmermann 5f90520d21 Bug 1280600: Cleanup Android-version variables in configure scripts, r=glandium
Not all Android releases come with their own platform release. This patch adds
a switch statement to MOZ_ANDROID_NDK to use the previous platform release in
this case.

For several tests, the autoconf script 'old-configure.in' uses an internal
variable 'ANDROID_VERSION'. The stored value comes from the environment
variable 'PLATFORM_SDK_VERSION'. This patch replaces 'ANDROID_VERSION' by
'android_version', which is defined by MOZ_ANDROID_NDK from a command-line
parameter.

MozReview-Commit-ID: EbDgZX2aJgJ
2016-07-11 15:16:56 +02:00
Thomas Zimmermann 4ebf94d153 Bug 1280600: Replace 'GONK_INCLUDES' with 'CPPFLAGS', r=glandium
Configure's 'GONK_INCLUDES' is just 'CPPFLAGS' with a different name. Use
'CPPFLAGS' instead.

MozReview-Commit-ID: 8qi99rhHQbo
2016-07-11 15:16:56 +02:00
Thomas Zimmermann fdc8c51edd Bug 1280600: Remove mDNS include search paths from configure script, r=glandium
Necko's build scripts already handle include search paths for mDNS
libraries on b2g. This patch removes similar code from the configure
script.

MozReview-Commit-ID: DXMeZmi4weK
2016-07-11 15:16:56 +02:00
Thomas Zimmermann a8ff73abe9 Bug 1280600: Cleanup Bluetooth config and build scripts, r=glandium
Bluetooth availability depends on available driver; not the base system's
version. This patch separates both. Following other modules, it also moves
search-path setup for BT header files into the affected moz.build scripts.

MozReview-Commit-ID: 2hzjcJVTaLY
2016-07-11 15:16:56 +02:00
Fabrice Desré 2d7ccfe630 Bug 1286190 - Get rid of MOZ_CHILD_PERMISSIONS r=bz
MozReview-Commit-ID: Lx2kozynptu

--HG--
extra : rebase_source : 3f7b9004cd26675dbab6a1909a4b5135d753fd04
2016-04-05 13:34:53 +02:00
Alexandre Lissy ee77e301dd Bug 1285170 - Remove app:// protocol r=valentin
MozReview-Commit-ID: 4cnLrqqyP35

--HG--
extra : rebase_source : 424b63df547308033fc960632c5ef5939e3d8d85
2016-03-16 17:11:12 +01:00
Benjamin Smedberg bf05496a83 Bug 1282866 - remove widget/qt and other supporting QT code, r=dougt. This patch does not remove all of the checks for MOZ_WIDGET_QT (which are dead code), but that will be a followup mentored bug.
MozReview-Commit-ID: EGqHHhCD7vD

--HG--
extra : rebase_source : a4b9593959dd3ba80189db47eabb056ea207490f
extra : amend_source : a744d833693f0fe7adbea961c00bb5fb55a91580
2016-07-07 12:14:25 -04:00
Gregory Szorc f21ec324a6 Merge mozilla-central to mozilla-inbound 2016-07-06 18:30:58 -07:00
Gregory Szorc 5030a743a1 Bug 1186064 - Require Visual Studio 2015 Update 2; r=glandium
Per froydnj in bug 1186064 comment #23, "it makes sense to proceed with removing
MSVC 2013 support." This commit does that.

We also go a step further and require VS2015 Update 2 instead of just
update 1. This temporarily brings us down to just 1 officially supported
Visual Studio version. However, VS2015u3 was just released and is
unofficially supported.

Since MOZ_CRT is no longer set, references to it have been removed.

MozReview-Commit-ID: 8MUR6qLzQA5

--HG--
extra : rebase_source : 8f5061080a3d56dd484f9be03649fb65f0145f67
2016-07-06 09:01:38 -07:00
Wes Kocher a425a052c1 Backed out changeset d7f98208809f (bug 1186064) for breaking SM(pkg) jobs a=backout 2016-07-06 10:11:04 -07:00
Gregory Szorc 6e4d0edfbc Bug 1186064 - Require Visual Studio 2015 Update 2; r=glandium
Per froydnj in bug 1186064 comment #23, "it makes sense to proceed with removing
MSVC 2013 support." This commit does that.

We also go a step further and require VS2015 Update 2 instead of just
update 1. This temporarily brings us down to just 1 officially supported
Visual Studio version. However, VS2015u3 was just released and is
unofficially supported.

Since MOZ_CRT is no longer set, references to it have been removed.

MozReview-Commit-ID: 8MUR6qLzQA5

--HG--
extra : rebase_source : 22ab4f47661ead4995d0c5261104abfb02b82aa2
2016-07-06 09:01:38 -07:00
Julian Hector 1a3fddd5ae Bug 742434 - Part 3: Enable seccomp on Linux desktop nightly. r=jld
MozReview-Commit-ID: 3NkCKJNUE4g

--HG--
extra : rebase_source : 57118f883542a03b4e03c693b4447a746a44c844
2016-06-16 12:40:32 +02:00
Carsten "Tomcat" Book 8d25d74c3b Backed out changeset 7a504a73b6f2 (bug 742434) 2016-07-05 12:25:40 +02:00
Julian Hector 8998df6925 Bug 742434 - Part 3: Enable seccomp on Linux desktop nightly. r=jld
MozReview-Commit-ID: 93lRNc70NoC
2016-06-16 12:40:32 +02:00
Fabrice Desré f3a986a379 Bug 1284455 - Remove the Web Activities API r=me
MozReview-Commit-ID: 5SNGsRU4m9V

--HG--
extra : rebase_source : ccc6860481faa17b4b52571ae4fa6d9f2fc749de
2016-04-20 19:02:44 +02:00
Ted Mielczarek a0708eaf80 bug 1283595 - remove configure checks for rust supporting OS X 10.6. r=glandium
MozReview-Commit-ID: EKUtm5EtYzd

--HG--
extra : rebase_source : ba69d48285e61838c6baf4c20db72796202b14d7
extra : amend_source : 92cd04a0da91fa95d6428dc45c5f82355261baf9
2016-06-30 15:46:06 -04:00
Tim Taubert 4b5f869ce3 Bug 1283376 - Land NSS_3_26_BETA1 r=franziskus 2016-06-30 08:42:30 +02:00
Gian-Carlo Pascutto 0a5cac2ffc Backed out 2 changesets (bug 742434)
Backed out changeset 4e0e2373e234 (bug 742434)
Backed out changeset 66a937c6ca0e (bug 742434)

MozReview-Commit-ID: 8Chchv4HUL

--HG--
extra : rebase_source : 78f35317a643a48c3f45ec34d88fe321d71d04d1
2016-07-04 18:00:53 +02:00
Julian Hector 4dc3bfd165 Bug 742434 - Part 2: Enable seccomp on Linux desktop nightly. r=jld
MozReview-Commit-ID: 24tlV3vAXgJ
2016-06-16 12:40:32 +02:00
Ted Mielczarek 82d77574ff bug 1266368 - move rust.m4 to configure. r=glandium
MozReview-Commit-ID: 9ol2nMYM0a0

--HG--
extra : rebase_source : 3f3feeac941791d081e09ebb096a3e052540a52c
2016-05-16 15:27:37 -04:00
Makoto Kato 0949d1c7d0 Bug 1220525 - Add -Zc:inline for MSVC build. r=ted
-Zc:inliune introduces VS2013 update 2 to reduce build time.

https://blogs.msdn.microsoft.com/vcblog/2014/11/12/speeding-up-the-incremental-developer-build-scenario/

On my workstation (i7-3770, 4 cores 8 threads), the build time by clean build (--enable-optimize and --disable-debug) is the following.

With    -Zc:inline ... 39m44s
Without -Zc:inlune ... 43m52s

So we should use this option to improve build time.

MozReview-Commit-ID: GHUdgXBBYei

--HG--
extra : rebase_source : 7972e50b188681a09e087a00f023fe5202271ba2
extra : histedit_source : 16f33b48e688ca6f275d8105438abd2b450b4aa7
2016-06-07 19:55:26 +09:00
Glenn Randers-Pehrson 2865e20c8e Bug 1275901 - Update in-tree libpng to version 1.6.23 (part 2, old-configure.in). r=seth 2016-06-09 12:12:00 -04:00
Chris Manchester 93ef406a76 Bug 1279369 - Move --enable-debug, MOZ_DEBUG_FLAGS, and --enable-debug-symbols to Python configure. r=glandium
Setting MOZ_DEBUG_SYMBOLS as a define was not moved, as this value is not
checked, and exporting MOZ_DEBUG_SYMBOLS was not moved, as this would only
impact nspr, and we're no longer using the nspr build system.

MozReview-Commit-ID: EvBTunhxcsr
2016-06-20 16:02:01 -07:00
Chris Manchester d4291f218b Bug 1278700 - Skip checks and build steps causing artifact builds to fail in automation. r=mshal
MozReview-Commit-ID: 6r1qiFC96hz
2016-06-17 00:58:36 -07:00
Thomas Zimmermann 5d152949dc Bug 1276927: Build B2G with Android build scripts where possible, r=glandium
This patch adds support for configuring Gonk/B2G with Android-specific
build scripts. This removes duplicated code and simplifies maintenance
of B2G.

The B2G builds will now use libc++ for Gecko; instead of the obsolete
STLport. A side-effect of this patch is the removal of any compile-time
dependency on B2G's bionic library.

MozReview-Commit-ID: 7V6BmC7jlrs
2016-06-16 08:43:51 +01:00
Sebastian Hengst d41fba2a76 Backed out changeset f6f4144c4dbc (bug 1276927) 2016-06-15 12:23:48 +02:00
Thomas Zimmermann c63293b2ca Bug 1276927: Build B2G with Android build scripts where possible, r=glandium
This patch adds support for configuring Gonk/B2G with Android-specific
build scripts. This removes duplicated code and simplifies maintenance
of B2G.

The B2G builds will now use libc++ for Gecko; instead of the obsolete
STLport. A side-effect of this patch is the removal of any compile-time
dependency on B2G's bionic library.

MozReview-Commit-ID: 7V6BmC7jlrs
2016-06-15 10:59:49 +01:00
Kai Engert 1d778bfaee Bug 1277255, bump configure to require NSS 3.25, r=franziskus 2016-06-13 17:31:47 +02:00
Chris Manchester 20da05d2ba Bug 1278959 - Move MOZ_ANDROID_PACKAGE_INSTALL_BOUNCER to Python configure and make it settable by mozconfig. r=glandium
MozReview-Commit-ID: Hoo4vaIrRHq
2016-06-09 11:37:40 -07:00
Makoto Kato 62b8fa4250 Bug 1271886 - Move netapi32 to delay load DLLs. r=ted
netapi32's API isn't used at startup and browsing page.  So netapi32 should move to delay load DLLs.

MozReview-Commit-ID: 1g25lnuwbfY

--HG--
extra : rebase_source : 7893ff80d10d3f0fd25aabe5c5fbaebe167e89fe
2016-05-11 20:05:25 +09:00
Christoph Diehl 053c555889 Bug 777067 - "Fuzzing: IPC Protocol Definition Language (IPDL) Protocols". r=wmccloskey
--HG--
extra : rebase_source : f256b70d6f81f82339e52ab4f6bc2d9b4b751c08
2016-05-30 16:33:00 +02:00
Carsten "Tomcat" Book 24d44c69a3 Backed out changeset f3446f35deed (bug 1277483) for Windows 8 x64 opt Build bustage on a CLOSED TREE 2016-06-07 11:46:51 +02:00
Ms2ger 38579768d4 Bug 1277483 - Move --enable-strip and --enable-install-strip to moz.configure; r=glandium 2016-06-03 11:11:40 +02:00
Makoto Kato daf9534a3e Bug 1262052 - Remove unnecessary -mandroid parameter. r=glandium
When target is Android, -mandroid is default parameter from gcc 4.6  So we don't need add this options.

Also clang doesn't support this argument.

MozReview-Commit-ID: AuA3Y9vlgWE

--HG--
extra : rebase_source : c1866f56f131e666cc321d21fda1317532d46101
2016-06-07 16:07:39 +09:00
Michelangelo De Simone b094f2be2a Bug 1278410 - The Geolocation fuzzing implementation has been removed. r=dougt
MozReview-Commit-ID: 6x4Z4IayvCt

--HG--
extra : transplant_source : M%E0%3E%12%84%D7%0DQBT%91%08%7B%D7%8D%7Cyfc%9B
2016-06-06 15:50:12 -07:00
Makoto Kato dcd9507126 Bug 1277498 - Remove MC (message compiler) define from old-configure.in. r=mshal
By bug 1270621, ETW support is removed.  So no one uses messege compiler.

MozReview-Commit-ID: HGUAkrb208N

--HG--
extra : rebase_source : 5178283b781e4805b4e97f09b35a4150119d060a
extra : histedit_source : 40d6992894315b51863db4e7697df1c1ef18edd8
2016-06-06 13:36:51 +09:00
Carsten "Tomcat" Book fa71bef543 merge mozilla-inbound to mozilla-central a=merge 2016-05-31 11:59:45 +02:00
Ryan VanderMeulen a44b813b89 Bug 1273909 - Upgrade to SQLite 3.13.0. r=mak
--HG--
extra : rebase_source : 8324ba629ae2573741a3153d2251160ccf49b8f1
2016-05-27 08:49:13 -04:00
Sebastian Kaspari 8a40b11133 Bug 1247047 - Update build tools to 23.0.3 and Google Play Services to 8.4.0. r=ahunt
MozReview-Commit-ID: 3KZfrc4SL2D

--HG--
extra : rebase_source : bb9844047b01909ac5e9972db844732042389635
2016-05-23 17:46:06 +02:00
Chris Manchester 44e4ff1fb6 Bug 1275721 - Remove --enable-android-resource-constrained. r=mshal
MozReview-Commit-ID: DqL0KCkbj9r

--HG--
extra : rebase_source : 18ed93ef68ecdfbd85fb4c13c39283932c38290c
2016-05-26 11:13:58 -07:00
Nathan Froyd 6d59286af6 Bug 1246743 - use libc++ on OS X builds; r=glandium 2016-05-26 21:09:30 -04:00
Stephen A Pohl b1f4c6df2a Bug 394984: Enable any admin user on OSX to update Firefox, build config changes. r=mshal 2016-05-24 22:25:23 -04:00
Chris Manchester 198331aa58 Bug 1272530 - Move --disable-tests to Python configure. r=glandium
MozReview-Commit-ID: 5NOMzTInZ1Z
2016-05-24 16:02:54 -07:00
Jan Beich 879404a6dd Bug 1269251 - Enable STL wrappers on Android and Windows/MinGW. r=glandium f=froydnj f=gk@torproject
--HG--
extra : rebase_source : 114764a994c10c62cf575a7884361ab333737e99
2016-05-17 20:27:00 +02:00
Nick Alexander 3eed392f10 Bug 1274956 - Pre: Make it easier to test Adjust locally. r=mcomella
This does a few things.  First, it makes non-official builds use the
Adjust sandbox.  Second, I observe that the fake sandbox key no longer
sends anything, so it's no longer valuable; this patch instead
requires an Adjust token if install tracking is enabled, since we
can't provide a default any more.  Third, it removes a spurious
default in configure.in; without this default, builders can easily
enable Adjust locally using the following in their mozconfig:

ac_add_options --with-adjust-sdk-keyfile=/path/to/adjust-sdk.keyfile
export MOZ_INSTALL_TRACKING=1

With the default, the "export" had no impact, because it was
overwritten immediately.

MozReview-Commit-ID: Cn62fmrgwJL

--HG--
extra : rebase_source : 3b817c815043e0339e65125f6d6963ddd3f4570e
2016-05-23 13:42:09 +02:00
Ralph Giles 2f56730be1 Bug 1273603 - rust: enable sse2 code generation on win32. r=mshal
Now that we're no longer supporting x86 cpus without SSE2
instructions, we can relax this restriction added in
bug 1252041.

MozReview-Commit-ID: 3Is0M3Em4Wx
2016-05-19 10:45:46 -07:00
Phil Ringnalda 0abb0a4c79 Back out 66aec66b11b4 (bug 1246743) for frequent e10s 10.10 mochitest-media crashes
CLOSED TREE
2016-05-18 21:31:38 -07:00
Sebastian Hengst f899c15099 Backed out changeset 8e163192093d (bug 1273603) just in case. r=backout,rillian on irc. CLOSED TREE 2016-05-18 20:23:56 +02:00
Ralph Giles 0946db2658 Bug 1271794 - Use SSE2 instructions on win32. r=glandium
We've decided supporting the small number of x86 machines
without SSE2 instructions is no longer worth the cost in
developer time nor the performance impact for other users.

https://groups.google.com/d/msg/mozilla.dev.platform/dZC39mj5V-s/Xt_UqZXkAAAJ

Set -arch:SSE2 by default on x86 if an arch hasn't already
been supplied. This ensures we'll continue to build with
the right instruction set if the compiler changes its default
in the future, while still allowing custom builds to set
a lower minimum.

Also updates the filter to strip all arch switches on win64
when building the sandbox. The 64-bit compiler doesn't
support -arch:SSE2 either.

MozReview-Commit-ID: JzTRGPn9vzI
2016-05-18 11:06:30 -07:00
Nathan Froyd fc77185702 Bug 1246743 - use libc++ on OS X builds; r=glandium 2016-05-18 22:01:53 -04:00
Ralph Giles 0ca49ac79e Bug 1273603 - rust: enable sse2 code generation on win32. r=mshal
Now that we're no longer supporting x86 cpus without SSE2
instructions, we can relax this restriction added in
bug 1252041.

MozReview-Commit-ID: 3Is0M3Em4Wx
2016-05-18 10:59:01 -07:00
Phil Ringnalda 2657cac015 Backed out 3 changesets (bug 1271794, bug 1271829) on suspicion of making Windows builds less likely to... build
CLOSED TREE

Backed out changeset d0ab0d508a24 (bug 1271829)
Backed out changeset 9f4983dfd881 (bug 1271829)
Backed out changeset 28b45df659b7 (bug 1271794)
2016-05-18 00:04:29 -04:00
Chris Manchester 0676d58107 Bug 1272535 - Move MOZ_UPDATE_CHANNEL to Python configure. r=glandium
MozReview-Commit-ID: 2NuZZX1hoEP
2016-05-17 14:40:03 -07:00
Chris Manchester 657b64c828 Bug 1272714 - Move MOZ_ANDROID_HISTORY to Python configure. r=glandium
MozReview-Commit-ID: BRhGpAtEHxp
2016-05-17 14:40:03 -07:00
Chris Manchester 3456d9c06d Bug 1269513 - Move --with-system-hunspell to Python configure. r=glandium
MozReview-Commit-ID: ERnnsr1hnpu
2016-05-17 14:40:03 -07:00
Ralph Giles 90a00904df Bug 1271794 - Use SSE2 instructions on win32. r=glandium
We've decided supporting the small number of x86 machines
without SSE2 instructions is no longer worth the cost in
developer time nor the performance impact for other users.

https://groups.google.com/d/msg/mozilla.dev.platform/dZC39mj5V-s/Xt_UqZXkAAAJ

Set -arch:SSE2 by default on x86 if an arch hasn't already
been supplied. This ensures we'll continue to build with
the right instruction set if the compiler changes its default
in the future, while still allowing custom builds to set
a lower minimum.

Also updates the filter to strip all arch switches on win64
when building the sandbox. The 64-bit compiler doesn't
support -arch:SSE2 either.

MozReview-Commit-ID: JzTRGPn9vzI
2016-05-17 11:35:51 -07:00
Mike Shal dbfbbfe42c Bug 1272483 - Remove MOZ_UPDATE_PACKAGING and --enable-update-packaging; r=chmanchester
MozReview-Commit-ID: A3SDJCc5eHH

--HG--
extra : rebase_source : af8d081c349b27ac0e2567b0f5863fbbeb7f98ce
2016-05-12 12:15:58 -04:00
Jeff Muizelaar 8c44a11e88 Bug 1272358. Add support for SSSE3 flags to configure. r=glandium
Adds a SSSE3_FLAGS variable that we can use for building source that
requires SSSE3
2016-05-13 10:15:42 -04:00
Chris Manchester 4e676b62e1 Bug 1257326 - Move MOZ_SERVICES_CLOUDSYNC to Python configure. r=glandium
MozReview-Commit-ID: J9dfCKeZAzy
2016-05-12 11:56:00 -07:00
Chris Manchester 6cb2abce23 Bug 1257326 - Move MOZ_SERVICES_SYNC to Python configure. r=glandium
MozReview-Commit-ID: DCDoSgHfwVY
2016-05-12 11:55:59 -07:00
Chris Manchester a7cfc175b0 Bug 1257326 - Remove MOZ_SERVICES_NOTIFICATIONS. r=glandium
It is never set by default, and only triggers installation of a prefs file
that no longer exists if it is set.

MozReview-Commit-ID: 8OQXRCmpsIT
2016-05-12 11:55:59 -07:00
Chris Manchester 037e519e68 Bug 1257326 - Move MOZ_SERVICES_HEALTHREPORT to Python configure. r=glandium
MozReview-Commit-ID: Ku585Pydqxb
2016-05-12 11:55:59 -07:00
Chris Manchester f312def06d Bug 1257326 - Remove MOZ_SERVICES_CRYPTO. It is usually set, but never checked. r=glandium
MozReview-Commit-ID: 1T182VH9sRd
2016-05-12 11:55:59 -07:00
Chris Manchester 0ff187a73d Bug 1257326 - Remove MOZ_SERVICES_COMMON. It is usually set, but never checked. r=glandium
MozReview-Commit-ID: Km8hEYki2Rv
2016-05-12 11:55:59 -07:00
Chris Manchester 0bc9e2a6cd Bug 1257326 - Move MOZ_SOCIAL to Python configure. r=glandium
MozReview-Commit-ID: 3svSks12hTk
2016-05-12 11:55:59 -07:00
Chris Manchester 14c7425e07 Bug 1257326 - Move MOZ_PLACES to Python configure. r=glandium
MozReview-Commit-ID: 9bs9waY0XVP
2016-05-12 11:55:58 -07:00
Chris Manchester e00bb9ee54 Bug 1267454 - Move java toolchain checks to Python configure. r=glandium
MozReview-Commit-ID: KEDkmJJsaUx
2016-05-12 11:55:57 -07:00
Kim Moir 54248e8cea Bug 1186522 - force per checkin and release desktop firefox builds to require signed add-ons on beta 47 r=mshal 2016-04-27 12:46:52 -04:00
Mike Hommey e720762c60 Bug 1266620 - Move MACOSX_DEPLOYMENT_TARGET to moz.configure. r=chmanchester 2016-04-23 08:13:26 +09:00
Chris Manchester c2a2f2b51f Bug 1257958 - Move MOZ_ANDROID_APZ to Python configure. r=nalexander
MozReview-Commit-ID: EPhThmQjKXF
2016-04-22 13:01:22 -07:00
Chris Manchester 783f8c96b4 Bug 1257958 - Move MOZ_SWITCHBOARD to Python configure. r=nalexander
MozReview-Commit-ID: CRWP2JugKeA
2016-04-22 13:01:22 -07:00
Chris Manchester 04dce3d8f2 Bug 1257958 - Move MOZ_ANDROID_DOWNLOAD_CONTENT_SERVICE to Python configure. r=nalexander
MozReview-Commit-ID: 3ijJ6b7hxPf
2016-04-22 13:01:22 -07:00
Chris Manchester d3e163bb6c Bug 1257958 - Move MOZ_ANDROID_MLS_STUMBLER to Python configure. r=nalexander
MozReview-Commit-ID: IFyL9mirNyt
2016-04-22 13:01:22 -07:00
Chris Manchester e45d29aa24 Bug 1257958 - Move MOZ_ANDROID_SEARCH_ACTIVITY to Python configure. r=nalexander
MozReview-Commit-ID: blxsCpUK1m
2016-04-22 13:01:22 -07:00
Chris Manchester 1f291036d3 Bug 1257958 - Move MOZ_ANDROID_BEAM to Python configure. r=nalexander
MozReview-Commit-ID: DrJSWZwaC5d
2016-04-22 13:01:21 -07:00
Chris Manchester ca89af719c Bug 1257958 - Move MOZ_ANDROID_DOWNLOADS_INTEGRATION to Python configure. r=nalexander
MozReview-Commit-ID: Alu8Qbtm4U3
2016-04-22 13:01:21 -07:00
Chris Manchester 303634f7fa Bug 1257958 - Move MOZ_ANDROID_GCM to Python configure. r=nalexander
MozReview-Commit-ID: 90vbYKB8rHJ
2016-04-22 13:01:21 -07:00
Chris Manchester 0a92603b8c Bug 1257958 - Move MOZ_LOCALE_SWITCHER to Python configure. r=nalexander
MozReview-Commit-ID: XcUdSQgVIg
2016-04-22 13:01:21 -07:00
Chris Manchester 394425a743 Bug 1257958 - Move MOZ_ANDROID_EXCLUDE_FONTS to Python configure. r=nalexander
MozReview-Commit-ID: 1bzIu2MA9qu
2016-04-22 13:01:21 -07:00
Mike Hommey 3b7f3b9e75 Bug 1265627 - Prettify the MSVC version. r=ted 2016-04-20 07:51:55 +09:00
Mike Hommey b80757a0cb Bug 1265627 - Remove now useless version-related assignments from old-configure. r=ted
Also simplify things around some remaining compiler version checks.
2016-04-20 07:51:55 +09:00
Mike Hommey dda4822d6f Bug 1265627 - Remove the CXX_VERSION AC_SUBST. r=ted
Its only use is in buildconfig.html, and configure guarantees it's
always the same version as CC_VERSION, so just use that.
2016-04-20 07:51:55 +09:00
Mike Hommey 5192eab0d6 Bug 1265627 - Move compiler version checks to moz.configure. r=ted 2016-04-20 07:51:55 +09:00