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

982 Коммитов

Автор SHA1 Сообщение Дата
Tom Ritter 339f505631 Bug 1576474 - Remove a configure option for mingw-gcc which we no longer support r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D43356

--HG--
extra : moz-landing-system : lando
2019-08-25 19:57:34 +00:00
Mike Hommey 66d7fe943e Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D42765

--HG--
extra : moz-landing-system : lando
2019-08-21 12:25:42 +00:00
Nathan Froyd 87c432d06a Bug 1570982 - remove `CPP_THROW_NEW`; r=glandium
We always define it to the same thing, and we're inconsistent in whether
we use `CPP_THROW_NEW` or `throw()`, so we might as well just use the
standard C++ thing and get rid of some baggage.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 01:32:41 +00:00
Aaron Klotz d55b1b38d0 Bug 1568634: Remove kernel32.lib from LIBS in old-configure.in; r=glandium
Since kernel32.lib is a defaultlib we do not need to explicitly include it
in the OS_LIBS list; the linker will implicitly add it to the end of the list.
In fact, its presence interferes with other explicitly added .lib files that
should take precedence.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 03:30:20 +00:00
rdalal 43acd674ea Bug 1569330 - Disable telemetry check in Normandy recipe runner r=mythmon,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39576

--HG--
extra : moz-landing-system : lando
2019-08-06 23:54:34 +00:00
Makoto Kato f8907645db Bug 1568452 - Move ANDROID and ANDROID_PLATFORM to moz.configure r=froydnj
ANDROID_SOURCE is for gonk, so it is unnecessary now.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 13:41:20 +00:00
Nathan Froyd c27638c4bd Bug 1567888 - remove unneeded QT-related rules and configure bits; r=nalexander
We needed these rules and bits for the QT widget port, but there's no
longer a QT port in the tree, so we might as well remove them.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 18:53:43 +00:00
Mike Hommey 9f33118c8c Bug 1562952 - Always build signmar when mar is built. r=nalexander
When we build mar, there is no reason not to build signmar as well. It
used to be optional because not all platforms were supported, but they
are now.

... except when building the newly added tools/update-packaging,
which builds the mar tool as a standalone thing, and building signmar
as well causes complications.

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

--HG--
extra : moz-landing-system : lando
2019-07-16 19:01:03 +00:00
Ryan VanderMeulen 607c428400 Bug 1564889 - Upgrade to SQLite 3.29.0. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D38104

--HG--
extra : moz-landing-system : lando
2019-07-16 11:42:14 +00:00
Bogdan Tara 4d6dbdf94c Backed out 2 changesets (bug 1562952) for causing mar-tools failures a=backout
Backed out changeset 6b09d4c0868c (bug 1562952)
Backed out changeset 250696e18e7d (bug 1562952)
2019-07-12 00:04:53 +03:00
Mike Hommey c957b25a9f Bug 1562952 - Always build signmar when mar is built. r=nalexander
When we build mar, there is no reason not to build signmar as well. It
used to be optional because not all platforms were supported, but they
are now.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 06:09:02 +00:00
J.C. Jones 12e7f4d58f Bug 1564499 - land NSS 264f19e7ede7 UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : ff8107777ed0677caaa7249d77f5cf3871c25de2
extra : amend_source : bc8998d1b575164552d4b44396a7db4122a04777
2019-07-09 18:01:15 +00:00
Alvina Waseem 627ccdaaa3 Bug 1558372 - Fixed Crash Reporter on Mac. r=snorp,froydnj,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D35877

--HG--
extra : moz-landing-system : lando
2019-06-27 19:51:04 +00:00
J.C. Jones 3149681bcf Bug 1558977 - Upgrade NSS 3.45 r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D34784

--HG--
extra : moz-landing-system : lando
2019-06-12 23:22:22 +00:00
Mike Hommey 85e29d1e3b Bug 1557583 - Add a --enable-frame-pointers option. r=chmanchester
We've been relying on frame pointers being indirectly enabled via things
like --enable-profiling for some time, but this doesn't scale because
some things may want frame pointers while wanting --disable-profiling.

So we move MOZ_FRAMEPTR_FLAGS to python configure and add a new option
to decide whether to enable frame pointers or not.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 22:30:46 +00:00
Dana Keeler 61ec77eb24 bug 1555110 - Backed out changeset a187487af38a to disable cert_storage on non-nightly builds r=jcj,froydnj
There are ongoing lmdb issues we need to sort out before we can ship
cert_storage (see e.g. bug 1538541 and bug 1550174).

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

--HG--
extra : moz-landing-system : lando
2019-05-29 00:11:53 +00:00
Matthew Finkel 15773980e5 Bug 1478438 - Delete unused confvars entries on Android r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D31421

--HG--
extra : moz-landing-system : lando
2019-05-17 16:37:35 +00:00
Dana Keeler 69828aa2fe Bug 1548365 - enable intermediate preloading on early beta or earlier r=froydnj,jcj
This also enables using cert_storage for OneCRL, since it and intermediate
preloading both use the same backend.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 00:03:09 +00:00
Mike Hommey fa3631a2e3 Bug 1549886 - Move MOZ_TELEMETRY_REPORTING to python configure. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D30335

--HG--
extra : moz-landing-system : lando
2019-05-08 14:33:54 +00:00
Ryan VanderMeulen f19c988566 Bug 1548617 - Keep Telemetry enabled for Fennec Nightly builds after they migrate from mozilla-central. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D29726

--HG--
extra : moz-landing-system : lando
2019-05-02 19:37:32 +00:00
Ryan VanderMeulen 5c6938eb9c Bug 1544443 - Upgrade to SQLite 3.28.0. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D29379

--HG--
extra : moz-landing-system : lando
2019-04-30 16:51:39 +00:00
Mike de Boer 775fbffcb9 Bug 1518551 - Remove the 'MOZ_TOOLKIT_SEARCH' build config constant, because it's unused; we always enable the search service. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D27702

--HG--
extra : moz-landing-system : lando
2019-04-24 08:52:32 +00:00
Martin Stransky e1d04ebd15 Bug 1433685 - Remove nsGConfService, r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D26484

--HG--
extra : moz-landing-system : lando
2019-04-10 10:18:14 +00:00
J.C. Jones d602553050 Bug 1539227 - land NSS 67c41e385581 UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : cd4c8d05e32ee16c9aaa1aeb23014b2299c100fd
2019-03-26 18:48:46 +00:00
Nicholas Nethercote a955ca9592 Bug 1535226 - Remove uses of XP_WIN32 in Gecko. r=glandium
The definitions can't be entirely removed yet because NSS still needs them.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 01:28:50 +00:00
Mike Hommey e267d3e594 Bug 1524429 - MOZ_ANDROID_CPU_ARCH doesn't need MOZ_ARCH. r=nalexander
It hasn't needed it since bug 1397776.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 22:46:10 +00:00
Andreea Pavel f7b09c8773 Backed out 2 changesets (bug 1524429) for build bustages at lint.py on a CLOSED TREE
Backed out changeset 7947b90f1580 (bug 1524429)
Backed out changeset 1a5a5aef01d5 (bug 1524429)
2019-03-20 02:16:41 +02:00
Mike Hommey fc262970ca Bug 1524429 - MOZ_ANDROID_CPU_ARCH doesn't need MOZ_ARCH. r=nalexander
It hasn't needed it since bug 1397776.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 17:09:41 +00:00
Alex Gaynor 177fb00eba Bug 1375863 - fold MOZ_CONTENT_SANDBOX and MOZ_GMP_SANDBOX into MOZ_SANDBOX; r=jld,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D22975

--HG--
extra : moz-landing-system : lando
2019-03-18 22:31:59 +00:00
David Major e5773183d6 Bug 1528074 - Remove MSVC warning flags that clang-cl doesn't understand r=chmanchester
Per the previous patch, clang-cl only understands five MSVC-style warning flags: 7219c7e9af/clang/include/clang/Driver/CLCompatOptions.td (L188-L197)

This patch removes the flags that clang-cl doesn't understand.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 20:19:08 +00:00
Mike Hommey 7b5468921f Bug 1513605 - Add PIC flags when running the clock_gettime(CLOCK_MONOTONIC) check. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D23091

--HG--
extra : moz-landing-system : lando
2019-03-12 14:14:43 +00:00
Ryan VanderMeulen fc4475e69c Bug 1530749 - Upgrade to SQLite 3.27.2. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D21238

--HG--
extra : moz-landing-system : lando
2019-02-26 23:21:05 +00:00
Cosmin Sabou 8cb8ef3973 Merge mozilla-central to autoland. 2019-02-15 20:50:34 +02:00
Ryan VanderMeulen 85ee22eddd Bug 1526125 - Upgrade to SQLite 3.27.1. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D19779

--HG--
extra : moz-landing-system : lando
2019-02-15 08:45:10 +00:00
J.C. Jones 323f397330 Bug 1523175 - land NSS b7713856ebf2 UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : 9dbb754fb73fde471308ac331ae445a45c77c870
extra : amend_source : 68c501b209d49f8c5d04c891056dda2a9057fbd9
2019-02-14 21:41:08 +00:00
Mike Hommey 029e8b5700 Bug 1524461 - Run the clock_gettime(CLOCK_MONOTONIC) configure check on OSX. r=froydnj
That will make it detected when we bump the MACOSX_DEPLOYMENT_TARGET
to a value >= 10.12.

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

--HG--
extra : moz-landing-system : lando
2019-02-04 23:26:34 +00:00
Gabriele Svelto 8d85af8b4f Bug 1524142 - Ensure that MOZ_CRASHREPORTER is properly defined in Windows/AArch64 builds r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D18216

--HG--
extra : moz-landing-system : lando
2019-02-01 22:27:19 +00:00
Makoto Kato b93b9a8c45 Bug 1515004 - Move --with-android-sdk to moz.configure. r=nalexander
Since ./mach bootstrap installs Android SDK into ~/.mozbuild, we should detect
this location as default SDK install path.

Also, --with-android-max-sdk and --with-android-min-sdk are still in android.m4
because confvars.sh sets MOZ_ANDROID_MIN_SDK_VERSION.

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

--HG--
extra : moz-landing-system : lando
2019-02-01 21:12:51 +00:00
Mike Hommey b3d350e01f Bug 1523851 - Remove system sqlite compile option tests. r=mak
Those tests rely on the build not being a cross-compile, which is fine
most of the time, but more importantly, rely on the fact that the
version of sqlite that Firefox is being built against is the same as the
one it will be running against, which is not likely to be true.

So, all in all, it's better to do the checks at runtime.

And while they could be restricted to when building against system
sqlite, we still run them for in-tree sqlite, to ensure that we actually
built it with the expected options.

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

--HG--
extra : moz-landing-system : lando
2019-01-31 09:58:29 +00:00
Mike Hommey 9f9fcb476e Bug 1523851 - Remove the dynamic_cast<void*> test. r=froydnj
It relies on AC_TRY_RUN, which doesn't work on cross-compiles. What this
means is that the feature has been disabled on mac builds on automation
ever since we switched to cross-compiles. It's still enabled on local
mac builds because the test runs there, and returns "yes". It also means
it's disabled on Android, where it probably works (at least debug tests
on try don't complain).

It also doesn't currently run on Windows because it's in a skipped
section on Windows, but if moved out of that section, the test returns
"no".

So, we remove any configure test for the feature, in favor of
preprocessor checks in nsTraceRefcnt.cpp.

Depends on D18055

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

--HG--
extra : moz-landing-system : lando
2019-01-30 14:25:33 +00:00
Mike Hommey 730c219ac9 Bug 1523851 - Remove the AC_FUNC_MEMCMP test. r=froydnj
Autoconf 2.13 documentation says: "If the memcmp function is not
available, or does not work on 8-bit data (like the one on SunOS 4.1.3),
add `memcmp.o' to output variable LIBOBJS."

The documentation of more recent versions of autoconf also mention NeXT
x86 OpenStep, and say "This macro is obsolescent, as current systems
have a working memcmp. New programs need not use this macro."

We're also not using LIBOBJS, so, even if somehow some machine had the
test detect something weird going on, the result of the test wouldn't
have an effect on the build anyways.

Apart from that, it's also one of the few tests that relies on actually
running a compiled binary during configure, which requires some
autoconf-specific definition of cross-compilation (where --target=i686
--host=x86_64 is not cross-compilation), and we're better off getting
rid of such tests completely.

Depends on D18054

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

--HG--
extra : moz-landing-system : lando
2019-01-30 14:38:56 +00:00
Mike Hommey 21c3b16892 Bug 1523851 - Remove AC_PROG_GCC_TRADITIONAL test. r=froydnj
While not related, it turns out this test was opted in by ourselves,
while it's practically useless. Recent autoconf documentation says it's
obsolescent, and even autoconf 2.13 documentation said with "recent
versions of the GNU C compiler", the issue it's detecting "is becoming
a less prevalent problem". Recent as of 20 years ago.

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

--HG--
extra : moz-landing-system : lando
2019-01-30 14:39:01 +00:00
Mike Hommey 4913b1c2d2 Bug 1523204 - Streamline the DIA SDK setup. r=chmanchester
We currently rely on WIN_DIA_SDK_BIN_DIR being passed, but we can
actually derive it from the DIA SDK directory. So we now do that, except
when it's given explicitly.

While in the vicinity, move the dia2.h check to python configure.

With WIN_DIA_SDK_BIN_DIR being derived and not set when dia2.h is not
found, we don't really need MSVC_HAS_DIA_SDK anymore, so we just check
for WIN_DIA_SDK_BIN_DIR to determine whether to build dump_syms or not.

One exception to the above is when WIN_DIA_SDK_BIN_DIR is passed in,
which we only keep for the in-tree mozconfigs for now. We'll remove that
possibility after bug 1523201.

Depends on D17892

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

--HG--
extra : moz-landing-system : lando
2019-01-29 07:38:14 +00:00
Jan Henning 0282d41347 Bug 1518225 - Target Android P. r=nalexander,snorp
All obvious issues that can be deduced from
https://developer.android.com/about/versions/pie/android-9.0-changes-28
have been addressed, so we should be able to give this a try.

This will also make running tests depending on android.test.* (i.e. mainly
Robocop) work again on devices/emulators running P.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:32:32 +00:00
Jan Henning efeb6ace63 Bug 1503455 - Part 2: Remove compile SDK setting from configure. r=nalexander
Post bug 1498406, this seems to be unused and doesn't affect anything.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:31:57 +00:00
Ciure Andrei a4eeeccf1d Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-01-23 20:55:29 +02:00
J.C. Jones 376e2e4fdd Bug 1512719 - land NSS NSS_3_42_BETA1 UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : b5b0f18427d33d3d88c514a5de3a0e799881a183
extra : amend_source : 56a9b6c2c58b0ef459a03c13626225c09eebbf0c
2019-01-23 17:46:08 +00:00
Mike Hommey 3567be6105 Bug 1521691 - Move the remains of CC_VERSION to python configure. r=chmanchester
which, at this point, is only the AC_SUBST, so we don't even need to
give it to old-configure anymore.

Depends on D17207

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

--HG--
extra : moz-landing-system : lando
2019-01-23 00:27:38 +00:00
Mike Hommey 03a6fa8570 Bug 1521691 - Remove _MSC_VER from configure. r=chmanchester
The only use in configure itself is for a MSVC version check that is now
always true (we don't accept versions < 19.15 anymore).

The only uses in the build system are in code that could just use
CC_TYPE instead.

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

--HG--
extra : moz-landing-system : lando
2019-01-23 00:35:10 +00:00
shindli 2aae270ee0 Backed out 2 changesets (bug 1521691) for bustages in clang-plugin.dll CLOSED TREE
Backed out changeset 09e1109d2350 (bug 1521691)
Backed out changeset cfee3de00f12 (bug 1521691)
2019-01-23 00:51:59 +02:00
Mike Hommey f2798e8385 Bug 1521691 - Move the remains of CC_VERSION to python configure. r=chmanchester
which, at this point, is only the AC_SUBST, so we don't even need to
give it to old-configure anymore.

Depends on D17207

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

--HG--
extra : moz-landing-system : lando
2019-01-22 22:26:28 +00:00
Mike Hommey bc1c78e811 Bug 1521691 - Remove _MSC_VER from configure. r=chmanchester
The only use in configure itself is for a MSVC version check that is now
always true (we don't accept versions < 19.15 anymore).

The only uses in the build system are in code that could just use
CC_TYPE instead.

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

--HG--
extra : moz-landing-system : lando
2019-01-22 22:26:15 +00:00
Mike Hommey aa2783bf67 Bug 1521284 - Don't hardcode config.log path in old-configure. r=nalexander
Because old-configure is only refreshed when, essentially,
old-configure.in changes, hardcoded (absolute) paths don't necessarily
match the build environment of the current build.

So instead, use an environment variable that we pass from python
configure when invoking old-configure.

Also do dummy changes to old-configure.in so that old-configure is
refreshed at least once to get the environment-based value.

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

--HG--
extra : moz-landing-system : lando
2019-01-21 17:32:11 +00:00
Tom Ritter abe451258a Bug 1521133 - Disable string tail merging on Windows ASan builds. r=dmajor 2019-01-18 14:20:12 -05:00
Margareta Eliza Balazs 9dda825205 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-18 12:31:59 +02:00
Mike Hommey 23edf37ef7 Bug 1520149 - Also disable the machine outliner on Android when LTO is enabled. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D16790

--HG--
extra : moz-landing-system : lando
2019-01-17 13:18:37 +00:00
Tom Ritter 3a99ace175 Bug 1520308 - Enable ASLR for mingw-clang builds. r=froydnj 2019-01-14 18:49:23 -06:00
Mike Hommey 1aeaa7d4ef Bug 1520730 - Normalize the config log path before writing it in old-configure. r=froydnj
Add a dummy change to old-configure.in so that old-configure is
force-refreshed.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 13:54:41 +00:00
Mike Hommey b5e5928355 Bug 1520340 - Move subconfigure invocation from old-configure to python configure. r=froydnj
This happens to remove the last use of perl from configure.

Depends on D16621

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

--HG--
extra : moz-landing-system : lando
2019-01-16 23:12:20 +00:00
Mike Hommey 13b49eda02 Bug 1520340 - Use js_options instead of exported variables from old-configure for a few variables. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D16618

--HG--
extra : moz-landing-system : lando
2019-01-15 23:33:47 +00:00
Mike Hommey 09ed4d67e7 Bug 1519603 - Hardcode js/src into subconfigure.py. r=nalexander
Because subconfigure.py is only used for js/src and we're not going to
add any more subconfigures, we can hardcode js/src into the script, and
remove the branches that aren't taken as a consequence.

Depends on D16382

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

--HG--
extra : moz-landing-system : lando
2019-01-14 18:40:41 +00:00
Mike Hommey 4a50a75dd9 Bug 1519603 - Run build/subconfigure.py in one pass. r=nalexander
It was useful to run the prepare phase and the actual subconfigure
separately, but it's not anymore after all the recent simplications.

Depends on D16381

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

--HG--
extra : moz-landing-system : lando
2019-01-14 18:39:12 +00:00
Mike Hommey 95bcdbeaaa Bug 1519603 - Manually inline AC_OUTPUT_SUBDIRS and MOZ_RUN_ALL_SUBCONFIGURES. r=nalexander
Because we only ever run one subconfigure, the machinery to execute
several is not useful anymore. Inlining it allows to simplify the code
too, because it doesn't need to be generic anymore. This also removes
the last remaining bits of acwinpaths.m4.

Also remove now unused support for --list in build/subconfigure.py.

Depends on D16380

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

--HG--
extra : moz-landing-system : lando
2019-01-14 18:37:06 +00:00
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