Commit Graph

131 Commits

Author SHA1 Message Date
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
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
Chris Pearce
b1da9f40f8 Bug 1329543 - Remove Adobe from ac_add_options --enable-eme. r=glandium
MozReview-Commit-ID: D5B1CAQKGGR

--HG--
extra : rebase_source : 81384c7b8bed3918328c220ce8d73618cea1f189
2017-01-09 21:41:19 +08:00
Jonathan Kew
3d478b5e48 Bug 1324739 - patch 2 - Enable use of sfntly in Skia-PDF to subset fonts. r=lsalzman,glandium 2017-01-07 22:20:25 +00:00
Lee Salzman
e26d6e540d Bug 1278282 - disallow building with gtk2 toolkit. r=glandium
MozReview-Commit-ID: 7WysLJsiLEb
2017-01-11 12:21:26 -05:00
Jonathan Watt
64635f1ea4 Bug 1322540 - Turn on building of Skia PDF in Nightly builds. r=lsalzman, r=glandium
--HG--
extra : rebase_source : d6fb9941802ad0baeae87f6b0cf33b5f3d2b06be
2016-12-01 12:16:19 +00:00
Lee Salzman
28fa74680f Bug 1323303 - require building with Skia. r=glandium
MozReview-Commit-ID: 56oawitOHEP
2016-12-21 09:31:13 -05:00
Carsten "Tomcat" Book
35cc78d738 Backed out changeset 28c47fbedac4 (bug 1323303) for bustage 2016-12-21 15:12:31 +01:00
Lee Salzman
d6faf512b6 Bug 1323303 - require building with Skia. r=glandium
MozReview-Commit-ID: 56oawitOHEP
2016-12-21 08:23:48 -05:00
lochang
6c19bb7391 Bug 1313295 - Integrate mortar into gecko build system. r=glandium
--HG--
extra : rebase_source : 8c7b15dc524f196317754772394a0fc4bef6d3ad
2016-11-29 18:21:00 -05:00
Nick Alexander
672e74a3e1 Bug 1321408 - Move ENABLE_MARIONETTE to python configure. r=chmanchester
This patch tries to do three things:

1) Replace the ENABLE_MARIONETTE entrypoint with --enable-marionette.

2) Fold the default value -- forced on unless building for target OS
Android or building with toolkit gonk -- into the flag, rather than
embedding that condition in the tree.

3) Stop using AC_DEFINE and instead use only AC_SUBST, so that no
compiled code needs to be rebuilt if the flag is flipped locally.
n.b., each installer/Makefile.in knows that ENABLE_MARIONETTE is set
(in order to set -DENABLE_MARIONETTE=1 for
*/installer/package-manifest.in) due to it being an AC_SUBST.

MozReview-Commit-ID: AkkmybyP1uI

--HG--
extra : rebase_source : c2c8b268c60350ff39d872cee357b53f17e79eef
2016-12-16 15:49:14 -08:00
Mike Hommey
36952d2ae0 Bug 1283898 - Don't check for rust outside of toolkit builds. r=rillian
Spidermonkey doesn't currently depend on rust code, and this
unblocks enabling rust by default on gecko builds until we
can get the appropriate toolchain hooked up to all of the
SM automation jobs.

The include must be conditional to avoid breaking artifact builds.

MozReview-Commit-ID: 1PmcFvcZLM2

--HG--
extra : rebase_source : 1a22232e064dd253b80ebaa55decfde1ba7e1ea0
2016-12-15 13:40:06 -08:00
Gregory Szorc
b0a535b2cc Bug 1300290 - Avoid --enable-dmd and --enable-stylo setting conflicting --enable-jemalloc values; r=glandium
Before, --enable-dmd implied --enable-jemalloc. If --enable-stylo was
also set, it tried to imply --enable-jemalloc=moz. Configure barfed
due to setting the value twice.

The commit refactors the logic for implying the --enable-jemalloc value
to set the proper value depending on the state of dmd and stylo.

MozReview-Commit-ID: 1wKE9Cs1Umt

--HG--
extra : rebase_source : 03acfc386fa9c86ae90e0feb5dae092ea5897179
2016-11-30 22:17:59 -08:00
Gregory Szorc
1d26bd0c8a Bug 1319484 - Add MOZ_STYLO to build config; r=mshal
Previously, we recorded it in defines. Let's add it in substs so more
tools can key off it.

MozReview-Commit-ID: HDrf46BCd6W

--HG--
extra : rebase_source : be8cae71dfbe994fa6dadbdb0007e430413c743b
extra : source : 9e707fcf47691a4684d7b6953dd8a08ae6687893
2016-11-22 10:23:19 -08:00
Mike Hommey
6fa3828b4e Bug 1316844 - Remove unused dependencies. r=chmanchester
--HG--
extra : rebase_source : f9c4f39b198fbb83aa02b2eee65863695e7b75ca
2016-11-11 12:52:37 +09:00
Mike Hommey
17153e5c27 Bug 1314894 - Avoid path changes from b6be0e9e3e1e. r=chmanchester
Importing 'os' in python configure functions, on Windows, changes the
separate the various os.path functions use, and that can have
unexpected, badly handled, consequences. While on the long term, it is
desirable to make @imports('os') modify os.path to use the same base
functions as if there were no @imports, let's go with the simpler
workaround of restoring the non-{isfile,isdir,exists} os.path functions
from b6be0e9e3e1e.

--HG--
extra : rebase_source : a1857b5dce2aa818c72a77d0d9727ac6ce16cb8f
2016-11-04 06:50:43 +09:00
Mike Hommey
b89b671cc8 Bug 1313306 - Don't expose os.path.{exists,isdir,isfile} to python configure without an @imports. r=chmanchester
We want functions without an @imports to not have any side effects, and
to not use external resources. So remove the few functions we expose from
os.path without @imports('os') that do.

--HG--
extra : rebase_source : a9485ec269d4de5785d66d7772eda4fae5a84b4a
2016-10-26 11:49:58 +09:00
Jonathan Watt
7b894d6da6 Bug 1309272, part 1 - Add an --enable-skia-pdf configuration option. r=lsalzman
--HG--
extra : rebase_source : 2edd8282c26e8772caea3db0a3d9204a4838e8db
2016-10-26 19:23:07 +01:00
Chris Manchester
f63cec632c Bug 1305145 - Move --enable-tree-freetype to Python configure. r=glandium
This commit also removes the option, as it's only known to work
on Android, where it is the default.

MozReview-Commit-ID: JqdC5Q5dwQH
2016-10-14 11:06:31 -07:00
Chris Manchester
a3e6682857 Bug 1305145 - Move freetype2 detection to Python configure. r=glandium
MozReview-Commit-ID: 1O4SdH0HvzL
2016-10-14 11:06:31 -07:00
Chris Manchester
7d177e214f Bug 1305145 - Move fontconfig detection to Python configure. r=glandium
MozReview-Commit-ID: J6XQFA6whCr
2016-10-14 11:06:31 -07:00
Chris Manchester
15035474f8 Bug 1305145 - Move Pango detection to Python configure. r=glandium
A test against MOZ_PANGO is also removed, this has not been
set since bug 947379.

MozReview-Commit-ID: IwpsCda6mmw
2016-10-14 11:06:30 -07:00
Chris Manchester
95f73bebb9 Bug 1305145 - Make libs and flags set by pkg_check_modules available to the caller. r=glandium
MozReview-Commit-ID: 7uZheAOXKwE
2016-10-14 11:06:30 -07:00
Christian Holler (:decoder)
cb5facc399 Bug 1303757 - Build system changes for unified fuzzing interface. r=glandium
MozReview-Commit-ID: 8bvAxmmo3Vn

--HG--
extra : rebase_source : 07408ccd30e53f82d7516428bf25515c1611f582
2016-10-17 22:19:03 +02:00
Michelangelo De Simone
07411b2cc6 Bug 1310027 - Remove DOM/mobilemessage and related code. r=Ehsan
MozReview-Commit-ID: ENmSuOCdTnA

--HG--
extra : rebase_source : a178eee07034fb2aa1415b64bec1946230fd1c5e
2016-10-17 17:26:51 -07:00
Chris Pearce
0c197ddf78 Bug 1299694 - Ensure we don't enable Widevine unintentionally. r=glandium
On FreeBSD the target.kernel etc checks in enable_eme are failing,
but we're still falling through to |return value|, and so Widevine
is being enabled. If we remove the |return value| from enable_eme
we at least make Widevine disabled where it's not supposed to be
enabled.


MozReview-Commit-ID: D1h0IUidxhv

--HG--
extra : rebase_source : 10696291b91d79d4971932796cab4494c88eca3b
extra : amend_source : ccb0a165f5deb0a8ae60256fb97b5d972e42bf28
2016-09-05 13:54:37 +12:00