Commit Graph

155 Commits

Author SHA1 Message Date
Henri Sivonen
4c0760dcf9 Bug 1261841 part 6 - Make --enable-rust-simd a no-op on CPU architectures other than aarch64, x86 and x86_64. r=froydnj.
MozReview-Commit-ID: JZ2iwvJXUB7
2017-06-13 13:25:15 +03:00
Henri Sivonen
763d66dd51 Bug 1261841 part 4 - Add a configuration option for enabling explicit SIMD in Rust. r=froydnj.
MozReview-Commit-ID: ICifcJ9499a
2017-06-13 13:24:19 +03:00
Ralph Giles
fd50a8af60 Bug 1370978 - Enable av1 decoding in Nightly on macOS and Linux. r=froydnj,gerald
Enable av1 decoding with the aom reference library on nightly
build except on Windows and Android where it's not working yet.

This codec is under development and subject to incompatible
changes. We're supporting a specific encoder revision for
testing with website authors to get early feedback.

See media/libaom/README_MOZILLA for the specific codec commit
hash our decoder expects.

MozReview-Commit-ID: JCPiVFg3geC

--HG--
extra : rebase_source : c7b9de67415d885ada64658f8f938b4091b468e3
2017-06-07 10:29:59 -07:00
Andreas Tolfsen
e721ebada1 Bug 1368035 - Enable geckodriver building in automation; r=ted
geckodriver compilation was disabled by default in
https://bugzilla.mozilla.org/show_bug.cgi?id=1368084 due to issues
building it locally on Windows.

This re-enables building of geckodriver in automation, but gives
developers an option, --enable-geckodriver, to opt-in to building
it locally.

geckodriver is implied on supported platforms when MOZ_AUTOMATION is
set, but we also provide the option for developers to use.  This means
geckodriver will be built in CI by default, but not in developers'
local environments.

MozReview-Commit-ID: ACkO97ekVsi

--HG--
extra : rebase_source : 067e25911f72d80a54e662f24cc71dedde53a4e1
2017-05-27 18:51:40 +01:00
Andreas Tolfsen
b082609c14 Bug 1368035 - Correct description of Marionette in toolkit configure; r=automatedtester
MozReview-Commit-ID: B16umNXSOZ

--HG--
extra : rebase_source : d1ff4ba220784c4dc86353b6f91117709a45a214
2017-05-26 16:27:07 +01:00
Nick Alexander
b6fef5fc95 Bug 1365089 - Add MOZ_ANDROID_MMA and --with-leanplum-sdk-keyfile to configure. r=chmanchester
This is the equivalent of MOZ_INSTALL_TRACKING, but for MMA (Mobile
Marketing Automation) using the Leanplum SDK.

To test this locally, add lines like:

export MOZ_ANDROID_MMA=1
ac_add_options --with-adjust-sdk-keyfile=/path/to/adjust-sdk-developer.token

MOZ_ANDROID_MMA depends on MOZ_NATIVE_DEVICES and MOZ_ANDROID_GCM,
since Leanplum requires Google Play Services library that those flags
are a proxy for and enable, respectiviely.

We want to enable MOZ_ANDROID_MMA in Nightly, but only for
MOZILLA_OFFICIAL builds.  Since MOZILLA_OFFICIAL is still defined in
old-configure.in, we can't interrogate it in
mobile/android/moz.configure, and therefore we enable using the
automation mozconfigs.

MozReview-Commit-ID: 1tiToeyH5Hx

--HG--
extra : rebase_source : f85706c5a0911c7d2edc109d8c47ecc1c1bc6ffc
2017-05-26 12:31:20 -07:00
Sebastian Hengst
66d9eb3103 Backed out changeset 9c7688e54e92 (bug 1365089) for breaking Android L10n nightlies. r=backout a=backout
MozReview-Commit-ID: FxH7nBskSNj
2017-05-28 16:53:10 +02:00
Nick Alexander
0a0a08ec4c Bug 1365089 - Add MOZ_ANDROID_MMA and --with-leanplum-sdk-keyfile to configure. r=chmanchester
This is the equivalent of MOZ_INSTALL_TRACKING, but for MMA (Mobile
Marketing Automation) using the Leanplum SDK.

To test this locally, add lines like:

export MOZ_ANDROID_MMA=1
ac_add_options --with-adjust-sdk-keyfile=/path/to/adjust-sdk-developer.token

MOZ_ANDROID_MMA depends on MOZ_NATIVE_DEVICES and MOZ_ANDROID_GCM,
since Leanplum requires Google Play Services library that those flags
are a proxy for and enable, respectiviely.

We want to enable MOZ_ANDROID_MMA in Nightly, but only for
MOZILLA_OFFICIAL builds.  Since MOZILLA_OFFICIAL is still defined in
old-configure.in, we can't interrogate it in
mobile/android/moz.configure, and therefore we enable using the
automation mozconfigs.

MozReview-Commit-ID: 1tiToeyH5Hx

--HG--
extra : rebase_source : 5390cf8c5c2eb7ffe675757b372debbb639bc900
2017-05-26 12:31:20 -07:00
Andrew Swan
403ece85aa Bug 1359203 Part 2 Add build-time constant for allowing legacy extensions
MozReview-Commit-ID: GhluEfupIrL

--HG--
extra : source : 510bb3d21711c04700b250e484b616a2a1d552ec
2017-05-12 21:28:14 -07:00
Ryan VanderMeulen
acb2f518fc Merge inbound to m-c. a=merge 2017-05-19 11:46:56 -04:00
Mike Hommey
282a2bc3b8 Bug 1363811 - Replace is_nightly with milestone.is_nightly. r=cmanchester+432261
And remove is_nightly.
2017-05-19 07:05:05 +09:00
Mike Hommey
f10295dbae Bug 1363811 - Replace all uses of delayed_getattr(a, 'b') with a.b. r=cmanchester+432261
And remove delayed_getattr.
2017-05-19 07:03:40 +09:00
J. Ryan Stinnett
ee8925e1ee Bug 1350036 - Clarify llvm-config detection error. r=froydnj
Reword the `llvm-config` detection error message to recommend setting the
LLVM_CONFIG env var, like we do for the bootstrap path.  This avoids exposing
`clang` as well, so the compiler won't be changed.

MozReview-Commit-ID: CVNJ2bX2POa

--HG--
extra : rebase_source : fedfb95e105f88fec08689ae3c69a841f3b52173
2017-05-16 09:44:07 -05:00
Mike Hommey
02a06f7958 Bug 1363992 - Remove support for making jemalloc4 the default. r=njn
--HG--
extra : rebase_source : 77e1c13aa329637d0ec875439d572ee06e6919fa
2017-05-11 13:16:00 +09:00
Emilio Cobos Álvarez
11eaba1c6f Bug 1363666: followup - Remove outdated comment. r=me
DONTBUILD, because it's only a comment.

MozReview-Commit-ID: FlSLdeB4TUF
2017-05-11 15:29:38 +02:00
Wes Kocher
1b5ad2c128 Merge inbound to central, a=merge
MozReview-Commit-ID: DfRZi0gKjit
2017-05-10 16:48:03 -07:00
Ted Mielczarek
9927e65761 bug 1363358 - add a MOZ_PHOTON_THEME build option. r=chmanchester
MozReview-Commit-ID: 5fZqmCkAUUg

--HG--
extra : rebase_source : b7aca3fca0726a66e4beb6e2bf33c4350b376c1c
2017-05-09 09:26:16 -04:00
Ted Mielczarek
8f2c658ba3 bug 1358215 - add MOZ_PHOTON_ANIMATIONS config var/define, default enabled on nightly. r=chmanchester
MozReview-Commit-ID: JBdo2ppiJOP

--HG--
extra : rebase_source : 00e09d9d99fb52f5268c34fce73956df32581002
extra : source : 6fef5e7b5a233f43ea1e1572d2beb857295fdff0
2017-05-08 16:01:44 -04:00
Jan Beich
b729e27675 Bug 1363686 - Prefer llvm-config aliases for 4.0 on Debian and FreeBSD. r=rillian
MozReview-Commit-ID: 8Fs0Nhj8P8M

--HG--
extra : rebase_source : 8f52b315e9141b8b9cb2e6ead9df1f5c7566ac26
2017-04-29 17:54:21 +00:00
Emilio Cobos Álvarez
984a536a5f Bug 1363666: Remove more LLVM version requirements for stylo. r=froydnj
MozReview-Commit-ID: 81ICdulYJF7

--HG--
extra : rebase_source : e8f9eb7b1c5e3999e2b7254e98528bd52a1f0876
2017-05-10 10:35:55 +02:00
Sebastian Hengst
6e7689b9e5 Backed out changeset 5914a5dcc385 (bug 1358215) for bustage / failing python/mozbuild/mozbuild/test/configure/lint.py. r=backout 2017-05-09 16:16:30 +02:00
Ted Mielczarek
5d52552713 bug 1358215 - add MOZ_PHOTON_ANIMATIONS config var/define, default enabled on nightly. r=chmanchester
MozReview-Commit-ID: JBdo2ppiJOP

--HG--
extra : rebase_source : c889be3fe8c528ef16b2c61a8b818355e979a19a
2017-05-08 16:01:44 -04:00
Kit Cambridge
5fc76a861d Bug 1361171 - Remove CloudSync. r=markh
MozReview-Commit-ID: CjBsEZa6oIP

--HG--
extra : rebase_source : 965db37197242acf63e77dbcca74a2984532b4ff
2017-05-01 14:43:00 -07:00
Ralph Giles
67df295692 Bug 1314147 - Add --enable-av1 configure switch. r=froydnj
Build system switch for optional inclusion of libaom
for support of the Alliance for Open Media AV1 video
codec.

MozReview-Commit-ID: 2C4o1ogRS9v

--HG--
extra : rebase_source : d4a68f1fc4654895f62a905666f0b75726e20e7f
2017-04-18 09:08:18 -07:00
Jim Chen
7041014748 Bug 1360322 - 2. Add initial AArch64 support to Gecko profiler; r=mstange
Add enough AArch64-specific code for the Gecko profiler to build.
2017-05-03 11:36:18 -04:00
Jan Beich
c4d4ebe05c Bug 1360771 - llvm-config is N/A on FreeBSD try llvm-config39 as well. r=rillian
llvm39 package on FreeBSD installs llvm-config under non-default
prefix with llvm-config39 wrapper under PATH. No package currently
provides default/unsuffixed llvm-config. So, adjust lookup to avoid
having to add "export LLVM_CONFIG=llvm-config39" in .mozconfig for the
common case when Stylo bindgen is known to work.

MozReview-Commit-ID: 9PmnpTPoBcR

--HG--
extra : rebase_source : 6c252e9e0e8da1f02fa74107597f69066b024f55
2017-04-29 02:12:43 +00:00
Nathan Froyd
64a0bd97c8 Bug 1364428 - use normsep for windows bindgen paths; r=rillian
bindgen, for whatever reason, is much happier with C:/path/to/file
than "normal" Windows paths.  If we provide normal Windows paths,
clang-sys will complain that it's unable to find libclang.dll/clang.dll,
even though we've clearly given it the correct paths by passing in an
appropriate value for LIBCLANG_PATH.
2017-05-18 18:39:39 -04:00
Bobby Holley
5751b4990d Bug 1364428 - Pass bindir instead of libdir to llvm-config on windows; r=froydnj
libdir contains libclang.lib, whereas bindir contains libclang.dll; we
want the latter on Windows for bindgen's purposes.
2017-05-18 18:39:39 -04:00
Bobby Holley
f9bb028811 Bug 1364428 - Add a separate define for enabling stylo; r=rillian
This completes the separation between "build stylo" and "enable stylo"
that we started in the build system a few commits ago.
2017-05-18 18:39:39 -04:00
Bobby Holley
afc221f23b Bug 1364428 - Don't use LLVM_CONFIG in non-stylo builds; r=froydnj
We'll want to define LLVM_CONFIG in mozconfig.common for building Stylo
by default.  But if we do that, builds where we don't have an
appropriate clang available will complain that they can't find
llvm-config.  So we should only check if we're building Stylo.
2017-05-18 18:39:39 -04:00
Nathan Froyd
0b54cd9c51 Bug 1364428 - make stylo enabling more flexible; r=rillian
We currently have an --enable-stylo option, which when passed builds
Stylo and enables Stylo at runtime.  With an upcoming move to building
Stylo everywhere by default, but only enabling it on specific platforms,
we need something more sophisticated than a binary yes/no.

The recent WebRender support offers a model worth emulating: we modify
things so there are four possibilities:

* nothing passed (the default);
* --disable-stylo (explicitly not building);
* --enable-stylo=build (build, but do not enable by default);
* --enable-stylo (build and enable)

The last option corresponds exactly to what we have today, so there's no
change in functionality.  This patch makes the default and
--disable-stylo the same; splitting the default and --disable-stylo into
separate cases enables us to change the default behavior at some point
in the future.
2017-05-18 18:39:40 -04:00
Emilio Cobos Álvarez
896ee812cd Bug 1359508: Allow LLVM 5 for stylo. r=froydnj
MozReview-Commit-ID: 3JtzH7kVR6Z

--HG--
extra : rebase_source : 97dc4d33a2f694a17d774efd008327205a35fc57
2017-04-21 14:12:32 +02:00
Nathan Froyd
0ece476d59 Bug 1357889 - forbid LLVM >= 4.0 for being used for stylo bindgen; r=rillian
Released versions of LLVM 4.0 do not work properly with bindgen, and the
in-development 5.0 version doesn't either.  To avoid undue hair-pulling,
we should detect such versions early during configure and advise the
user about appropriate versions.
2017-04-20 13:48:20 -04:00
Mike Hommey
34e619d1c1 Bug 1357323 - Remove support for gonk in the build system. r=gps
Everything depending on the widget being gonk can go away, as well as
everything depending on MOZ_AUDIO_CHANNEL_MANAGER, which was only
defined on gonk builds under b2g/ (which goes away in bug 1357326).

--HG--
extra : rebase_source : 9f0aeeb7eea8417fa4e06d662d566d67ecaf2a24
2017-04-18 16:56:09 +09:00
Mike Hommey
3deb62f2b2 Bug 1344038 - Move the gio protocol handler under netwerk/protocol. r=chmanchester,karlt
Historically, we had support for some GNOME VFS protocols through the
gnomevfs library, and this was under extension. This may not have been
built by default when it was introduced, but GNOME upstream moved those
things into Gtk itself, and we then got support for the new Gio-based
protocol, similar to what we had through the gnomevfs library.

Time passes, and we switched off the gnomevfs library entirely, and
enabled the Gio-based protocol handlers by default. We then removed
everything related to the gnomevfs library.

Fast forward to now, and disabling Gio support in Firefox just doesn't
make sense, and leaving the gio protocol handler as an extension doesn't
make sense either.

As it is a protocol handler, its natural place is under
netwerk/protocol, which is where we're moving it here.

The netwerk/protocol subdirectories being handled automatically, we
don't need to add the moved directory in any DIRS variable.

--HG--
rename : extensions/gio/moz.build => netwerk/protocol/gio/moz.build
rename : extensions/gio/nsGIOProtocolHandler.cpp => netwerk/protocol/gio/nsGIOProtocolHandler.cpp
extra : rebase_source : 071a9cb1769f013717357458df24e2fd9570ccf4
2017-04-05 13:48:52 +09:00
Martin Stransky
1cc883c9df Bug 1299083 - Add cairo-gtk3-wayland toolkit target to enable Gtk/Wayland build, r=glandium
This compile time option only allows to explicitly enable/disable
build of Wayland related parts of Firefox.
We target Gtk/Wayland in stable Gtk+ 3.22 and later.

MozReview-Commit-ID: LfQfEkYfHf8

--HG--
extra : rebase_source : 9ac5ad3b2ef0efdae052388c8c6d30c99d044996
2017-04-06 10:40:27 +02:00
Kartikaya Gupta
52441baad4 Bug 1323612 - Remove unused dependency in moz.configure rule. r=bustage
MozReview-Commit-ID: C5dSQoal3G1
2017-04-05 11:12:53 -04:00
Sotaro Ikeda
f6906ddf6f Bug 1323612 (Part 1) - Enable WebRender build on Android. r=froydnj
MozReview-Commit-ID: AVpgLoXJYVQ
2017-04-05 10:11:46 -04:00
Kartikaya Gupta
301e315b2f Bug 1342450 - Extract a MOZ_ENABLE_WEBRENDER from MOZ_BUILD_WEBRENDER so that we build but disable by default. r=rhunt,froydnj,ted
This adds back a MOZ_ENABLE_WEBRENDER define, which only controls whether or
not WebRender is enabled at runtime. The default behaviour is changed so that:
- if the user specifies --disable-webrender in the mozconfig, WebRender is
  neither built nor enabled
- if the user specifies --enable-webrender in the mozconfig, WebRender is
  built and enabled
- if the user specifies --enable-webrender=build in the mozconfig, WebRender is
  built but not enabled, except on Android where it is neither built nor enabled
- if the user doesn't specify any of the above, the default behaviour is:
  - on nightly/local builds, the same as --enable-webrender=build
  - on other channels (e.g. aurora), the same as --disable-webrender

The net effect is that local/Nightly-automation builds will have WebRender
built-in but not enabled where possible (i.e. not Android). However the user
can override this behaviour via mozconfig options to either not build WebRender
at all, or to enable it in addition to building it.

MozReview-Commit-ID: IM7DdSHkIB
2017-03-22 17:38:09 -04:00
Kartikaya Gupta
b215cfd1e1 Bug 1342450 - Rename MOZ_ENABLE_WEBRENDER to MOZ_BUILD_WEBRENDER. r=rhunt
MozReview-Commit-ID: 3GkmCJJq8et
2017-03-22 17:36:25 -04:00
Matt Brubeck
6301a01266 Bug 1344318 - Check for llvm-config-3.9 in configure. r=ted
MozReview-Commit-ID: 9SoInQFyfLd

--HG--
extra : rebase_source : 6c057ccd0c525e8123f7b4db861e976fd2fb3008
2017-03-03 11:08:23 -08:00
Jan Beich
c824cc6355 Bug 1339075 - stylo: don't force mozjemalloc on Tier3 platforms. r=froydnj
MozReview-Commit-ID: 91ONYHQ9zzU

--HG--
extra : rebase_source : 0e87b775b40387b8ed926a1e5df9ee50e4a88b34
2017-02-22 08:22:08 +00:00
Christoph Diehl
e7b945296c Bug 1339306 - Faulty: Use --enable-fuzzing instead of --enable-ipc-fuzzing. r=billm
--HG--
extra : rebase_source : ea691b454f4b89ab3bda903b7c4636caf6e1a245
2017-02-14 03:12:10 +01:00
Kartikaya Gupta
4b3f339eab Bug 1335525 - Add --enable-webrender configure option and hook it up build webrender. r=gps
MozReview-Commit-ID: BWLoSnV2yEN
2017-02-06 11:42:53 -05:00
Nicholas Nethercote
265eb793ce Bug 1333296 (part 7) - Remove SPS references in tookit/moz.configure. r=glandium.
--HG--
extra : rebase_source : 238cfb13ecf57426b80ed73fe431df160e4c92ce
2017-01-25 09:08:15 +11:00
Carsten "Tomcat" Book
ff34e66ec7 Merge mozilla-central to autoland 2017-01-25 13:52:18 +01:00
Christian Holler
2e12913349 Bug 1333252 - Move FUZZING definition from toolkit to js. r=glandium
MozReview-Commit-ID: GjmfY5GjXJc

--HG--
extra : rebase_source : 9af2364425758bd00108fdcd454f0f8c69c98ce8
2017-01-24 00:40:38 +01:00
Nicholas Nethercote
22b6d342d7 Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium.
--HG--
extra : rebase_source : 223f3a17f009645369be503392cc1f0cea7f19a1
2017-01-24 14:15:12 +11:00
Nathan Froyd
e8163dcede Bug 1333054 - band-aid - avoid checking llvm-config version if we're not building stylo/bindgen; r=me; a=Tomcat 2017-01-23 09:43:06 -05:00
nfroyd@mozilla.com
31967ef11e Bug 1302028 - part 2 - add configury for stylo build-time bindgen needs; r=gps,chmanchester 2017-01-20 16:33:04 +00:00