Commit Graph

258 Commits

Author SHA1 Message Date
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
Dan Minor
1bc5249654 Bug 1445683 - Disable av1 on win32; r=chmanchester
We get intermittent OOMs building aom with MSVC on win32. The PGO builds are
definitely a problem, but it may affect other builds as well. The plan for now
is to stop supporting AV1 on win32 until we switch to clang, which hopefully
is not too far away.

--HG--
extra : rebase_source : e2a754dc635d003c39cfa51b044d68a2a4a2f592
2018-07-12 15:57:11 -04:00
Mike Hommey
ae6d6fb05e Bug 1473436 - Disable elfhack on local builds. r=chmanchester
Because of bug 1423822, we can't enable elfhack and lld at the same
time. OTOH, elfhack is not really useful on local builds: it's only used
on `make package`. Since we're going to make lld the default if it's
available, let's just completely disable elfhack by default on local
builds.

While here, hide the configure flag when compile environment is
disabled.

--HG--
extra : rebase_source : 154d3059db4f0f073bd219670ef4c9bc6ebcfd26
2018-07-05 09:23:56 +09:00
Henri Sivonen
5885cf2259 Bug 1397807 - Allow rustc to emit NEON instructions when clang does on ARMv7 and use NEON in encoding_rs. r=glandium
MozReview-Commit-ID: LNd4jeIGIRg

--HG--
extra : rebase_source : e175f51ec3e8c1097d914d97c6b0d2644dbc4c18
2018-06-05 14:56:11 +03:00
Gregory Szorc
1843095b29 Bug 1471028 - Detect Node.js in configure; r=glandium
The intent is for the build system to soon require Node.js to build
Firefox. But we aren't ready to make Node.js a build requirement
just yet.

The goal of this commit is to implement configure detection for
Node.js so that we can a) work out detection bugs b) give people a
means to validate system compatibility *before* we throw the switch to
require Node.js.

This commit introduces configure logic for finding a Node.js
executable, resolving its version, and validating its suitability.

By default, if Node.js cannot be found or there is an error resolving
its version, we print some warning messages and move on.

If --enable-nodejs is used (not the default), errors are raised
if Node.js cannot be found or its version isn't suitable.

Once we require Node.js, the added code can likely be simplified.
When writing the code, I went out of my way to make failures as
non-fatal as possible. e.g. normally we'd say that failures to run
`node --version` would be fatal. I'm purposefully trying to not have
this configure check break anyone's environment, even if failure
occurs. Again, the goal is to introduce the configure checks first
in a non-fatal way such that we can debug failures so the flag day
transition is simpler.

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

--HG--
extra : moz-landing-system : lando
2018-07-03 21:24:58 +00:00
Nathan Froyd
95af520ba8 Bug 1299278 - remove --with-servo configure option; r=nalexander
This option is no longer needed.
2018-06-27 12:57:39 -04:00
Kartikaya Gupta
1f1a7884c4 Bug 1432515 - Build WebRender by default on all channels. r=milan
MozReview-Commit-ID: LkDmf9x1Ye

--HG--
extra : rebase_source : aeac8e1d0a76411abcd20ffa99b688af790887c3
2018-05-09 15:24:38 -04:00
Nathan Froyd
5141d7d645 Bug 1460367 - move audio sample-related settings to moz.configure; r=ted.mielczarek,nalexander
With moz.configure, it's a little more obvious that MOZ_TREMOR and
MOZ_VORBIS are mutually exclusive.
2018-05-09 17:26:31 -04:00
Chris AtLee
96d067df95 Bug 1403548: Enable nightly asan reportor builds and updates r=Callek
MozReview-Commit-ID: 2X03vU5bO32

--HG--
extra : rebase_source : 70d25b081ed874d4f88944e05f40764f948a45a7
2018-04-19 09:28:59 -04:00
Dorel Luca
b78d790273 Backed out changeset a63caceffcee (bug 1403548) for liniting failure on builds/worker/checkouts/gecko/taskcluster/taskgraph/transforms/beetmover_repackage.py. CLOSED TREE 2018-04-26 00:07:21 +03:00
Chris AtLee
a8def10cc3 Bug 1403548: Enable nightly asan reportor builds and updates r=Callek
MozReview-Commit-ID: 2X03vU5bO32

--HG--
extra : rebase_source : d4b6672eae5b378ac5a5d80d7f14d193d201f517
2018-04-19 09:28:59 -04:00
Takuro Ashie
956ef94c09 Bug 1306529 - Add initial implementation of PureOmxPlatformLayer r=jya
It's a concrete class of OmxPlatformLayer for accessing OpenMAX IL
libraries directly. It will be usable on various embedded linux systems.
Note that it's not enabled by default yet. Add the following config to
your mozconfig.

  ac_add_options --enable-openmax

TODO: Implement zero-copy mode

MozReview-Commit-ID: EMEXAKzzR64

--HG--
extra : rebase_source : ee6acf7d046e8ce6e18a53988a4ea308b8d4d44f
2018-04-18 11:38:12 +09:00
Jan Beich
6a8b9ac6f9 Bug 1452509 - Move --enable-pulseaudio to moz.configure. r=froydnj
MozReview-Commit-ID: J1fJUukDJXh

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

--HG--
extra : rebase_source : 1108a3d58e14bef335334e160186dca8a0bfcaee
2018-03-18 23:46:16 +00:00
Jan Beich
60f9bc442d Bug 1452509 - Require Jack package for --enable-jack build. r=froydnj
MozReview-Commit-ID: HT3ZCrEAN8Y

--HG--
extra : rebase_source : 0fc577c097fcc390c79514019099680b3129c748
2018-03-18 23:42:22 +00:00
Coroiu Cristina
fa24350f83 Backed out 2 changesets (bug 1306529) for build bustage on a CLOSED TREE
Backed out changeset 87206102c699 (bug 1306529)
Backed out changeset 7e70a7f597c4 (bug 1306529)
2018-04-09 15:59:58 +03:00
Takuro Ashie
6e0c9d24c2 Bug 1306529 - Add initial implementation of PureOmxPlatformLayer r=jya
It's a concrete class of OmxPlatformLayer for accessing OpenMAX IL
libraries directly. It will be usable on various embedded linux systems.
Note that it's not enabled by default yet. Add the following config to
your mozconfig.

  ac_add_options --enable-openmax

TODO: Implement zero-copy mode

MozReview-Commit-ID: EMEXAKzzR64

--HG--
extra : rebase_source : d7c5b9baf66d87db38723b278c57fd581a3cbf98
extra : intermediate-source : b8c671a02a4fce085433b16db998c9b04ace87db
extra : source : 131b65580e3dd5c9dcb0ba6a05c16ab90c2dcc68
2018-03-28 18:21:04 +09:00
Lee Salzman
67dadaa0ea Bug 1447913 - follow-up - fix skia_gpu dependency on target. r=me CLOSED TREE 2018-03-22 15:06:38 -04:00
Lee Salzman
ccf7f06c93 Bug 1447913 - fix building of Skia on BSDs. r=jbeich
MozReview-Commit-ID: AiaAgVMRLNN
2018-03-22 14:30:53 -04:00
Emilio Cobos Álvarez
24cf27d33c Bug 1447611: Remove --enable-stylo and --enable-stylo-build-bindgen. r=froydnj
Will remove the prefs and stuff in a followup.

MozReview-Commit-ID: HVyfbHOEQYI
2018-03-21 19:13:26 +01:00
Csoregi Natalia
d6c6d38406 Backed out 4 changesets (bug 1447611) for mass failures due to --enable-stylo removal. CLOSED TREE
Backed out changeset c6193142bbcf (bug 1447611)
Backed out changeset 01ada1c5a95f (bug 1447611)
Backed out changeset 86c9fed44da2 (bug 1447611)
Backed out changeset bb84ac6e1468 (bug 1447611)
2018-03-21 19:01:07 +02:00
Emilio Cobos Álvarez
330ddd82bf Bug 1447611: Remove --enable-stylo and --enable-stylo-build-bindgen. r=froydnj
Will remove the prefs and stuff in a followup.

MozReview-Commit-ID: HVyfbHOEQYI
2018-03-21 17:24:41 +01:00
Jonathan Watt
f3e6656403 Bug 1447367 - Remove files that are not built when MOZ_OLD_STYLE is not defined. r=emilio
MozReview-Commit-ID: D9bEPfTSw61
2018-03-07 18:08:41 +00:00
Emilio Cobos Álvarez
739b866c71 Bug 1447301: Disable the old style system by default. r=froydnj
This keeps --disable-stylo working and --enable-stylo=build with the same
semantics, but it makes also --enable-stylo / and the default to not build the
old style system at all.

This also removes the stylo-only platforms, since they're now the default.

MozReview-Commit-ID: DL2eZZn9suE
2018-03-20 17:33:47 +01:00
Jonathan Watt
886a63cc64 Bug 1435230 - Don't build SkiaPDF for Windows Nightly. r=glandium
MozReview-Commit-ID: JxCOILSLRtb
2018-02-21 14:54:27 +00:00
Arthur Edelstein
62da146e06 Bug 1433357 - Part 1: Add proxy bypass protection flag r=glandium
--HG--
extra : rebase_source : cb690c9af4200276718ec1e07bbd2551d71b5033
2018-02-02 14:45:00 +02:00
Martin Stransky
bdd7d89f6c Bug 1434574 - Build wayland with EGL OpenGL backend, r=glandium
MozReview-Commit-ID: LpGmUVOYqRI

--HG--
extra : rebase_source : f26825fedcf66b6bdb2bcb32093b1d4451fe60e7
2018-01-31 13:13:50 +01:00
Cameron McCormack
24cbcff6fa Bug 1430014 - Part 1: Add --enable-stylo=only configure option and MOZ_OLD_STYLE define. r=glandium,xidorn
MozReview-Commit-ID: FsypJFV1sxS

--HG--
extra : source : 3043d52e91a1768dddf603a8a6fd992a8fc89ebf
2018-02-01 15:04:04 +11:00
Makoto Kato
7b895ca1a7 Bug 1433775 - Add Linux/arm support to Gecko Profiler. r=mstange
We don't support Android for Gecko Profiler extension yet.

So for investigating arm issue, I would like to add initial support of
Gecko Profiler for Linux/arm.

--HG--
extra : rebase_source : f936a97a87b7eea2ebfefe3cbc7f8791bc90d03a
2018-01-29 18:01:23 +09:00
Chris Manchester
b71a45f1e7 Bug 1431229 - Add configure variables to specify the webidl and ipdl root directories. r=mshal
MozReview-Commit-ID: 1zvO7vAEp5c

--HG--
extra : rebase_source : 206d653b2da551c761a8be4bb2c1d21eb87ae882
2018-01-24 13:55:05 -08:00
Sylvestre Ledru
f8b1d9ab46 Bug 1278282 - update of the moz.build files to remove gtk2 references r=lsalzman
MozReview-Commit-ID: FO1wEHzOkuN

--HG--
extra : rebase_source : ac7e61cf47d013de882048740c889735a0a7cad8
2018-01-10 10:04:59 +01:00
Prathiksha
e58cc0ef84 Bug 1378200 - Remove MOZ_PERMISSIONS define guards. r=mystor
MozReview-Commit-ID: 2IcXC3h29D9
2017-12-14 03:32:41 +05:30
Chris Manchester
08507804bf Bug 1336429 - Add the ability to build GN projects in the tree with mozbuild. r=gps
This commit adds a frontend construct, `GN_DIRS`, to facilitate building
gn projects with moz.build. Directories added to `GN_DIRS` get particular
treatment by two build backends added here as well, `GnConfigGen` and
`GnMozbuildWriter`.

The `GnConfigGen` backend runs `gn gen` for a gn project specified in
`GN_DIRS` and dumps this configuration as json, which is filtered to include
only those elements that will be needed by mozbuild. `gn gen` is run in
the context of a single build's configuration, so when adding or updating
a gn project it will be necessary to run this step with each supported
configuration.

The `GnMozbuildWriter` aggregates the config files generated by the
`GnConfigGen` backend, which it expects to find in the `gn-configs` directory
under the directory specified to `GN_DIRS`. The result is written to a set of
moz.build files suitable for building the project that are intended to be
checked in to the tree.

Once these moz.build files are checked in to the tree the project can be built
as any other directory: when using a general purpose build backend such as
RecursiveMake or FasterMake to build, entries in `GN_DIRS` will be treated as a
normal entries in `DIRS`.


MozReview-Commit-ID: KlHuP4DY2R4

--HG--
extra : rebase_source : b16079b3417bee3e58b0ecc8724b54c1b9d87d98
2017-12-07 15:58:18 -08:00
Ralph Giles
d65dfc2d3d Bug 1423814 - av1: re-enable decoder on 32-bit nightly. r=kinetik
Revert the work-around from bug 1421635 now that the upstream
fix is applied.

MozReview-Commit-ID: GwmXr8zVBGn

--HG--
extra : rebase_source : 253428fac503e8820856b371e44aaa963e932e29
2017-12-06 22:13:15 -08:00
Ralph Giles
d9f12c1bde Bug 1421635 - av1: Disable decoding on 32-bit x86. r=kinetik
Work around crashes on win32 by disabling the decoder for
that target and 32-bit linux. Machines limited to 32 bits
are likely too slow for effective software playback anyway.

MozReview-Commit-ID: FP4wxP3FPOQ

--HG--
extra : rebase_source : 9bdd8a3719c21bb1d26af8272894cf7be46a02f4
2017-12-05 16:11:40 -08:00
Makoto Kato
b444fbea2a Bug 1366049 - enable Stylo for Android. r=snorp
All tests are passed with stylo, So let's turn on stylo even if Android.

MozReview-Commit-ID: X0ORZUn60a

--HG--
extra : rebase_source : 61f0d3513114a2d0716d9e660eba98004ff85bbf
2017-11-21 19:35:32 +09:00
Noemi Erli
088b617365 Backed out changeset 9353a526c194 (bug 1366049) for bustage in /python/mozbuild/mozbuild/test/configure/lint.py r=backout on a CLOSED TREE 2017-11-22 23:31:04 +02:00
Makoto Kato
b2dfd3b57f Bug 1366049 - enable Stylo for Android. r=snorp
All tests are passed with stylo, So let's turn on stylo even if Android.

MozReview-Commit-ID: X0ORZUn60a

--HG--
extra : rebase_source : f93f979711ab5f16eb3ced1d07e3c6d83464a6f0
2017-11-21 19:35:32 +09:00
Mike Hommey
6e39384683 Bug 1417689 - Move elfhack related things to python configure. r=nalexander 2017-11-16 09:37:31 +09:00
Andreas Tolfsen
16c97746d1 Bug 1414401 - Enable geckodriver on Linux i686 r=ted,whimboo
This patch enables building of geckodriver in CI on Linux i686.

MozReview-Commit-ID: GkdHDJrzh2X

--HG--
extra : rebase_source : 3202702d8ae3423079aad512a3d7c8dc8e7408a3
2017-11-03 14:13:06 +00:00
btara
48bd0d4658 Backed out 3 changesets (bug 1414401) for failing Linux opt /webdriver/tests/actions/key_shortcuts.py r=backout on a CLOSED TREE
Backed out changeset 8d17c033d79b (bug 1414401)
Backed out changeset b445d7d2eadc (bug 1414401)
Backed out changeset cb2f1791b209 (bug 1414401)
2017-11-12 12:39:37 +02:00
Andreas Tolfsen
d9caceac2d Bug 1414401 - Enable geckodriver on Linux i686 r=ted,whimboo
This patch enables building of geckodriver in CI on Linux i686.

MozReview-Commit-ID: GkdHDJrzh2X

--HG--
extra : rebase_source : ab4588468939358a41d255dea3a01a8542e35a0e
2017-11-03 14:13:06 +00:00
Sebastian Hengst
87edeab9cb Backed out 2 changesets (bug 1414401) for almost perma failing webdriver's /webdriver/tests/actions/key_shortcuts.py on Linux 32-bit. r=backout
Backed out changeset 331c5f0d914e (bug 1414401)
Backed out changeset 34708561a45c (bug 1414401)
2017-11-11 01:00:26 +02:00
Ryan VanderMeulen
f850c5874e Merge m-c to autoland on a CLOSED TREE. a=merge
--HG--
extra : amend_source : a40e5ae025083e5d00d96f08cc8e78119721317a
2017-11-10 16:15:26 -05:00