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

1019 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 106cde5e98 Bug 1519744 - Remove MOZ_GLUE_WRAP_LDFLAGS. r=dmajor
It's been unused since NUWA was removed in bug 1284674.

Differential Revision: https://phabricator.services.mozilla.com/D16426

--HG--
extra : moz-landing-system : lando
2019-01-14 16:58:34 +00:00
Mike Hommey 7c72587da6 Bug 1519047 - Move FFVPX_ASFLAGS and related variables to python configure. r=nalexander
This also moves the corresponding ASFLAGS from moz.build to python
configure.

Differential Revision: https://phabricator.services.mozilla.com/D16320

--HG--
extra : moz-landing-system : lando
2019-01-11 18:17:36 +00:00
Mike Hommey 70f1ad55e1 Bug 1519307 - Add a new project to build useful parts of breakpad independently. r=froydnj
With `ac_add_options --enable-project=tools/crashreporter` in a
mozconfig, `./mach build` builds minidump_stackwalk, dump_syms
and fileid.

One caveat is that due to limitation in how the build system works
currently, it's cumbersome to keep dump_syms as a host program for
Gecko, and to make it a target program for this project. For now,
keep it as a host program. We're not going to use it on automation,
but it's still convenient to have for quick local builds (I've had
to resort to awful hacks downstream).

Differential Revision: https://phabricator.services.mozilla.com/D16299

--HG--
extra : moz-landing-system : lando
2019-01-11 16:01:15 +00:00
Mike Hommey 94ff361bf4 Bug 1519325 - Move D3D compiler DLL detection to python configure. r=froydnj
MOZ_D3D_CPU_SUFFIX and MOZ_HAS_WINSDK_WITH_D3D are not used in the
build, and nothing includes d3d10.h except some angle code in a
preprocessed branch that is only taken for a macro we never define,
so we don't move the code corresponding to those. We also simplify the
detection code, which is convoluted now that it doesn't search for
multiple different DLLs.

Differential Revision: https://phabricator.services.mozilla.com/D16295

--HG--
extra : moz-landing-system : lando
2019-01-11 22:21:24 +00:00
Mike Hommey 61e7f3cbe8 Bug 1519310 - Remove NSS_DISABLE_LIBPKIX. r=dmajor
It was used to disable libpkix in NSS when NSS was built with its
Makefiles, but it's now built with gyp, and this knob does nothing.
The equivalent is the gyp variable disable_libpkix, which is set in
security/moz.build.

Depends on D16285

Differential Revision: https://phabricator.services.mozilla.com/D16286

--HG--
extra : moz-landing-system : lando
2019-01-11 13:13:14 +00:00
Mike Hommey 7e8c88a920 Bug 1519310 - Remove direct_nspr_config-related code from old-configure. r=dmajor
This was useful when old-configure was calling nspr configure, but now
is noop.

Differential Revision: https://phabricator.services.mozilla.com/D16285

--HG--
extra : moz-landing-system : lando
2019-01-11 13:11:57 +00:00
Mike Hommey f47fd953a2 Bug 1519281 - Remove leftovers from bug 1490765. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D16269

--HG--
extra : moz-landing-system : lando
2019-01-11 05:02:07 +00:00
Mike Hommey d5fbdc4b28 Bug 1519030 - Move libav-fft configuration to python configure. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D16157

--HG--
extra : moz-landing-system : lando
2019-01-10 22:00:41 +00:00
Tom Ritter d1481c6b1d Bug 1460620 - Have MinGW look for d3dcompiler_47.dll (so it will be packaged) r=froydnj
--HG--
extra : amend_source : b9979cc3b72aa5f962342b150c525867eba82654
2019-01-08 15:16:39 -06:00
Mike Hommey 0e386d3190 Bug 1517419 - Pass AR down to js configure. r=froydnj
This is a followup for bug 1515595.

Differential Revision: https://phabricator.services.mozilla.com/D15906

--HG--
extra : moz-landing-system : lando
2019-01-08 16:10:06 +00:00
Jeff Muizelaar cd45a0430c Bug 1517077. Remove Cairo D2D backend. r=lsalzman
We don't use this anymore. Let's get rid of it.

Differential Revision: https://phabricator.services.mozilla.com/D15557
2019-01-01 21:55:39 -05:00
Coroiu Cristina 52c4a6e3ad Merge inbound to mozilla-central a=merge 2018-12-22 06:12:53 +02:00
Ryan VanderMeulen ca70b13b06 Backed out changeset 7408e4b312e9 (bug 1514683) because it's not the correct way to enable SQLITE_DBCONFIG_DEFENSIVE. 2018-12-21 20:44:51 -05:00
Mike Hommey c683c549a5 Bug 1515852 - Move --with-system-jpeg to python configure. r=froydnj
We remove --disable-libjpeg-turbo because that's only useful when Yasm
is too old, and the required version is now almost 8 years old, so we
can reasonably require people to upgrade rather than workaround with a
--disable option.

The valid_yasm_version function can seem overkill, but that's because
future moves of other things to python configure will pile up.

Differential Revision: https://phabricator.services.mozilla.com/D15184

--HG--
extra : moz-landing-system : lando
2018-12-21 15:47:22 +00:00
Mike Hommey fd4343007c Bug 1515595 - Move AR to python configure. r=froydnj
Depends on D15179

Differential Revision: https://phabricator.services.mozilla.com/D15180

--HG--
extra : moz-landing-system : lando
2018-12-21 22:53:53 +00:00
Mike Hommey 50c2083bc4 Bug 1515595 - Remove AR_EXTRACT. r=froydnj
This hasn't been used since bug 1429875.

Differential Revision: https://phabricator.services.mozilla.com/D15179

--HG--
extra : moz-landing-system : lando
2018-12-21 15:54:14 +00:00
Mike Hommey eb8e6cb9c3 Bug 1515843 - Remove HOST_AR/HOST_RANLIB. r=ted
Now that we're not even building host static libraries, we don't need
variables for the tools used to build them.

Ironically, we weren't even running HOST_RANLIB.

Depends on D15172

Differential Revision: https://phabricator.services.mozilla.com/D15173

--HG--
extra : moz-landing-system : lando
2018-12-21 23:00:17 +00:00
Margareta Eliza Balazs 413dd3a1fa Merge inbound to mozilla-central. a=merge 2018-12-21 11:37:24 +02:00
Narcis Beleuzu fa87e17c27 Backed out 2 changesets (bug 1485016, bug 1512921) as requested by tjr.
Backed out changeset 61ae84746b34 (bug 1485016)
Backed out changeset 585f7d2135ee (bug 1512921)
2018-12-21 05:59:24 +02:00
Mike Hommey 6e8b8a5fad Bug 1515581 - Move RC and WINDRES to python configure. r=nalexander
Remove the version check for WINDRES, because, as per bug 454112, it
didn't actually work, and, making it work actually causes problems
because llvm's windres, used with mingw clang, has version 0.1.

Differential Revision: https://phabricator.services.mozilla.com/D15070

--HG--
extra : moz-landing-system : lando
2018-12-20 22:25:24 +00:00
Mike Hommey d402239dae Bug 1515257 - Move --with-system-libvpx to python configure. r=firefox-build-system-reviewers,ted
Depends on D14951

Differential Revision: https://phabricator.services.mozilla.com/D14952

--HG--
extra : moz-landing-system : lando
2018-12-19 11:39:08 +00:00
Mike Hommey 1467f34ce5 Bug 1515257 - Remove VPX_AS_CONVERSION. r=firefox-build-system-reviewers,ted
There's only really one place where it's used, and we can "inline" it
there.

Depends on D14947

Differential Revision: https://phabricator.services.mozilla.com/D14948

--HG--
extra : moz-landing-system : lando
2018-12-19 22:39:27 +00:00
Mike Hommey a846159c7f Bug 1515257 - Remove VPX_ARM_ASM. r=firefox-build-system-reviewers,ted
It is only used in one place, where it is redundant with VPX_AS_CONVERSION.

Depends on D14945

Differential Revision: https://phabricator.services.mozilla.com/D14946

--HG--
extra : moz-landing-system : lando
2018-12-19 11:11:17 +00:00
Mike Hommey 1114d3ab41 Bug 1515257 - Remove VPX_X86_ASM. r=firefox-build-system-reviewers,ted
It is used nowhere. Also remove the warning when there no assembly for
VPX. Barely anybody notices it, and there's nothing really noteworthy
about it.

Differential Revision: https://phabricator.services.mozilla.com/D14945

--HG--
extra : moz-landing-system : lando
2018-12-19 11:10:23 +00:00
Razvan Maries 0e169796a1 Merge mozilla-inbound to mozilla-central a=merge 2018-12-19 23:58:38 +02:00
Ryan VanderMeulen 017a925896 Bug 1514683 - Enable SQLITE_DBCONFIG_DEFENSIVE. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D14854

--HG--
extra : moz-landing-system : lando
2018-12-19 18:11:27 +00:00
Ryan VanderMeulen 21cf41ae2b Bug 1511646 - Upgrade to SQLite 3.26.0. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D14856

--HG--
extra : moz-landing-system : lando
2018-12-19 08:59:18 +00:00
Gijs Kruitbosch b39448e581 Bug 1514348 - remove MOZ_FEEDS and --enable/--disable-feeds , r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D14974

--HG--
extra : moz-landing-system : lando
2018-12-19 16:55:01 +00:00
Tom Ritter c014980a9a Bug 1485016 - Enable CFG for Windows builds. r=froydnj 2018-12-07 10:54:41 -06:00
Dorel Luca 176695a3b3 Backed out changeset 7e548edaf318 (bug 1485016) for build bustage 2018-12-19 10:39:10 +02:00
Tom Ritter e7f646df03 Bug 1485016 - Enable CFG for Windows builds r=froydnj 2018-12-07 10:54:41 -06:00
Tom Ritter 6b6e5440aa Bug 1512921 - Bump clang to trunk 348970 for Windows builds. r=dmajor
This removes several patches that have been upstreamed.
2018-11-27 14:44:34 -06:00
Mike Hommey 6d3046658e Bug 1513798 - Move --with-macos-{sdk,private-frameworks} to python configure. r=nalexander
Because we now set the sysroot include flags early in python configure,
we don't need to set CPP/CXXCPP. We also skip the explicit compiler test
because more complete tests follow anyways.

Differential Revision: https://phabricator.services.mozilla.com/D14380
2018-12-18 10:50:12 +09:00
Mike Hommey 8c199b7a84 Bug 1513798 - Revert bug 638149 and leave it to configure to set -dead_strip. r=nalexander
We're always setting -dead_strip on mac builds, per
cross-mozconfig.common, we might as well not do that and revert bug
638149, which disabled adding -dead_strip with LTO: that is apparently
not a problem anymore.

Differential Revision: https://phabricator.services.mozilla.com/D14373
2018-12-18 10:50:06 +09:00
Cosmin Sabou b30ca1fd33 Merge mozilla-inbound to mozilla-central. a=merge 2018-12-15 04:47:12 +02:00
Mike Hommey 3cdfb81c07 Bug 1514104 - Remove vpx_mem_set_functions support. r=jya
vpx_mem_set_functions support is only enabled when
MOZ_VPX_NO_MEM_REPORTING is not set. It is currently set unconditionally
when building with the in-tree libvpx. When building with system libvpx,
it is set when the vpx_mem_set_functions can't be found in the system
libvpx library.

Upstream removed the vpx_mem_set_functions function in version 1.5, and
we require at least that version, meaning, in practice,
MOZ_VPX_NO_MEM_REPORTING is now always set.

We might as well remove the define and the code that's conditional to
not being defined.

Differential Revision: https://phabricator.services.mozilla.com/D14517

--HG--
extra : moz-landing-system : lando
2018-12-14 09:07:18 +00:00
J.C. Jones 82851dd603 Bug 1501587 - Update old-configure.in for NSS 3.41 r=RyanVM
See https://bugzilla.mozilla.org/show_bug.cgi?id=1501587#c14

Differential Revision: https://phabricator.services.mozilla.com/D14113

--HG--
extra : moz-landing-system : lando
2018-12-12 15:00:59 +00:00
Coroiu Cristina a2f107533b Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-11-27 01:03:16 +02:00
John Lin 0ea8bb4a7a Bug 1425277 - p2: remove dynamic apple framework linkers. r=jya No need for own linkers anymore for CoreMedia and VideoToolbox are both available on our minimal supported version (10.9).
Differential Revision: https://phabricator.services.mozilla.com/D7558

--HG--
extra : moz-landing-system : lando
2018-11-26 18:27:32 +00:00
Mike Hommey b42fb36df3 Bug 1508547 - Disable the machine outliner on Android. r=dmajor
It's enabled by default as of clang 7 with -Oz on aarch64 (that is,
afaict, the only platform where it's enabled), and regresses our
performance on speedometer.

Differential Revision: https://phabricator.services.mozilla.com/D12394

--HG--
extra : moz-landing-system : lando
2018-11-21 01:13:07 +00:00
Mike Hommey c8cb111f94 Bug 1502457 - Move MOZ_APP_VERSION{,_DISPLAY} to python configure. r=nalexander
Depends on D11983

Differential Revision: https://phabricator.services.mozilla.com/D11984

--HG--
extra : source : 1cf7694c8aa247c169c93d279bd16201103b75a8
2018-11-16 01:15:35 +00:00
Mike Hommey 4a542b98af Bug 1502457 - Move FIREFOX_VERSION to python configure. r=nalexander
Depends on D11982

Differential Revision: https://phabricator.services.mozilla.com/D11983

--HG--
extra : source : a73cfbabdd47368eee9682c24de75cbaf1564dde
2018-11-16 01:14:46 +00:00
shindli 4756350be2 Backed out 6 changesets (bug 1502457) for causing Mn mozprocess automation failures in '/Users/cltbld/tasks/task_1542517470/build/venv/bin/python
Backed out changeset 9174dadf38b0 (bug 1502457)
Backed out changeset 2bc4c0bfa299 (bug 1502457)
Backed out changeset 1442604ea266 (bug 1502457)
Backed out changeset 1cf7694c8aa2 (bug 1502457)
Backed out changeset a73cfbabdd47 (bug 1502457)
Backed out changeset 2c2b09264a82 (bug 1502457)
2018-11-18 10:24:11 +02:00
Mike Hommey 9cc79e2096 Bug 1502457 - Move MOZ_APP_VERSION{,_DISPLAY} to python configure. r=nalexander
Depends on D11983

Differential Revision: https://phabricator.services.mozilla.com/D11984

--HG--
extra : moz-landing-system : lando
2018-11-16 01:15:35 +00:00
Mike Hommey 3bc70df446 Bug 1502457 - Move FIREFOX_VERSION to python configure. r=nalexander
Depends on D11982

Differential Revision: https://phabricator.services.mozilla.com/D11983

--HG--
extra : moz-landing-system : lando
2018-11-16 01:14:46 +00:00
Narcis Beleuzu df50f67e20 Backed out 6 changesets (bug 1502457) for build bustages. CLOSED TREE
Backed out changeset febdb867785a (bug 1502457)
Backed out changeset 7ea52c602445 (bug 1502457)
Backed out changeset 73bb6a74cad0 (bug 1502457)
Backed out changeset b172bda6e983 (bug 1502457)
Backed out changeset 0e283ddc6c3b (bug 1502457)
Backed out changeset 638fa0251123 (bug 1502457)
2018-11-16 02:13:57 +02:00
Mike Hommey b1fdc6b2a4 Bug 1502457 - Move MOZ_APP_VERSION{,_DISPLAY} to python configure. r=nalexander
Depends on D11983

Differential Revision: https://phabricator.services.mozilla.com/D11984

--HG--
extra : moz-landing-system : lando
2018-11-15 23:22:24 +00:00
Mike Hommey f4802de169 Bug 1502457 - Move FIREFOX_VERSION to python configure. r=nalexander
Depends on D11982

Differential Revision: https://phabricator.services.mozilla.com/D11983

--HG--
extra : moz-landing-system : lando
2018-11-15 23:23:53 +00:00
Jan Beich beae6255ef Bug 1509757 - Don't rely on GNU regex extension for character classes. r=froydnj
$ echo --with-system-nspr --with-system-nss | gnused -e 's/--with-system-nspr\S* *//'
--with-system-nss
$ echo --with-system-nspr --with-system-nss | bsdsed -e 's/--with-system-nspr\S* *//'
sed: 1: "s/--with-system-nspr\S* ...": RE error: trailing backslash (\)
2018-11-25 16:53:00 +02:00
Ryan VanderMeulen 7971e2ffd0 Bug 1495238 - Upgrade to SQLite 3.25.3. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D11028

--HG--
extra : moz-landing-system : lando
2018-11-06 16:59:19 +00:00
Matt Brubeck 2d25ef7957 Bug 1500154 - Link with -Bsymbolic-functions whenever possible. r=glandium
This speeds up calls within libxul by avoiding PLT jumps.

Differential Revision: https://phabricator.services.mozilla.com/D9686

--HG--
extra : moz-landing-system : lando
2018-10-26 12:10:44 +00:00
Jonathan Watt 4fa7304682 Bug 1500637. Remove MOZ_WIDGET_TOOLKIT==gtk2 code. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D9326

--HG--
extra : rebase_source : ee11c8f01af639cf4e3a302593239fd1a6866aa3
extra : amend_source : e8f755f1b8ae33b04e582f9be8751ca85c4b139d
2018-10-18 01:16:39 +01:00
Bob Owen 6c01f6d0bd Bug 1481518 part 2: Enable aarch64 Windows chromium sandbox code. r=froydnj 2018-12-14 13:07:35 +00:00
Nick Alexander d56eb2a314 Bug 1489443 - Set GCC_USE_GNU_LD based on linker kind. r=froydnj
The desired outcome of this change is that we'll set
-Wl,--version-script based on linker kind and not on the output of
$LINKER -v.

This is a cheap way to address a simple problem that has a complicated
ideal solution. The underlying issue is that in some situations, when
targeting Android, a macOS system ld is interrogated to determine if
a cross-compiling linker "is GNU ld" and a particular linker feature
is set in that situation. The macOS system ld doesn't pass the "is
GNU ld" test, and the linker feature isn't set; that causes link
failures, even though the actual linker has nothing to do with the
system ld.

The ideal solution is to test for linker capabilities dynamically. We
do a lot of that in old-configure.in, and we don't do any of that in
toolchain.configure. Rather than start testing in
toolchain.configure, we hard-code: a cheap solution to the immediate
problem.

MinGW suffers somewhat from the opposite problem: the linker "is GNU
ld" (compatible), but the linker checks don't happen at all. We hard-code
for MinGW based on the C compiler instead.

Differential Revision: https://phabricator.services.mozilla.com/D8471

--HG--
extra : moz-landing-system : lando
2018-10-17 19:46:03 +00:00
Cosmin Sabou 9b6a537ec7 Backed out changeset 91300d29898b (bug 1489443) for MinGW build bustages. CLOSED TREE 2018-10-13 02:17:15 +03:00
Nick Alexander 3c83541616 Bug 1489443 - Set GCC_USE_GNU_LD based on linker kind. r=froydnj
The desired outcome of this change is that we'll set
`-Wl,--version-script` based on linker kind and not on the output of
`$LINKER -v`.

This is a cheap way to address a simple problem that has a complicated
ideal solution.  The underlying issue is that in some situations, when
targeting Android, a macOS system `ld` is interrogated to determine if
a cross-compiling linker "is GNU ld" and a particular linker feature
is set in that situation.  The macOS system `ld` doesn't pass the "is
GNU ld" test, and the linker feature isn't set; that causes link
failures, even though the actual linker has nothing to do with the
system `ld`.

The ideal solution is to test for linker capabilities dynamically.  We
do a lot of that in old-configure.in, and we don't do any of that in
toolchain.configure.  Rather than start testing in
toolchain.configure, we hard-code: a cheap solution to the immediate
problem.

Differential Revision: https://phabricator.services.mozilla.com/D8471

--HG--
extra : moz-landing-system : lando
2018-10-12 22:38:44 +00:00
Nathan Froyd e02e0b391b Bug 1397263 - move --enable-accessibility to moz.configure; r=mshal 2018-10-03 20:29:29 -04:00
Ted Mielczarek 5beac189a8 Bug 1397263 - move GNU_AS checks to toolchain.configure; r=glandium
The GNU_AS check in old-configure depended on running with the value
of $AS before it gets reset to just be the C compiler, which breaks when
we move setting AS into moz.configure.

This patch moves the GNU_AS check to toolchain.configure and changes it
so that it works when the assembler is the C compiler.  We do have to
fix things slightly for clang, because the previous check was
succeeding, but not because of clang: it was detecting the presence of
"GNU" in the output for GNU ld/gold and a message about the GNU GPL.
2018-10-03 20:29:29 -04:00
Ted Mielczarek f05bb2799a Bug 1397263 - move MIDL_FLAGS to toolkit/moz.configure; r=glandium
This is a straightforward port of MIDL_FLAGS from old-configure to
moz.configure. The only behavioral change is that it removes support for
prepending MIDL_FLAGS from the environment in configure, but I doubt anyone
uses that.
2018-10-03 20:29:29 -04:00
Nathan Froyd 9a1e9149b8 Bug 1397263 - move AS checks to toolchain.configure; r=glandium
This is a fairly straightforward port of the AS tool checks from old-configure
to toolchain.configure. AS is a little quirky in that we currently do a
normal-looking check for it, but then override that value to be the C compiler
for non-Windows builds, and ml[64]/armasm64 for Windows builds.

After migrating those checks, the only things left in the MOZ_DEFAULT_COMPILER
macro in compiler-opts.m4 were some unused bits, so I removed them:
* Setting of CPP/CXXCPP, which are set in toolchain.configure now
* Setting HOST_LDFLAGS to empty, which doesn't seem particularly useful.

There was also a quirky old test that the assembler was ml[64] when js-ctypes
is enabled that I removed, I don't think it provides any value since this
patch will ensure that we're using the right assembler for Windows builds.
2018-10-03 20:29:29 -04:00
Ted Mielczarek a6f6c8cfb4 Bug 1397263 - move MIDL checks to moz.configure; r=glandium 2018-10-03 20:29:29 -04:00
David Major 29376a9f55 Bug 1495874 - Don't set win32 subsystem:6.01 on aarch64. r=froydnj 2018-10-03 14:39:21 -04:00
Nathan Froyd 1a7885de09 Bug 1494958 - remove linuxgl/accessibility check in old-configure.in; r=ted.mielczarek
linuxgl is not a widget toolkit we support nowadays.
2018-10-02 15:41:06 -04:00
Franziskus Kiefer a52a8495f9 Bug 1479787 - use NSS mozpkix in Firefox, r=mt,keeler,glandium
Differential Revision: https://phabricator.services.mozilla.com/D2725
Differential Revision: https://phabricator.services.mozilla.com/D2860

--HG--
extra : rebase_source : 189c13c2a3104c106fcabad5998af6cb2e20d4a5
2018-10-02 14:59:34 +02:00
Jan Beich 6e97175276 Bug 1495221 - Bump minimum required NSS version to 3.40. r=froydnj 2018-09-29 10:02:00 +03:00
Nathan Froyd d8685e6b76 Bug 1491419 - move --enable-reflow-perf to moz.configure; r=nalexander 2018-10-01 14:51:27 -04:00
Nathan Froyd b0effdaae3 Bug 1491419 - move --enable-tasktracer to moz.configure; r=nalexander 2018-10-01 14:51:27 -04:00
Nathan Froyd cf4c48d851 Bug 1491419 - move --enable-hardware-aec-ns to moz.configure; r=nalexander 2018-10-01 14:51:27 -04:00
Nathan Froyd 2048436656 Bug 1491419 - move --enable-raw to moz.configure; r=nalexander 2018-10-01 14:51:27 -04:00
Nathan Froyd b318e37e44 Bug 1491419 - move MOZ_{SCTP,SRTP} to moz.configure; r=nalexander
These settings are just dependent on WebRTC being enabled.
2018-10-01 14:51:27 -04:00
Nathan Froyd 4ab0b4cf0b Bug 1491419 - move --enable-verify-mar to moz.configure; r=nalexander 2018-10-01 14:51:28 -04:00
Nathan Froyd dc14f73882 Bug 1491419 - move --enable-bundled-fonts to moz.configure; r=nalexander 2018-10-01 14:51:28 -04:00
Nathan Froyd a259110dc9 Bug 1491419 - move --enable-maintenance-service to moz.configure; r=nalexander 2018-10-01 14:51:28 -04:00
Benjamin Bouvier 2ab4b1419f Bug 1490948: Add support for extra bindgen flags when compiling Cranelift; r=froydnj
Some build flags are being passed by the build system: they're passed in a text
file called extra-bindgen-flags.in that's filled at configure time.

Other flags have to be inferred from the current target/host combination, in
Cranelift's build script directly. This is mostly cargo-culted from the
ServoBindings.toml file, and should probably be merged in the build system at
some point.

Some Windows-specific adjustments were needed to provide access to libclang for
bindgen support, by adding clang-cl to the plain Spidermonkey Windows builds.

--HG--
extra : rebase_source : 0bda40b1d1eb38c2657593f094c951013711d00a
extra : histedit_source : aad930a5f9099e299d385ae4de2deb81aed9b6d5
2018-09-25 15:31:22 +02:00
Thomas P. fde56b2dde Bug 1483780: enable sanitizer-less libfuzzer builds r=froydnj 2018-09-20 21:21:38 +00:00
Andreea Pavel a6ba34f2ad Backed out 2 changesets (bug 1483780) for build bustages on a CLOSED TREE
Backed out changeset 2b0a42c589c5 (bug 1483780)
Backed out changeset 48d133cbafd3 (bug 1483780)
2018-09-21 05:43:03 +03:00
Thomas P. dae33d978b Bug 1483780: enable sanitizer-less libfuzzer builds r=froydnj superreview=decoder
--HG--
extra : histedit_source : 6fd1a37c3fb5d8997be11f7846b2976fc7b8a647
2018-09-11 03:49:37 +00:00
Narcis Beleuzu 61b03524fb Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-09-19 19:45:46 +03:00
Ryan VanderMeulen c5bf22cd9a Bug 1491671 - Upgrade to SQLite 3.25.1. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D6207

--HG--
extra : moz-landing-system : lando
2018-09-19 13:28:02 +00:00
Nathan Froyd 90c91d64dc Bug 1491901 - move MK*SHLIB to moz.configure; r=ted.mielczarek
It's nicer to have all that logic in one place, and to be able to common
up the Unix-y flags setting.  The Makefile constructs in string values
is gross, but it's no worse than we had before.
2018-09-19 10:03:42 -04:00
Ryan VanderMeulen f53c113d39 Bug 1491467 - Update libpng to 1.6.35. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D5913

--HG--
extra : moz-landing-system : lando
2018-09-18 18:33:11 +00:00
Tom Ritter 0a9605a5c2 Bug 1490566 Do not pass --enable-stdcall-fixup to clang in a x86 Windows build r=froydnj
clang doesn't recognize --enable-stdcall-fixup as an option. We needed this for the
mingw-gcc build (added in Bug 787653) because gcc had difficulty dealing with
Angle's symbol linking

Differential Revision: https://phabricator.services.mozilla.com/D6072

--HG--
extra : moz-landing-system : lando
2018-09-18 13:44:05 +00:00
Ted Mielczarek 201bd292e7 Bug 1384557 - move _DEPEND_CFLAGS+CL_INCLUDES_PREFIX to toolchain.configure, ignore {CC,CXX}_WRAPPER when using sccache; r=glandium
Currently mozconfig.cache overrides a few build options for sccache.
This patch moves them into toolchain.configure so that the build system
will set them properly when sccache is in use.  Additionally,
{CC,CXX}_WRAPPER are set in config.mk, so just avoid setting them when
sccache is in use.
2018-09-14 12:12:34 -04:00
Chris Peterson da01f965e0 Bug 1490575 - Remove MOZ_MULET checks from build files. r=froydnj
Mulet was a Firefox OS simulator that is no longer supported: https://wiki.mozilla.org/Mulet

Differential Revision: https://phabricator.services.mozilla.com/D5734

--HG--
extra : rebase_source : 5d6c8563fe7f5b3bafa9a17d1057eb3a3db6e241
extra : source : f7c8de6bc4a978421f49e43b951188597086874b
2018-09-11 23:16:36 -07:00
Jim Chen 216db72bef Bug 1480834 - 4. Specify -Werror for pthread_cond_timedwait_monotonic_np check; r=glandium
On 64-bit Android, `pthread_cond_timedwait_monotonic_np` is only
available for API 28+. The issue is, even though the NDK header does not
define `pthread_cond_timedwait_monotonic_np` for API 27 and below, the
NDK library _does_ include the function (in order to support builds
targeting API 28+).

During our configure test, the compiler only emits a warning about
`pthread_cond_timedwait_monotonic_np` being undefined, but linking
succeeds because the function is present in the library. Because linking
succeeds, the test inadvertently passes. This patch adds a '-Werror'
flag to the compilation, so the warning turns into an error to make the
test fail.

Differential Revision: https://phabricator.services.mozilla.com/D4482
2018-09-13 12:09:25 -04:00
Nathan Froyd e829874703 Bug 1490765 - delete code for application-specific subconfigure scripts; r=nalexander
We don't need this code nowadays, and it probably doesn't work anyway.
2018-09-12 16:22:10 -04:00
Masatoshi Kimura 6e443c9a86 Bug 1414060 - move NONASCII to moz.configure; r=mshal 2018-09-10 18:57:40 -04:00
Nathan Froyd 4454f01d19 Bug 1480552 - handle aarch64 windows when determining MOZ_D3DCOMPILER_VISTA_DLL; r=ted.mielczarek
AArch64 Windows includes the necessary DLL in its default configuration,
so we don't need to bother locating it in the SDK.  We made need to
distribute an updated version that won't by on the system by default,
though, so we need some extra checking.
2018-09-04 16:41:08 -04:00
Myk Melez 7978cd2fe4 Bug 1482810 - set COMPILE_FLAGS var to hide warnings for Rust crates r=chmanchester
In conjunction with the cc crate changes in https://github.com/alexcrichton/cc-rs/pull/342 (which I'll land in https://phabricator.services.mozilla.com/D4699), this hides warnings generated by C code in Rust crates (by removing warnings flags from CFLAGS when compiling Rust libraries).

MozReview-Commit-ID: 9CZgLGbWjbA

Differential Revision: https://phabricator.services.mozilla.com/D3939

--HG--
extra : moz-landing-system : lando
2018-08-30 17:29:54 +00:00
Mike Hommey 1a6f5a62c7 Bug 1485759 - Pass --build-id=sha1 to the linker instead of --build-id. r=froydnj
BFD ld's --build-id means --build-id=sha1, but with lld it means
--build-id=fast. Both support the explicit --build-id=sha1, so use that.
Gold supports --build-id=sha1 too.
ld64, used for mac builds doesn't support neither --build-id=sha1 nor
--build-id.
2018-08-29 08:02:07 +09:00
Nathan Froyd b40f3ab975 Bug 1481513 - disable ffvpx on aarch64 windows; r=gps
There's no support for it in our local tree.
2018-08-28 13:44:54 -04:00
Mike Hommey 95f25c8a5d Bug 1485610 - Avoid copy relocations in binaries we build. r=froydnj
See bug 1485562 for an example of bad things that can happen with such
relocations, and see also
c90379ddfe/ELF/Relocations.cpp (L496-L537)
2018-08-24 08:57:04 +09:00
Nathan Froyd 13c9216e36 Bug 1485367 - disable libjpeg-turbo support for aarch64 windows; r=dmajor 2018-08-22 12:15:19 -04:00
David Major 3226912d99 Bug 1485072: Remove some unnecessary (on-by-default) LDFLAGS from Windows builds. r=froydnj
-DEBUGTYPE:CV, -NXCOMPAT, and -DYNAMICBASE are on by default in both link.exe and lld-link.

--HG--
extra : rebase_source : 3b50b88bb8ac9257689df2e10146906ef9962b08
2018-08-21 17:16:45 -04:00
Nathan Froyd 7661e89923 Bug 1480558 - part 3 - unset AS_DASH_C_FLAG for aarch64 windows; r=mshal
The assembler for this platform doesn't need the special handling
AS_DASH_C_FLAG provides.
2018-08-21 11:00:35 -04:00
Mike Hommey 7b448e6258 Bug 1484872 - Remove --enable-llvm-hacks. r=froydnj
It calls for cargo-culting its use when using clang, when it's specific
to skipping one linker flags for sanitizers.
2018-08-21 08:40:00 +09:00
Nathan Froyd 2c50d79c91 Bug 1481864 - disable the sandbox on aarch64 windows by default; r=gps
The Chromium sandbox doesn't have the necessary arch-specific support.
2018-08-20 17:22:44 -04:00
Masatoshi Kimura 3d01e517aa Bug 1484184 - Remove now unused _RAISE macro check to deal with MSVC 2017 15.8. r=froydnj
--HG--
extra : source : b38403f36056d301321c128be96ee60d14739859
2018-08-17 01:27:29 +09:00
Narcis Beleuzu 96343e8f1f Backed out 3 changesets (bug 1484184, bug 1484190, bug 1484191) for bustages on test_toolchain_configure.py. CLOSED TREE
Backed out changeset dca5444170e0 (bug 1484190)
Backed out changeset 1ef81d07bc5b (bug 1484184)
Backed out changeset 2a42fd4df1bb (bug 1484191)
2018-08-20 19:49:37 +03:00
Masatoshi Kimura 59a91c2a72 Bug 1484184 - Remove now unused _RAISE macro check to deal with MSVC 2017 15.8. r=froydnj
--HG--
extra : rebase_source : d93dbda28fff9cdbf0f6a908e0c1d59c152665e5
extra : source : b38403f36056d301321c128be96ee60d14739859
2018-08-17 01:27:29 +09:00
Mike Hommey f6560362a9 Bug 1480004 - Normalize optimization level passed to the linker when doing LTO with clang. r=froydnj 2018-08-14 07:25:09 +09:00
Chris Manchester e481e46c6f Bug 1482442 - Do not check for gamepad related headers in an artifact build. r=ted,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D3119

--HG--
extra : moz-landing-system : lando
2018-08-10 19:23:44 +00:00
Masatoshi Kimura 5386e9c84f Bug 1472254 - Backed out changeset 69259eedc1e6 as the final fix has landed. r=dmajor
--HG--
extra : rebase_source : f77217d0946d4c99c421f1cd4611044935131024
2018-08-10 18:42:10 +09:00
Nathan Froyd 49dcc19d92 Bug 1481505 - add aarch64 bits to DEFINES and DSO_LDOPTS; r=dmajor
Not having _ARM64_ in DEFINES makes any number of things go wrong.
2018-08-08 16:37:05 -04:00
Masatoshi Kimura 3b21b7868b Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj
--HG--
extra : rebase_source : c09366fb93e5b0f72abe1e99d3094e3d96a934fb
extra : intermediate-source : 5950c9d63c3b4fd63a25464a7b50944aaec7079f
extra : source : ca1b9a2bcc4381795f556fea2fb59066567c30f3
2018-07-31 22:10:07 +09:00
Nathan Froyd 60ba63041d Bug 1480553 - part 2 - add a case for aarch64* when setting MIDL_FLAGS; r=glandium 2018-08-02 21:40:40 -04:00
Cosmin Sabou de8c2bd891 Backed out changeset 5950c9d63c3b (bug 1090497) for build bustages on several files. CLOSED TREE 2018-08-02 19:59:53 +03:00
Masatoshi Kimura feea19030c Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj
--HG--
extra : rebase_source : a62521fdc66def4e4d5d7bf52e68365a786b5c55
extra : source : ca1b9a2bcc4381795f556fea2fb59066567c30f3
2018-07-31 22:10:07 +09:00
Masatoshi Kimura e77355efc0 Bug 1472254 - Temporarily suppress -Wpragma-pack warning spam globally. r=dmajor
--HG--
extra : rebase_source : 2e4ad7c6fed96ad1327eeca63f434cad1c4fa902
2018-08-02 00:48:55 +09:00
Nathan Froyd 3dc6481a30 Bug 1444141 - part 4 - make the JS engine depend on Rust; r=chmanchester,glandium,jorendorff
The Rust dependency in Firefox has been limited to Firefox builds by
virtue of having the Rust check in a Firefox-specific location,
toolkit/moz.configure.  For JS to start depending on Rust, we need to
move that check to a location where a standalone JS engine build will
pick up the Rust check.
2018-08-02 11:00:21 -05:00
David Major f0f43e919c Bug 1477744 - Re-enable -Werror in clang-cl for Spidermonkey. r=froydnj
--HG--
extra : rebase_source : a2da624418ab3578bfed878628e9ad52beedbbd3
2018-07-26 16:14:27 -04:00
Tudor-Gabriel Vîjială 7034598959 Bug 1476165 - Part 2: Update Android Gradle plugin to version 3.1.0. r=nalexander,snorp
MozReview-Commit-ID: LR1OWncvuwt

--HG--
extra : rebase_source : 6de8f8927e801789d559a7c361c7b434ae1f74c4
2018-07-17 13:20:19 +01:00
Brian Grinstead 40b40ad653 Bug 1478128 - Rename `MOZ_BROWSER_CHROME_URL_QUOTED` to `BROWSER_CHROME_URL_QUOTED`;r=gps
MozReview-Commit-ID: G73z0y5A8Re

--HG--
extra : rebase_source : 074d5085d37d726716b7522e1a049c98ea3e44c7
2018-07-24 15:25:18 -07:00
Brian Grinstead eb11f1de3b Bug 1476333 - Define the browser chrome URL as BROWSER_CHROME_URL so it can be accessed from AppConstants instead of a pref;r=gps
MozReview-Commit-ID: DPxayAW4D1s

--HG--
extra : rebase_source : 4d3f1e71b0abd1f38cd750d52b84269b6af52991
2018-07-24 08:12:48 -07:00
Petru Lingurar 10add268a1 Bug 1473872 - Start targeting API 26; r=nalexander
MozReview-Commit-ID: GqBiQbRy4bu

--HG--
extra : amend_source : 57b2ce873af5aedf99ef337abc669a3bcd624fed
2018-07-06 16:57:36 +03:00
David Major 99f9246f52 Bug 1475650: Use llvm-lib when linking with lld-link. r=froydnj 2018-07-16 10:10:03 -04:00
Jacek Caban 53527f20c4 Bug 1471556 - Support mingw clang in configure scripts. r=glandium
MozReview-Commit-ID: GKLbHvYgXnL

--HG--
extra : rebase_source : 61c7c7b11373a7ef3fd6b653b1baf828c322ee0b
2018-06-26 18:53:42 +02:00
Franziskus Kiefer dc24a072c6 Bug 1470914 - bump minimum NSS version to 3.39, r=me 2018-07-06 16:00:08 +02:00
Mike Hommey da38aeba7d Bug 1457168 - Make configure tests use LINKER_LDFLAGS. r=chmanchester
Because we have no linking configure test in python configure (yet), we
just make old-configure tests use LINKER_LDFLAGS, and make those flags
added to LDFLAGS by old-configure at the same time.

--HG--
extra : rebase_source : 80ab7c5021c7ddd1b53d58ef76cd4372a524d3cb
2018-07-04 16:18:48 +09:00
Nathan Froyd 2a1d44002c Bug 1472805 - silence more clang-cl warnings; r=chmanchester
clang seems to have decided that a new warning,
-Wused-but-marked-unused, is useful.  For the purposes of our codebase,
where we add __attribute__((unused)) explicitly to avoid warnings about
unused things, this new warning is useless.  The new warning is also
quite noisy, given that we have unused things in commonly-used headers
like Assertions.h.  So disable the warning.
2018-07-02 20:36:49 -04:00
jgilbert@mozilla.com 1527dfb596 Bug 1472402 - -MG for clang-cl breaks missing-include error reporting. - r=froydnj
MozReview-Commit-ID: EhtNTZcXBrt

--HG--
extra : rebase_source : 900afc0e4cfd0dde1c0f4f3ec883e879a295567c
2018-06-29 20:18:08 -07:00
Kyle Machulis c126f54cc6 Bug 1324147 - Remove MOZ_GAMEPAD_BACKEND; r=daoshengmu
MOZ_WIDGET_TOOLKIT can be used for platform choice for Gamepad. Need
to leave linux header check in configure for now.

MozReview-Commit-ID: VT7T2KmLts

--HG--
extra : rebase_source : 02e7a23311c65fccffb1375a3adf8980d3d6031c
2018-06-27 12:32:36 -07:00
Kris Maglione 0506a56751 Bug 1468362: Remove ADDON_SINGING buildconfig setting. r=aswan
MozReview-Commit-ID: MeD4VQPVf6

--HG--
extra : rebase_source : c40ed5b7d194290332f0aa77deaf91812de48c42
extra : histedit_source : 34a69d708597fcdbfb9bffccd7dbf28c9d1a42a7
2018-06-12 13:56:58 -04:00
Ryan VanderMeulen 3147d6c01d Bug 1467121 - Upgrade to SQLite 3.24.0. r=mak
--HG--
extra : rebase_source : 49ce4fbcf40630655b96933fe44fb8b10432d8cb
2018-06-06 09:52:32 -04:00
Jonathan Watt 5817084eb6 Bug 1270217 - Change the default MACOS_DEPLOYMENT_TARGET value to 10.9. r=froydnj 2018-05-10 10:41:13 +01:00
Cosmin Sabou 9994e67745 Backed out changeset cbf0895981cd (bug 1270217) for turning bug 1405083 into permafail. a=backout 2018-06-03 13:08:10 +03:00
Jonathan Watt 67537a721b Bug 1270217 - Change the default MACOS_DEPLOYMENT_TARGET value to 10.9. r=froydnj
--HG--
extra : rebase_source : bb180a82c87bb49c688dbcb2f8da6756e6c54224
2018-05-10 10:41:13 +01:00
Julian Seward fef50df448 Bug 1461304 - Windows bustage eg: /js/src/wasm/WasmBinaryToAST.cpp when Gecko 62 merges to Beta on 2018-06-14. r=froydnj.
Some configurations of SpiderMonkey wind up producing C++ switch statements of
the form

   switch (..) {
     default: break;
   }

We hoped that they would simply be optimised out without comment.  But MSVC
warns about the lack of non-default cases, which then are escalated into
errors, causing the build to fail.  This commit simply disables that warning
feature when building with MSVC.

--HG--
extra : rebase_source : 468022d30cdaf483aaa64fc7aa9dd1308fbc7335
2018-05-27 09:39:06 +02:00
Tom Ritter 9d8f5959d1 Bug 1460796 Resolve 'Missing entry point ScriptBreak' by including usp10 for the MinGW build r=froydnj
MozReview-Commit-ID: KirwpvYty5s

--HG--
extra : rebase_source : 9a920e8c4aa621e43c880a41627b034a6c31aec2
2018-05-10 22:04:36 -05:00
Tom Ritter c59f8dd7b8 Bug 1456552 Make Optimized MinGW builds use -O# instead of falling through and collecting a -O r=ted
We use -O2 for js (because we can) and we use -O1 for the root because there is an x86 compiler bug
that is not immediately bypassable

MozReview-Commit-ID: CnDk2ko3jfo

--HG--
extra : rebase_source : bf889ab143bbf9480a261b06000d62cf0e1af8cc
2018-05-16 16:32:47 -05:00
Tom Ritter a56f337b8c Bug 1457162 Remove -TC from CFLAGS r=ted
-TC specifies 'treat all inputs at C files' which breaks things when you
specify a @list file of inputs.

During configure, -TP is required for C++ configure checks (although we
could probably make it smart and not need it at all), but -TC does not seem
to be required.

MozReview-Commit-ID: DNA8vUMdIXb

--HG--
extra : rebase_source : 523c6d815adf55c834fd858b10010123f86b25f6
2018-05-19 01:26:33 -05:00
Mike Hommey 89cd7b7de6 Bug 1462157 - Remove abuse of MOZ_UPDATE_CHANNEL for A11Y_LOG. r=ted
MOZ_UPDATE_CHANNEL is meant to set the channel to use for the updater,
and nothing else. It's not an indicator of which branch we're building
on and it's not an indicator of whether it's a developer build or a CI
build. The latter seems to be what it's used for for A11Y_LOG, so use
DEVELOPER_OPTIONS instead.

--HG--
extra : rebase_source : 48822af1e4af444e00c89859c51c01c57d130248
2018-05-17 07:03:24 +09:00
Tom Ritter c5a26d81ec Bug 1457483 Retrieve nm from environment for check_vanilla_allocations.py r=glandium
MozReview-Commit-ID: HIZpMk4Ierb

--HG--
extra : rebase_source : 670da25b7e516e176f2eae116b58e5e62ccbbde7
2018-04-27 10:25:35 -05:00
Tom Ritter 333013f148 Bug 1443823 Apply no-keep-inline-dllexport to MinGW x64 also r=glandium
MozReview-Commit-ID: 2Nyw738ZHou

--HG--
extra : rebase_source : 4a18e47f8f1cb425864811230fd33c6620760021
2018-03-23 14:35:30 -05:00
Nicolas B. Pierron 857a642337 Bug 1456183 - Add gio-unix as part of the list of GTK dependencies. r=glandium 2018-05-16 14:54:30 +00:00
J.C. Jones e5c3745f29 Bug 1460617 - land NSS 6e4b0141df2f UPGRADE_NSS_RELEASE, r=fkiefer
--HG--
extra : transplant_source : %3D%28%5E94%D6e%DD%F4%22rM%E5%E0%AB%0B%DFmE%F7
2018-05-15 07:07:28 -07:00
Nathan Froyd 493330ae3f Bug 1460379 - remove --with-pthreads option; r=ted.mielczarek
This option does nothing if it's provided, and things will probably
break in some most peculiar manner if somebody uses --without-pthreads.
Given that neither outcome is useful, we should remove the option.
2018-05-09 17:26:31 -04:00
Nathan Froyd c21c323370 Bug 1460373 - move --enable-valgrind to moz.configure; r=ted.mielczarek 2018-05-09 17:26:31 -04:00
Nathan Froyd 5141d7d645 Bug 1460367 - move audio sample-related settings to moz.configure; r=ted.mielczarek,nalexander
With moz.configure, it's a little more obvious that MOZ_TREMOR and
MOZ_VORBIS are mutually exclusive.
2018-05-09 17:26:31 -04:00
Jan Henning 2417c8160f Bug 1352015 - Part 2: Build with Android O SDK. r=nalexander
MozReview-Commit-ID: BhqwL4nyj6J

--HG--
extra : rebase_source : 95a111c221b01a2d2243fb451c9bd3ec97967ac6
2018-05-06 17:38:22 +02:00
Sylvestre Ledru d8248a15c7 Bug 1418425 - Remove libbz2 files as we were only using it for crc32 as the updater moved to lzma r=glandium
MozReview-Commit-ID: 8Sz8vtV0b5G

--HG--
extra : rebase_source : 9f48f2e181fb16ad6bde1c357d74f879e1ef101e
2017-11-24 16:45:47 +01:00
Nick Alexander 53a4852ffa Bug 1444546 - Part 3: Use GENERATED_FILES for Android SDK bindings generation. r=froydnj,jchen
MozReview-Commit-ID: 2blmzKTvpj3

--HG--
extra : rebase_source : 0954b407ce6625510eadc67dd9989da949b22110
2018-03-06 19:19:48 -08:00
J.C. Jones 0fe289986b Bug 1445731 - land NSS NSS_3_37_RTM UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : 0c5dbfbfab874158345a4fe2237dc898655f0052
2018-05-04 10:42:48 -07:00
David Major 1e59fef758 Bug 1457523: Add msdia140.dll to the package on Windows ASan CI builds. r=ted 2018-05-03 15:53:53 -04:00
Jan Beich 6a8b9ac6f9 Bug 1452509 - Move --enable-pulseaudio to moz.configure. r=froydnj
MozReview-Commit-ID: J1fJUukDJXh

--HG--
extra : rebase_source : c582a589b767d199413e77c7c237d4402599179f
2018-03-18 23:55:25 +00:00
Jan Beich efa1be2618 Bug 1452509 - Move --enable-alsa to moz.configure. r=froydnj
MozReview-Commit-ID: Cv0HnZPvkWe

--HG--
extra : rebase_source : 1108a3d58e14bef335334e160186dca8a0bfcaee
2018-03-18 23:46:16 +00:00
Jan Beich 4c4327e871 Bug 1452509 - Make -DMOZ_ALSA global and prune duplicate -DMOZ_PULSEAUDIO. r=froydnj
MozReview-Commit-ID: 6O0pkscXczw

--HG--
extra : rebase_source : 0d8dffa1f8e4942b3fe8832ad860409ec24784a2
2018-03-19 02:13:04 +00:00
Ryan VanderMeulen 445ef738c3 Bug 1453193 - Upgrade to SQLite 3.23.1. r=mak 2018-04-11 09:04:00 -04:00
Franziskus Kiefer ff0e1c0785 Bug 1371991 - don't link against crmf when building with --with-system-nss, r=ted
Differential Revision: https://phabricator.services.mozilla.com/D836

--HG--
extra : rebase_source : 04127ba88296e8bd6849d227641bb0eebae2c23b
extra : amend_source : dde2e35e2d12316950113e5f320d47a914783623
2018-04-04 14:36:12 +02:00
Nathan Froyd ee48bf82e0 Bug 1448978 - use more aggressive optimization flags for clang-cl; r=chmanchester
We want to use clang-cl to ship Firefox, and the only way we can come
close to MSVC numbers is to use -O2 here, for better or worse.
2018-03-26 18:37:00 -04:00
Makoto Kato ef2b99f490 Bug 1446270 - Android/arm target should turn on crash reporter as default. r=froydnj
target value of Anndroid/arm is arm-unknown-linux-androideabi, so arm-*-linux*
matches on android/arm and MOZ_CRASHREPORTER is unset as default option.

Since taskcluster's build adds --enable-crashrepoter as default, we should set
it as developer's default too.

MozReview-Commit-ID: 8V6sWAN07F9

--HG--
extra : rebase_source : b4a26eea2d53eb8b53cc49e972d9d41b32d4ec97
2018-03-16 16:38:14 +09:00
Nathan Froyd 2f491089d2 Bug 1340588 - enable clang-cl to generate depfiles directly, rather than using a wrapper; r=build-peer
We use a wrapper script when compiling with MSVC to parse the
/showIncludes output and thereby generate a Makefile dependency
fragment.  This fragment enables us to do correct and faster incremental
builds.  But the cost of invoking the wrapper script can be significant;
it's an extra process or two to launch for every single compilation.

Instead, let's have clang-cl generate the dependencies directly, which
should be somewhat faster.
2018-03-13 09:06:00 -05:00
Kai Engert 0b95c6bfca Bug 1432480, land NSPR_4_19_RTM, no code changes, only version numbers. Require version 4.19 for building. r=me
UPGRADE_NSPR_RELEASE
DONTBUILD
2018-03-05 17:05:18 +01:00
Mike Hommey 61d75ea276 Bug 1442468 - Remove workaround for http://code.google.com/p/android/issues/detail?id=23203. r=froydnj
That NDK bug has been fixed since r8c, and we now require something more
recent than that. This effectively reverts the changes from bug 720621
and bug 734832.

--HG--
extra : rebase_source : 9ff76a790ec4135dc0172cfd0f11fc1ecef7df64
2018-03-01 15:15:02 +09:00
Nick Alexander 665e41ac95 Bug 1440432 - Remove AAR exploding from configure. r=jchen
The moz.build Java JAR definitions are, of course, broken, but they
will be removed soon enough.

MozReview-Commit-ID: KIxqLDwd9I7

--HG--
extra : rebase_source : 8312b3f125793f73d3e835d1c0a5c7cabd4ebc0c
2018-02-23 12:16:51 -08:00
teor 974faf875d Bug 1433517 - Prevent illegal characters in MOZ_MACBUNDLE_ID r=glandium
CFBundleIdentifiers can only contain [A-Za-z.-], and by convention
the app component is lowercase and does not contain '.'.

Make configure delete all characters other than [a-z-] when generating
MOZ_MACBUNDLE_ID from MOZ_APP_DISPLAYNAME.

--HG--
extra : rebase_source : f80df747c0c0ed6dae1cd9f2dc0e916da911cf8b
2018-02-05 10:31:00 +02:00
Nick Alexander 9d65a9cea8 Bug 1435424 - Remove doxygen support from the build system. r=gps
This is ancient and the team that used it (gfx) is no longer using it.

MozReview-Commit-ID: HrDgmAU9QeW

--HG--
extra : rebase_source : c4a64965c4ae1a50888893e881a6e8a9688a58b6
2018-02-02 14:24:18 -08:00
Adrian Wielgosik 639df9d521 Bug 1353329 - Remove remains of SecureElement API. r=bz
MozReview-Commit-ID: 5D1VriUJ8UP

--HG--
extra : rebase_source : 894a6e151142726e9cc9f6d417bec36831aa1129
2018-01-31 22:07:30 +01:00
Nick Alexander edf219ba3b Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu
New Android-Gradle plugins pin the build-tools version, and we want to
be consistent between Gradle and moz.build.

MozReview-Commit-ID: ApWS4rHzPuH

--HG--
extra : rebase_source : 22008e9333b15c594ce26c2a52f67396d6e3ab84
extra : source : f918500d9cf5112b70bc8e0a120df435b02252b7
2017-10-26 11:00:36 -07:00
Ryan VanderMeulen 103827bf05 Bug 1432269 - Upgrade to SQLite 3.22.0. r=mak
--HG--
extra : rebase_source : 4037bfbeed54d5aebfa63ea3cbea9e866996fcd1
2018-01-31 09:41:50 -05:00
Gurzau Raul c380dfe905 Merge inbound to mozilla-central. a=merge 2018-01-30 12:01:49 +02:00
Mike Hommey e7723da605 Bug 1433703 - Remove the libxss-based code from the screenshot tool. r=gps
It hasn't been used for a long while, and the screenshot tool is only
used for tests. So keeping the code essentially always disabled doesn't
have much value.

--HG--
extra : rebase_source : 6bf696d6543cbdd3ef66e19d4dc110134b761b63
2018-01-30 13:49:26 +09:00
Kyle Machulis 7d9e113e16 Bug 1432271 - Remove MOZ_TIME_MANAGER block from old-configure.in; r=nalexander
MozReview-Commit-ID: E9GBaJq8haT
2018-01-29 13:54:44 -08:00
Noemi Erli 97a87e010b Backed out 2 changesets (bug 1432271) for bustage in /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/dom/Navigator.h:79:23 on a CLOSED TREE
Backed out changeset 7af7827525c8 (bug 1432271)
Backed out changeset 79b9d49e08db (bug 1432271)
2018-01-27 02:49:25 +02:00
Kyle Machulis 0fef68ce31 Bug 1432271 - Remove MOZ_TIME_MANAGER block from old-configure.in; r=nalexander
MozReview-Commit-ID: E9GBaJq8haT

--HG--
extra : rebase_source : 90f73ce10c8c52d8f9fea9c6a9adb75f8013e7a7
2018-01-22 12:56:36 -08:00
Jonathan Kew 2b0049a09e Bug 1432751 - Building with system cairo is no longer supported; make --enable-system-cairo a configure-time error. r=jrmuizel 2018-01-26 11:08:57 +00:00
Sylvestre Ledru 35ae458bd1 Bug 1431477 - Ride along: Remove the useless [] (removed by the m4 step anyway) r=glandium
MozReview-Commit-ID: 5RSlgVINJZx
2018-01-24 09:29:32 +01:00
Sylvestre Ledru a55308c2c1 Bug 1431477 - Fix the bundle ID for devedition by removing whitespaces r=glandium
MozReview-Commit-ID: G2cpTlpZFiR
2018-01-22 11:09:52 +01:00
Franziskus Kiefer 28c48ed8b7 Bug 1432177 - bump NSS version in old-configure.in
--HG--
extra : rebase_source : b206a2ce5351c46419807a8167a07b5311cb3647
2018-01-23 11:52:03 +01:00
Tom Ritter c65c886e14 Bug 1418052 Correctly process hardening flags for ASAN, --disable-hardening, and --disable-optimize r=decoder,glandium
Will also address Bug 1377553 and part of Bug 1419607

MozReview-Commit-ID: AUCqBxEGpAl

--HG--
extra : rebase_source : 5547e2c8fbf4e2e87182b8720d8352c131e4ec65
2017-11-20 22:20:56 -06:00
Kai Engert 4040649e6d Bug 1420060, uplift NSS_3_35_RTM, no code change, only version number. Require version 3.35 for building. r=me
UPGRADE_NSS_RELEASE
2018-01-18 15:33:36 +01:00
Kai Engert 5ec6480b0d Bug 1420407, uplift NSPR_4_18_RTM, no code change, only version number. Require version 4.18 for building. r=me
UPGRADE_NSPR_RELEASE

--HG--
extra : amend_source : 426147bf34fd54d48213d6897d7cba3d67c3db6b
2018-01-18 14:02:42 +01:00
Ryan VanderMeulen ac18fd5152 Backed out 20 changesets (bug 1411654) for incorrect android:debuggable. r=nalexander, a=RyanVM
Backed out changeset cfad693be918 (bug 1411654)
Backed out changeset 55776829a744 (bug 1411654)
Backed out changeset c5bf85d56fed (bug 1411654)
Backed out changeset c270f97bb0da (bug 1411654)
Backed out changeset fde9bf9c14c3 (bug 1411654)
Backed out changeset 01836fd98c63 (bug 1411654)
Backed out changeset 730a70767743 (bug 1411654)
Backed out changeset 690e265c684c (bug 1411654)
Backed out changeset f918500d9cf5 (bug 1411654)
Backed out changeset cec2b8828cc8 (bug 1411654)
Backed out changeset 76085ddd5ac7 (bug 1411654)
Backed out changeset 2b37201606f5 (bug 1411654)
Backed out changeset d0d513d1c379 (bug 1411654)
Backed out changeset e7b0cc801cf1 (bug 1411654)
Backed out changeset 901b304603d9 (bug 1411654)
Backed out changeset 373c9a71d945 (bug 1411654)
Backed out changeset 3dc3beab95f8 (bug 1411654)
Backed out changeset 22a861db1573 (bug 1411654)
Backed out changeset 0850b319efd4 (bug 1411654)
Backed out changeset d276d3deba05 (bug 1411654)

--HG--
rename : mobile/android/app/src/main/res/values-v17/themes.xml => mobile/android/base/resources/values-v17/themes.xml
2018-01-17 15:55:38 -05:00
Nick Alexander 47c107e74f Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu
New Android-Gradle plugins pin the build-tools version, and we want to
be consistent between Gradle and moz.build.

MozReview-Commit-ID: ApWS4rHzPuH

--HG--
extra : rebase_source : 38a9781c472d858f3300cbbcbdc6d2311c465713
2017-10-26 11:00:36 -07:00
Csoregi Natalia 3ce27a72d5 Backed out 5 changesets (bug 1418425) requested per comment #83. on a CLOSED TREE
Backed out changeset 0ecc98bd0822 (bug 1418425)
Backed out changeset 7b7725d1d3c3 (bug 1418425)
Backed out changeset 2e95ebdcae6d (bug 1418425)
Backed out changeset 47fbcaf5ad05 (bug 1418425)
Backed out changeset 142001babb39 (bug 1418425)
2018-01-15 15:30:30 +02:00
Makoto Kato 8b76ad494e Bug 1429682 - Remove HAVE_I18N_LC_MESSAGES from old-configure.in. r=froydnj
After landing bug 1356263, no one uses HAVE_I18N_LC_MESSAGES.  So it is
unnecessary to check LC_MESSAGES.

MozReview-Commit-ID: IPgl3rQ2qrd

--HG--
extra : rebase_source : 542ada2cf9ac2775855bba29f39044b55fa93f20
2018-01-12 15:51:57 +09:00
Dorel Luca ab63c465d9 Backed out 19 changesets (bug 1411654) for Android nightly bustages a=backout
Backed out changeset 649e7aa405ca (bug 1411654)
Backed out changeset c2e51b70519f (bug 1411654)
Backed out changeset a371f3ef4312 (bug 1411654)
Backed out changeset db978e230556 (bug 1411654)
Backed out changeset 56538ed998cf (bug 1411654)
Backed out changeset 6ff0cdf46a3d (bug 1411654)
Backed out changeset 0e493bacc5e3 (bug 1411654)
Backed out changeset 23cbcf427745 (bug 1411654)
Backed out changeset eda74143389f (bug 1411654)
Backed out changeset 359fadf9b3e9 (bug 1411654)
Backed out changeset 5c64eda20f1e (bug 1411654)
Backed out changeset bffb6a5b78d1 (bug 1411654)
Backed out changeset 43787f4089c3 (bug 1411654)
Backed out changeset 9141bbdfd13b (bug 1411654)
Backed out changeset 108674372ef7 (bug 1411654)
Backed out changeset fb15e1f54987 (bug 1411654)
Backed out changeset 264476c77210 (bug 1411654)
Backed out changeset d23f467218da (bug 1411654)
Backed out changeset 78576ff98660 (bug 1411654)

--HG--
rename : mobile/android/app/src/main/res/values-v17/themes.xml => mobile/android/base/resources/values-v17/themes.xml
2018-01-13 15:17:49 +02:00
Nick Alexander e820c8ca18 Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu
New Android-Gradle plugins pin the build-tools version, and we want to
be consistent between Gradle and moz.build.

MozReview-Commit-ID: ApWS4rHzPuH

--HG--
extra : rebase_source : 5a5730b4b9ce84af40a7c73c4f1abba017103f02
2017-10-26 11:00:36 -07:00
Sylvestre Ledru b9a138ff91 Bug 1418425 - Remove libbz2 files as we were only using it for crc32 as the updater moved to lzma r=glandium
MozReview-Commit-ID: 8Sz8vtV0b5G

--HG--
extra : rebase_source : 8b239e9851c9e05a8df64068790b6b1984ff1732
2017-11-24 16:45:47 +01:00
Narcis Beleuzu 26be8043ca Backed out 5 changesets (bug 1418425) for windows build bustage "mbsdiff.exe : fatal error LNK1120". on a CLOSED TREE
Backed out changeset 8154486d3e00 (bug 1418425)
Backed out changeset d32ae48690a7 (bug 1418425)
Backed out changeset 772538a846cb (bug 1418425)
Backed out changeset 29fd023f999f (bug 1418425)
Backed out changeset 218077e82115 (bug 1418425)
2018-01-12 11:32:58 +02:00
Sylvestre Ledru 6c3b68c5e8 Bug 1418425 - Remove libbz2 files as we were only using it for crc32 as the updater moved to lzma r=glandium
MozReview-Commit-ID: 8Sz8vtV0b5G

--HG--
extra : rebase_source : 00ea1457bc84584bf272164570dda8a6e55ca4b6
2017-11-24 16:45:47 +01:00
Mike Hommey bb2afff5c1 Bug 1425381 - Always enable PIE on Android now that we support only >= 4.1. r=froydnj
--HG--
extra : rebase_source : c73d77ab1274b2dd54a3785a6d77c6e8dcb69f87
2018-01-11 10:42:15 +09:00
Mike Hommey 083542c950 Bug 1429282 - Explicitly link against a bunch of OSX frameworks we end up linking. r=gps
The OSX linker apparently decides on its own to link against system
frameworks. We end up with libxul linked to 6 frameworks that were never
given on the command line, and we do use symbols from those.
Interestingly, for those frameworks that don't appear on the command
line, there is no determinism in how stubs for lazy bindings (equivalent
to Linux's PLT, AIUI) are laid out in the binary. But for those that do
appear on the command line, the layout is deterministic.

So add those frameworks to the command line.

With this change, the remaining difference between two builds of the
same changeset on try is due to symbol tables for profiling. Stripping
those (like we do on beta/release) produces no differences.

--HG--
extra : rebase_source : 151342f3c0067c16c26e111247f6da58f4b639be
2018-01-10 11:22:10 +09:00
Sylvestre Ledru ff19deaa32 Bug 1423856 - Backed out changeset 411a410f23b4. Seems that bug 1424294 wasnt' enough to fix it r=me 2017-12-22 21:36:17 +01:00
Andreea Pavel 78bc55ae1f Merge inbound to mozilla-centra r=merge a=merge 2017-12-22 11:54:07 +02:00
Mike Hommey cffd7e8396 Bug 1426555 - Move --enable-stdcxx-compat to python configure. r=chmanchester
At the same time, we make it actually do something on spidermonkey
builds. We also add an environment variable alternative, that we use
in mozconfig.stdcxx, allowing for mozconfig.no-compile to override it
and avoid configure failures on e.g. artifact builds.

--HG--
extra : rebase_source : b68d362025e0c99f9184a03391c652ec2c9357ad
2017-12-21 11:13:08 +09:00
Mike Hommey ec8fa73867 Bug 1426555 - Allow to add host compiler flags from python configure. r=chmanchester
Bug 1325632 added some facility to add target compiler flags. This
change extends it to add allow adding host compiler flags as well.

--HG--
extra : rebase_source : 424b405a1d8f9a4778ff75c3308c9622f050e194
2017-12-21 11:11:22 +09:00
David Major 58e7ba18e5 Bug 1426198: Skip the linker version check in lld builds. r=glandium 2017-12-20 10:28:24 -05:00
David Major 18a5250f02 Bug 1425906: Rename LINK to LINKER throughout the build system. r=glandium
Windows linkers give special meaning to getenv("LINK"), which makes `export LINK=...` in mozconfigs do unexpected things.
2017-12-20 09:07:46 -05:00
Nathan Froyd de9853b2ff Bug 1425035 - move --enable-ui-locale to moz.configure; r=gps
We need MOZ_UI_LOCALE even when building the JS shell so
config/config.mk variable assignments don't run into issues.  But it
doesn't make any sense to configure a UI locale for the JS shell.  So
make --enable-ui-locale a normal `option`, but give it a `default`,
which is the value shell-only builds will always see.

--HG--
extra : amend_source : 047759dd6ec446d9d6f8f5992ed9cf6628ce859e
2017-12-18 14:21:26 -08:00
Nathan Froyd 6d4a891a5f Bug 1422859 - move MOZILLA_*VERSION setting into moz.configure; r=chmanchester
This has the virtue of not executing python three times during configure
just to read the same value of milestone.txt and munge it.  We can also
remove milestone.py as a happy side effect, so all the milestone
computations can be done in init.configure.
2017-12-04 11:19:25 -05:00
Nathan Froyd 74128f6578 Bug 1422852 - remove D_INO setting from configure; r=chmanchester
We only had this "for flexibility with other platforms", but given that
we set it to the same thing for all platforms, and nobody has tried to
change that, this flexibility isn't actually needed.
2017-12-04 08:18:00 -05:00
Andreea Pavel 88a00ab51b Backed out 5 changesets (bug 1418425) for Windows updater bustages and xpshell failures on toolkit/mozapps/update/tests/unit_base_updater/marSuccessPartial.js r=backout on a CLOSED TREE
Backed out changeset 228743018ded (bug 1418425)
Backed out changeset f29f7bb3059a (bug 1418425)
Backed out changeset 1d798e14223b (bug 1418425)
Backed out changeset fd4af65bf966 (bug 1418425)
Backed out changeset 656649ecfb11 (bug 1418425)

--HG--
extra : amend_source : 686bbebdb6f490496f9c69ccff4ac22bbb495ad5
2017-12-12 17:48:45 +02:00
Sylvestre Ledru 87099dcb69 Bug 1418425 - Remove libbz2 files as we were only using it for crc32 as the updater moved to lzma r=glandium
MozReview-Commit-ID: 8Sz8vtV0b5G

--HG--
extra : rebase_source : dfe12a9c531814ae5fd058f6def7a115d4fe7dac
2017-11-24 16:45:47 +01:00
Tom Prince 1d74db87ce Bug 1424651: Remove unused SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE mozconfig variable; r=ted.mielczarek
MozReview-Commit-ID: CkIg3fiwp1z

--HG--
extra : rebase_source : 5a4a50c8feb477a9b50c30e35b72a316b1f1bc8c
2017-12-10 23:05:05 -07:00
Dorel Luca 2f271a1136 Backed out 4 changesets (bug 1424651) as requested by tomprice r=backout on a CLOSED TREE
Backed out changeset 10ebf78f32bb (bug 1424651)
Backed out changeset 746d96792d18 (bug 1424651)
Backed out changeset 6038fb7b458c (bug 1424651)
Backed out changeset 189fd4f1df41 (bug 1424651)
2017-12-12 06:33:18 +02:00
Tom Prince 4dfc8f7a46 Bug 1424651: Remove unused SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE mozconfig variable; r=ted.mielczarek
MozReview-Commit-ID: CkIg3fiwp1z

--HG--
extra : rebase_source : 475e2d8888ff4b93efa9886581de9d145b51c51c
2017-12-10 23:05:05 -07:00
Gurzau Raul 91d3bc0100 Merge inbound to mozilla-central r=merge a=merge 2017-12-09 00:36:15 +02:00
Ryan VanderMeulen 01e424a4bc Bug 1423649 - Fix compiler errors that happen when building with VS2017 15.5. r=rillian 2017-12-08 10:40:08 -05:00
Cosmin Sabou c3a26ac81a Backed out changeset 1ee72d1a9430 (bug 1418052) for Linux x64 asan build bustages on /builds/worker/workspace/build/src/config/recurse.mk:32 r=backout on a CLOSED TREE 2017-12-08 13:44:13 +02:00
Tom Ritter 45ec0ac30c Bug 1418052 Correctly process hardening flags for ASAN, --disable-hardening, and --disable-optimize r=decoder,glandium
Will also address Bug 1377553 and part of Bug 1419607

MozReview-Commit-ID: AUCqBxEGpAl

--HG--
extra : rebase_source : f7582d7089f0f4582a02aeaef090dc0701df994d
2017-11-20 22:20:56 -06:00
Henri Sivonen b1be86855c Bug 1423846 - Remove configure script checks for iconv and mbrtowc/tcrtomb. r=glandium
MozReview-Commit-ID: LCQ0yoSsvi1

--HG--
extra : rebase_source : c8dfc9adac65be4f3404ca91bd3b1cd792bd9c7d
2017-12-07 14:06:53 +02:00
Sylvestre Ledru fc575c2f27 Bug 1423856 - Remove the space in the .app files to fix a potential update issue r=glandium
MozReview-Commit-ID: 5lpe1or6Hod

--HG--
extra : rebase_source : eecf06f83f9ab0257d768c01eaa3452fa914f3d9
2017-12-07 23:39:30 +01:00
Jean-Yves Avenard cfa7a324aa Bug 1331696 - P1. Remove WebSpeech Pico service. r=chmanchester,eeejay
It's no longer used, and won't be able to work with the removal of speech synth direct audio support.

MozReview-Commit-ID: BMdeRJHes0R

--HG--
extra : rebase_source : 9f45b360d27f8013ef229eba79e9d9921d0fdb26
2017-12-02 09:17:39 +01:00
arthur.iakab 4dcbca110a Backed out 3 changesets (bug 1331696) for failing browser chrome on toolkit/components/narrate/test/browser_narrate.js r=backout on a CLOSED TREE
Backed out changeset 4f5d0c5f191b (bug 1331696)
Backed out changeset ce87e2d2f1db (bug 1331696)
Backed out changeset e2c5f5afb6fc (bug 1331696)
2017-12-07 00:25:35 +02:00
Jean-Yves Avenard 7dc06780fc Bug 1331696 - P1. Remove WebSpeech Pico service. r=chmanchester,eeejay
It's no longer used, and won't be able to work with the removal of speech synth direct audio support.

MozReview-Commit-ID: BMdeRJHes0R

--HG--
extra : rebase_source : 9f45b360d27f8013ef229eba79e9d9921d0fdb26
2017-12-02 09:17:39 +01:00
Sylvestre Ledru 06be3310e3 Bug 1407285 - Support spaces in MOZ_MACBUNDLE_NAME and in various Makefile and tools r=glandium
MozReview-Commit-ID: Eda1qiPCTJ0

--HG--
extra : rebase_source : 1766fd1c1b78244161efce0b6db8b58dd2ec2009
2017-11-28 23:21:54 +01:00
Sebastian Hengst 8faace1526 Backed out changeset 9fff8b2fcf78 (bug 1407285) for L10n bustage. r=backout a=backout 2017-12-05 01:28:11 +02:00
Bogdan Tara ebe0a1a20c Merge inbound to mozilla-central r=merge a=merge 2017-12-04 22:20:49 +02:00
Nathan Froyd ec3249906a Bug 1422607 - move PREPROCESS_OPTION to moz.configure; r=chmanchester 2017-12-04 08:14:06 -05:00
Sylvestre Ledru 250a624c2a Bug 1407285 - Support spaces in MOZ_MACBUNDLE_NAME and in various Makefile and tools r=glandium
MozReview-Commit-ID: Eda1qiPCTJ0

--HG--
extra : rebase_source : c85c5e8bfb5a0f0dc673ea0b6fce1ac1162d9497
2017-11-28 23:21:54 +01:00
Jean-Yves Avenard c5a31b73d7 Bug 1420165 - Enforce objective-c/c++ language type when compiling .m/mm files. r=ted
This work around is required when using icecream distributed compilers. Icecream doesn't pass the original filename that would allow the remote clang to automatically determine the language type.

MozReview-Commit-ID: LMs022jDkPt

--HG--
extra : rebase_source : d3d43c29f0e2cf91a29677a1e827463f9e0a9f1d
2017-11-24 12:36:04 +01:00
Sylvestre Ledru 6b2451834b Bug 1423856 - Backed out changeset 3f6d2b219c78. Fixed in bug 1424294 r=me 2017-12-21 22:13:18 +02:00
Dorel Luca 3d27ce2abc Backed out changeset 5d8ae8c4ee4a (bug 1423856) for failing Browser-chrome on toolkit/xre/test/browser_checkdllblockliststate.js on a CLOSED TREE 2017-12-21 21:02:38 +02:00
Sylvestre Ledru 7819c31d06 Bug 1423856 - Backed out changeset 3f6d2b219c78. Fixed in bug 1424294 r=me
--HG--
extra : histedit_source : ee2cbb87a07959db218d83014e66cd434105778f
2017-12-18 14:53:06 +01:00
Cosmin Sabou 1204c668a2 Backed out 5 changesets (bug 1423856, bug 1404796, bug 1378834, bug 1404823) for build bustages on compare-mozconfigs-wrapper.py r=backout on a CLOSED TREE
Backed out changeset 8d8bb8542b3d (bug 1423856)
Backed out changeset 42339ef2360c (bug 1404796)
Backed out changeset 75fd371db04b (bug 1404823)
Backed out changeset 3011254797d5 (bug 1378834)
Backed out changeset c76ad732c275 (bug 1378834)
2017-12-21 00:52:28 +02:00
Sylvestre Ledru 3635c8d960 Bug 1423856 - Backed out changeset 3f6d2b219c78. Fixed in bug 1424294 r=me
--HG--
extra : rebase_source : 27916ba352398d292404466c8a71490905d10650
extra : histedit_source : 49daf53778ccac34880220f7acbcb4157bdca4ad
2017-12-18 14:53:06 +01:00
Petr Sumbera fb96ead697 Bug 1419321 - Linking on Solaris is missing -L${DIST}/bin. r=chmanchester 2017-11-21 01:13:01 -08:00
Gabriele Svelto 0a82b2b0c6 Bug 1418398 - Always un-define _FORTIFY_SOURCE before defining it; r=glandium
MozReview-Commit-ID: 6yN6kA0jQWg

--HG--
extra : rebase_source : 6b805851198fac42e556361557ea6e0524e0ff82
2017-11-20 14:41:35 +01:00
Sylvestre Ledru 903d326169 Bug 1406662 - When defined in the configure.sh, use the MOZ_MACBUNDLE_ID r=glandium
Preserving the MOZ_MACBUNDLE_ID will avoid issue related to bundle identifier

MozReview-Commit-ID: IDIZGl6usXA

--HG--
extra : rebase_source : b01934cdf8a42d805ae467cc08b5beafb02c0732
2017-11-16 09:44:35 +01:00
Tom Ritter aa8fffed76 Bug 1417452 Do not add FORTIFY_SOURCE if --enable-optimize is not set r=glandium
MozReview-Commit-ID: EMjeTvqdME3

--HG--
extra : rebase_source : 86be082ff0fa63099cb54f6665e0cdd8aec8ed49
2017-11-16 13:42:20 -06:00
Mike Hommey 6e39384683 Bug 1417689 - Move elfhack related things to python configure. r=nalexander 2017-11-16 09:37:31 +09:00
Ryan VanderMeulen 6f628fbb68 Bug 1411417 - Upgrade to SQLite 3.21.0. r=mak
--HG--
extra : rebase_source : c6b3dac3cb1bd25edb2a46f7b9c7c60ddc1760af
2017-11-15 18:40:32 -05:00
Mike Hommey 2d81d309b4 Bug 1417309 - Only build elfhack when building a toolkit-based application. r=nalexander 2017-11-16 08:37:31 +09:00
Nathan Froyd f51359bd19 Bug 1325632 - part 5 - ensure that we compile with -fno-sized-deallocation when possible; r=chmanchester
We currently turn off the C++14 sized-deallocation facility on MSVC, and
we'd like to ensure we do the same thing for clang and gcc.  To do so,
we add new functionality to moz.configure for checking and adding
compilation flags, similar to the facility for checking and adding
warning flags.  The newly added facility is then used to add
-fno-sized-deallocation to the compilation flags, when the option is
supported.

Once we do this, we can't define the sized deallocation functions in
mozalloc.h; the compiler will complain that we are using
-fno-sized-deallocation, yet defining these special functions that we'll
never use.  These functions were added for MinGW, where we needed to
compile with C++14 ahead of other platforms to be compatible with MSVC
headers.  But they're no longer necessary, though they would be if we
removed -fno-sized-deallocation; the compiler will complain if we do
that and we'll add them back at that point.
2017-11-15 14:53:16 -04:00
Noemi Erli f24a75f9b7 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-15 12:15:40 +02:00
Chris Peterson 768b96f58b Bug 1415470 - build: Enable VS2017 C5038 initializer list order warnings (like gcc -Wreorder). r=glandium
C5038 is a new warning in VS2017, similar to gcc and clang's -Wreorder, which is enabled by -Wall. We should enable C5038 so Windows developers can see these warnings locally instead of when gcc and clang fail with warnings-as-errors on Try.

https://blogs.msdn.microsoft.com/vcblog/2017/07/21/diagnostic-improvements-in-vs2017-15-3-0/

We need to suppress C5038 warnings from Windows Runtime Library header files (wrl.h) included in ANGLE and widget/windows:

z:\build\build\src\vs2017_15.4.2\SDK\Include\10.0.15063.0\winrt\wrl\wrappers\corewrappers.h(515): error C5038: data member 'Microsoft::WRL::Wrappers::Details::SyncLockWithStatusT<Microsoft::WRL::Wrappers::HandleTraits::SemaphoreTraits>::sync_' will be initialized after data member 'Microsoft::WRL::Wrappers::Details::SyncLockWithStatusT<Microsoft::WRL::Wrappers::HandleTraits::SemaphoreTraits>::status_'
...

And suppress C5038 warnings in upstream webrtc code:

media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.cpp(176): error C5038: data member 'mozilla::media::BaseFilter::mClsId' will be initialized after data member 'mozilla::media::BaseFilter::mState'
media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp(169): error C5038: data member 'mozilla::media::BasePin::mFilter' will be initialized after data member 'mozilla::media::BasePin::mLock'
media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp(170): error C5038: data member 'mozilla::media::BasePin::mLock' will be initialized after data member 'mozilla::media::BasePin::mName'
media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp(172): error C5038: data member 'mozilla::media::BasePin::mDirection' will be initialized after data member 'mozilla::media::BasePin::mQualitySink'

MozReview-Commit-ID: BMDVkvQXNoq

--HG--
extra : rebase_source : 0d5ede9530d0d0750b8fffdc1cdfdc646ec8f22a
2017-11-07 19:52:10 -08:00
Chris Peterson fecbada13a Bug 1415470 - build: Remove always-true version check for VS >= 2015. r=glandium
MozReview-Commit-ID: 1e4Xsw3U3LR

--HG--
extra : rebase_source : 72a94b544027ec9b1a4993f924dfc9490d37ff87
2017-11-10 18:24:53 -08:00
Tom Ritter d86bb6f599 Bug 1414067 Fix the compiler test for FORTIFY_SOURCE r=glandium
MozReview-Commit-ID: 8ozY0Zbuczx

--HG--
extra : rebase_source : 7c99ea332b0da1ac20ec1037fb0dc4ac9088d8f8
2017-11-14 12:13:30 -06:00
Chris Manchester 0ae43c13af Bug 1416490 - Backed out changeset 6a412222f22e (bug 1320738) in favor of fixing the underlying issue. r=glandium
MozReview-Commit-ID: 5JaoquWq5Jj

--HG--
extra : rebase_source : 70f3cff23ab7d4d0f0e79d1cf207b0462c355ce0
2017-11-13 23:34:20 -08:00
Chris Manchester 72c380c671 Bug 1416059 - Emit ASFLAGS and YASM_ASFLAGS from configure as lists. r=mshal
MozReview-Commit-ID: LBWpzQ9mISI

--HG--
extra : rebase_source : 4c722e68db4b6858aabbbecac834ea8772e0e06a
2017-11-14 10:38:17 -08:00
Andreea Pavel a1061f09c5 Backed out 2 changesets (bug 1416059) for failing /python/mozbuild/mozbuild/test/frontend/test_emitter.py::TestEmitterBasic::test_use_yasm r=backout on a CLOSED TREE
Backed out changeset 597624409f4c (bug 1416059)
Backed out changeset d0df69766fa5 (bug 1416059)
2017-11-14 20:44:54 +02:00
Chris Manchester 4dca13b1ae Bug 1416059 - Emit ASFLAGS and YASM_ASFLAGS from configure as lists. r=mshal
MozReview-Commit-ID: LBWpzQ9mISI

--HG--
extra : rebase_source : f4074f4bdb0acddceeb57d9806c9a7f63a579280
2017-11-13 14:13:11 -08:00
Nathan Froyd 6dbf81d94f Bug 1320738 - export MOZ_PGO for js/src subconfigure; r=gps
Environment variables for configure don't get automatically propagated
down to js/src on Windows because mingw. So we have to take extra steps.

--HG--
extra : amend_source : fc123e7439ebbf97884eeb56af8409c7b3294b21
2017-11-10 20:08:49 -08:00
Nathan Froyd 4d60ad6f66 Bug 1341234 - part 3 - add various system library CFLAGS to BINDGEN_SYSTEM_FLAGS; r=gps
This change ensures that folks who configure --with-system-FOO for
various values of FOO can build Stylo, since bindgen will know where to
find the flags for said FOO packages.
2017-11-10 10:05:36 -05:00
Nathan Froyd 17b6101551 Bug 1341234 - part 2 - add an intermediate step for determining bindgen's CFLAGS; r=gps
Add an intermediate step in old-configure.in for setting up
BINDGEN_CFLAGS (renamed to BINDGEN_SYSTEM_FLAGS), so we can add whatever
flags we like (e.g. for system libaries with their includes in
non-standard places) at a later point.
2017-11-10 10:05:36 -05:00
Sebastian Hengst a353221537 merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-09 00:00:16 +02:00
Franziskus Kiefer 714a126090 Bug 1401594 - land NSS NSS_3_34_BETA2 UPGRADE_NSS_RELEASE, r=me
MozReview-Commit-ID: IZcYFTH0x9o

--HG--
extra : rebase_source : 224952488b3e4beef03d707aa43c17a095df02f9
2017-11-08 11:44:14 +01:00
Valentin Gosu 132162d150 Bug 1415206 - Remove RustURL from Gecko r=bagder
This class isn't being used right now, and MozURL is a much better alternative if interaction with rust URLs is required.

MozReview-Commit-ID: ADdYRrrTnr6

--HG--
extra : rebase_source : b36aa26c20e7daaadab1f3360bab0ed4681eb7f8
2017-11-07 17:11:08 +01:00
Jean-Yves Avenard ee1feb36a7 Bug 1412558 - P2. Disable ffvp8 and ffvp9 decoders on Unixes 32 bits. r=mshal
The system ffmpeg will be used instead or libvpx if not found.

MozReview-Commit-ID: GX5WWPOhPq9

--HG--
extra : rebase_source : 3eec2ee1bc3b66d88653b913d6d1b3ad1a5d5acd
2017-11-06 17:57:48 +01:00
Chris Manchester 77480a3b4d Bug 1414064 - Move BIN_FLAGS to MOZ_PROGRAM_LDFLAGS, get rid of BIN_FLAGS. r=mshal
MozReview-Commit-ID: ELTiYvh6iuS

--HG--
extra : rebase_source : 1547fa9b247649a485c4d31f8bdb7db05a50e043
2017-11-07 14:34:44 -08:00
Chris Manchester 732b66708f Bug 1414064 - Remove WRAP_LDFLAGS, it is never set in the build system. r=mshal
MozReview-Commit-ID: Da4a4JmaxoL

--HG--
extra : rebase_source : 837e83e6836ea25d64f013b2b16456f9f6bcb88f
2017-11-07 14:34:44 -08:00
Masatoshi Kimura 383e90a03b Backed out changeset 6555a2a899a0 (bug 1384557) due to causing bug 1414060. r=backout
MozReview-Commit-ID: FV44JQSDXPQ

--HG--
extra : amend_source : 8c05281fad889edd723ab58786d0bf16f7d325b0
2017-11-07 20:39:00 +09:00
Martin Thomson 195dbda63e Bug 1414735 - Upgrade Firefox to NSS 3.35, r=franziskus UPGRADE_NSS_RELEASE
MozReview-Commit-ID: 6hDnHCWVeWz

--HG--
extra : rebase_source : 4bf98010c7afefe9bc0f2da240bb676bd82496b6
2017-11-07 12:24:58 +11:00
Csoregi Natalia c1537027d2 Backed out 1 changesets (bug 1414735)
Backed out changeset f019d4ffff53 (bug 1414735)for failing Gtest TransportTest.TestCipherMismatch and Xpcshell dom/presentation/tests/xpcshell/test_tcp_control_channel.js tests on a CLOSED TREE r=backout UPGRADE_NSS_RELEASE
2017-11-06 12:27:00 +02:00
Martin Thomson 0cfea8948c Bug 1414735 - Upgrade Firefox to NSS 3.35, r=franziskus
UPGRADE_NSS_RELEASE

MozReview-Commit-ID: KRx6mpQC4rr

--HG--
extra : rebase_source : 1d28c3b4a50d3df02dd9e7a6564aa4e4c4bd2865
extra : amend_source : 060c22bd61acfbb2c63ba9d684539a2d30747cd9
2017-11-06 18:55:42 +11:00
Sebastian Hengst be1041c906 Backed out changeset f8eae610782a (bug 1414067) for Android build bustage at media/libstagefright/system/core/include/cutils/properties.h:61: use of undeclared identifier 'PROP_VALUE_MAX'. r=backout on a CLOSED TREE 2017-11-03 17:33:15 +01:00
Tom Ritter 3ad2a4dd91 Bug 1414067 Fix the compiler test for FORTIFY_SOURCE r=glandium
MozReview-Commit-ID: 8ozY0Zbuczx

--HG--
extra : rebase_source : d1e05783316126667a59e24e597951a9bbcd1b81
2017-11-02 16:25:30 -05:00
Jean-Yves Avenard 2f8b62c59a Bug 1295886 - P16. Enable FLAC C decoder on aarch64 machines. r=mshal
MozReview-Commit-ID: 9i3AaG5CGex

--HG--
extra : rebase_source : 2e6cc87d2e1629d5b44fd67627675c4460201023
2017-11-02 10:51:22 +01:00
Jean-Yves Avenard dae7070b4a Bug 1295886 - P14. Add arm neon and vfp optimized methods to ffmpeg. r=mshal
MozReview-Commit-ID: KMUZoDWoisi

--HG--
extra : rebase_source : a08eae842680b9d475bfc0afd2d569533dba676b
2017-11-02 01:48:00 +01:00