Commit Graph

301 Commits

Author SHA1 Message Date
Mike Hommey
03a178d7f6 Bug 1501218 - Enable wayland support with --enable-default-toolkit=cairo-gtk3. r=mshal
--enable-default-toolkit=cairo-gtk3-wayland is left to _force_ wayland
support being built in, while --enable-default-toolkit=cairo-gtk3 still
allows to build against a Gtk+ version that doesn't support wayland.

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

--HG--
extra : moz-landing-system : lando
2018-11-14 22:50:43 +00:00
Bogdan Tara
3aead90715 Backed out changeset 3d38289ea246 (bug 1501218) for linux build bustages CLOSED TREE 2018-11-14 01:58:20 +02:00
Mike Hommey
eaa2f0b886 Bug 1501218 - Enable wayland support with --enable-default-toolkit=cairo-gtk3. r=firefox-build-system-reviewers,mshal
--enable-default-toolkit=cairo-gtk3-wayland is left to _force_ wayland
support being built in, while --enable-default-toolkit=cairo-gtk3 still
allows to build against a Gtk+ version that doesn't support wayland.

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

--HG--
extra : moz-landing-system : lando
2018-11-13 22:49:46 +00:00
Mike Hommey
fa7adacfa0 Bug 1506027 - Don't define MOZ_WIDGET_GTK to a numerical value. r=mshal
And simplify related configure code a little.

Depends on D11434

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

--HG--
extra : moz-landing-system : lando
2018-11-13 23:16:59 +00:00
Tooru Fujisawa
f3452023f8 Bug 1492716 - Part 2.1: Support empty string in help formatting rule and fixed some more cases. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D9631
2018-10-24 18:04:00 +09:00
Tooru Fujisawa
cd326f0e81 Bug 1492716 - Part 2: Add formatting rule to help text for --{enable,disable,with,without}. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D8834
2018-10-16 20:28:12 +09:00
Mike Hommey
939c8f01c4 Bug 1504938 - Require xkbcommon >= 0.4.1 when building with wayland enabled. r=firefox-build-system-reviewers,ted
Some XKB_* #defines are used that aren't available in older releases.

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

--HG--
extra : moz-landing-system : lando
2018-11-06 15:29:24 +00:00
Martin Stransky
636020d26c Bug 1501944 - Enable to build wayland target on Gtk 3.10, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D10369

--HG--
extra : moz-landing-system : lando
2018-11-01 11:09:40 +00:00
Andrew Osmond
d87a27c07f Bug 1294490 - Part 5. Add --with-system-webp switch to build. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D8118
2018-10-31 15:01:08 -04:00
Lee Salzman
978391d1a2 Bug 1502152 - Skia m71 mozbuild fixes. r=rhunt 2018-10-30 22:17:34 -04:00
Mike Hommey
148c9de331 Bug 1498450 - Avoid the footgun from @depends-function comparison r=froydnj
While we do have some uses of @depends-function comparison in some
templaces, related to host/target, we ought to be using `is` comparisons
rather than `==` anyways, so we switch those, and prevent other kinds of
comparisons being used at all.

This unveils the one noted in
https://phabricator.services.mozilla.com/D7713?id=21357#inline-30414
(and surprisingly only that one), that we remove entirely since it was
doing nothing in practice. Bug 1492305 will have to add it back in a
proper form.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 13:44:08 +00:00
Randell Jesup
1fc52668ce Bug 1464509: configure changes to ensure jemalloc is used if the profiler is on r=ted 2018-10-09 22:29:02 -04:00
Mike Hommey
b4a498b215 Bug 1496327 - Remove MOZ_ENABLE_XREMOTE r=froydnj
Depends on D7691

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

--HG--
extra : moz-landing-system : lando
2018-10-04 13:55:55 +00:00
Mike Hommey
0580b59e77 Bug 1496327 - Remove --without-x r=froydnj
Bug 1282866 removed the only configuration where it did something.
Since then, using it only leads to a configure error.

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

--HG--
extra : moz-landing-system : lando
2018-10-04 13:54:18 +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
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
Ted Mielczarek
a6f6c8cfb4 Bug 1397263 - move MIDL checks to moz.configure; r=glandium 2018-10-03 20:29:29 -04:00
Markus Stange
3bf3108227 Bug 1457481 - Add a MOZ_GECKO_PROFILER_PARSE_ELF define that's only true on Android. r=ted
This will be used to conditionally compile the rust code for ELF binary parsing,
which will be used by the profiler to dump symbols from system libraries on
Android.

Ideally I'd like to make this only apply to Nightly + Beta configurations, and
not to Release, but there doesn't seem to be an easy way to differentiate
between Beta and Release and doing so might be frowned upon. So now it's going
to be built on all channels on Android, even Release, even though developers
won't be profiling Release channel builds much, and the extra code size isn't
all that valuable for our users.

We definitely need this code to be included on the Beta channel, though, because
Firefox Focus Nightly uses GeckoView from the Beta channel, and we want to get
good profiling information from Focus.

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

--HG--
extra : moz-landing-system : lando
2018-10-02 01:49:13 +00:00
shindli
2cc7085b7a Backed out 4 changesets (bug 1457481) for c1 failures in devtools/client/performance-new/test/chrome/test_perf-settings-entries.html
Backed out changeset 212450f77860 (bug 1457481)
Backed out changeset ac3deff9340f (bug 1457481)
Backed out changeset 4478820fbcaa (bug 1457481)
Backed out changeset 1c8460b1d6da (bug 1457481)

--HG--
rename : third_party/rust/syn-0.14.6/src/parsers.rs => third_party/rust/syn/src/parsers.rs
rename : third_party/rust/syn-0.14.6/src/verbatim.rs => third_party/rust/syn/src/verbatim.rs
rename : third_party/rust/uuid-0.5.1/.travis.yml => third_party/rust/uuid/.travis.yml
rename : third_party/rust/uuid-0.5.1/src/rustc_serialize.rs => third_party/rust/uuid/src/rustc_serialize.rs
rename : third_party/rust/uuid-0.5.1/src/serde.rs => third_party/rust/uuid/src/serde.rs
2018-10-02 01:43:46 +03:00
Brindusan Cristian
9b5034705f Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-02 01:04:29 +03:00
Markus Stange
2fe64a6096 Bug 1457481 - Add a MOZ_GECKO_PROFILER_PARSE_ELF define that's only true on Android. r=ted
This will be used to conditionally compile the rust code for ELF binary parsing,
which will be used by the profiler to dump symbols from system libraries on
Android.

Ideally I'd like to make this only apply to Nightly + Beta configurations, and
not to Release, but there doesn't seem to be an easy way to differentiate
between Beta and Release and doing so might be frowned upon. So now it's going
to be built on all channels on Android, even Release, even though developers
won't be profiling Release channel builds much, and the extra code size isn't
all that valuable for our users.

We definitely need this code to be included on the Beta channel, though, because
Firefox Focus Nightly uses GeckoView from the Beta channel, and we want to get
good profiling information from Focus.

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

--HG--
extra : moz-landing-system : lando
2018-10-01 20:15:08 +00: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
Nathan Froyd
24d4f33325 Bug 1494509 - disable geckodriver on aarch64 windows; r=ato 2018-09-27 12:44:02 -04:00
Aaron Klotz
02c245560d Bug 1488554: Part 3 - Set default value of --enable-launcher-process to true on Windows Nightly builds; r=froydnj
Depends on D4971

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

--HG--
extra : moz-landing-system : lando
2018-09-26 18:46:24 +00:00
Robert Helmer
a076c439b7 Bug 1492940 - re-enable libprio + PrioEncoder on Windows r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D6824

--HG--
extra : moz-landing-system : lando
2018-09-25 22:45:07 +00:00
Dave Townsend
d458b530c5 Bug 1493315: Build config for dedicated profiles and downgrade protection. r=ted
Differential Revision: https://phabricator.services.mozilla.com/D6545

--HG--
extra : moz-landing-system : lando
2018-09-21 23:32:55 +00:00
Thomas Daede
3e8224c602 Bug 1368843: Enable libaom on Android. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D6336

--HG--
extra : moz-landing-system : lando
2018-09-20 08:25:35 +00:00
Andreas Tolfsen
95641b9fb4 bug 1471281: toolkit: make building geckodriver mandatory; r=froydnj
Enable building of geckodriver by default where we have a compile
environment available.  This makes --enable-geckodriver unavailable
to artifact builds.

Following this change:

  * --enable-geckodriver is implied in supported build configurations,
    but may be used in unsupported build configurations (Android,
    cross compiled, and hazard builds) to force geckodriver to be built.

  * --disable-geckodriver causes geckodriver not to be built.

  * In artifact build mode, a geckodriver binary artifact will
    continue to be downloaded, but it will not be possible to
    specify --enable-geckodriver without a compile environment.

  * --disable-tests will imply not building geckodriver, but can
    be overridden using --enable-geckodriver as indicated above.

geckodriver remains disabled by default on cross compile builds
and hazard builds, pointing out Android specifically (although it
is cross compiled).
2018-09-11 10:40:31 +01:00
Robert Helmer
7d4c15f217 Bug 1465251 - use PrioEncoder to encode Telemetry values for pilot project r=kmag
Use PrioEncoder to encode a few already-included histograms, so we can compare results on the Telemetry server side.

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

--HG--
extra : moz-landing-system : lando
2018-09-09 00:23:52 +00:00
Gurzau Raul
a2063df372 Backed out 3 changesets (bug 1488554) for build bustage at configure\test_toolchain_configure.py on a CLOSED TREE
Backed out changeset a21462dc142a (bug 1488554)
Backed out changeset 6a34f5779281 (bug 1488554)
Backed out changeset 0d03acc584bc (bug 1488554)
2018-09-05 04:10:31 +03:00
Aaron Klotz
a223e913b0 Bug 1488554: Part 3 - Set default value of --enable-launcher-process to true on Windows Nightly builds; r=froydnj!
Differential Revision: https://phabricator.services.mozilla.com/D4972

--HG--
extra : rebase_source : 00ba756f770f33ec050a03b6656fb148037d4be2
2018-08-29 13:57:31 -06:00
Ted Mielczarek
eb72babf41 bug 1417646 - build geckodriver in cross-compile builds. r=ato
With patches from other bugs in place to use the right C compiler and cflags,
we can enable geckodriver on cross-compiles for macOS.

MozReview-Commit-ID: 5wqBiA6UCf
2018-07-05 07:19:24 -04:00
Robert Helmer
af9cc9f247 Bug 1485946 - fix MOZ_LIBPRIO build switch for non-MSVC platforms r=kmag
Made an errant else in the last one, and didn't do the tuple properly.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 04:57:39 +00:00
Robert Helmer
10b80b68fe bug 1485946 - skip building libprio on MSVC r=froydnj
libprio does not currently build with MSVC (since it only supports
C90 as a compiler), this is being worked on upstream at https://github.com/mozilla/libprio/issues/17

As we are almost certainly not going to ship Firefox build with MSVC anymore,
let's disable this to get it working on this Tier-2 platform.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 20:07:51 +00:00
Narcis Beleuzu
eec002c6df Backed out changeset df602a252b66 (bug 1485946) for Linting failure. CLOSED TREE 2018-08-27 21:41:38 +03:00
Robert Helmer
70e2c73f5a bug 1485946 - skip building libprio on MSVC r=froydnj
libprio does not currently build with MSVC (since it only supports
C90 as a compiler), this is being worked on upstream at https://github.com/mozilla/libprio/issues/17

As we are almost certainly not going to ship Firefox build with MSVC anymore,
let's disable this to get it working on this Tier-2 platform.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 15:39:46 +00:00
Aaron Klotz
6e8c5e514f Bug 1481549: Configure changes to enable the launcher process by default; r=froydnj
In order to start Firefox via the launcher process, we currently need to pass a
command-line flag. If we are to eventually ship the launcher by default, we want
to be able to configure the build such that the launcher process is used by
default, without any special flags.

This patch simply adds the configure option and sets the config and defines
appropriately.

--HG--
extra : rebase_source : 08847b77a8ff06314a329ae3f4ab9b7046354b30
2018-07-23 15:58:45 -06: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
Mike Hommey
c80fe8b8d1 Bug 1464766 - Allow to relax the addon signature requirements. r=aswan
Add a build option that allows to relax the requirements in
SCOPE_APPLICATION and SCOPE_SYSTEM, individually or together, in an
opt-in manner.

--HG--
extra : rebase_source : ec6b317cca17493baa9cf72675e17a1309e35a94
2018-05-28 16:15:13 +09:00
Nathan Froyd
08902bdd4d Bug 1476427 - part 1 - move bindgen configure bits to a separate file; r=chmanchester
This change makes the config variables determined for
bindgen (MOZ_CLANG_PATH et al) available to JS.
2018-07-26 17:37:56 -04:00
Dan Minor
c6ebd445b2 Bug 1478005 - Enable AV1 for non-Nightly builds; r=drno
Summary:
AV1 is still preffed off by default and is still disabled for Android and
32 bit Windows.

Reviewers: drno

Tags: #secure-revision

Bug #: 1478005

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

--HG--
extra : rebase_source : dc7cc50453dabb13d7abf2f1cd6eb39bb4c11f78
2018-07-25 10:54:55 -04:00
Franziskus Kiefer
3d0b306faa Bug 1464828 - DAR API with libsecret and NSS back-end, r=keeler,m_and_m,froydnj
This implements an API in `nsIOSKeyStore.idl` and `OSKeyStore.cpp` to encrypt and decrypt bytes with a key that is stored in the OS key store.
There are two OS adapters in this patch.
Libsecret is used on Linux if available.
The NSS key store is used as fallback if no OS specific key store is implemented.

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

--HG--
extra : rebase_source : 99d7d646968a46a13ffa61885bb246f6d3e443e4
2018-07-26 16:05:35 +02:00
Nathan Froyd
e8ffb68819 Bug 1476799 - remove references to Stylo from bindgen configure code; r=gps
At some point, either bindgen will begin generating not-related-to-Stylo
things or we will start using bindgen in multiple places.  Either way,
the references to Stylo should go away.
2018-07-18 19:11:07 -04:00