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

526 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey d747b65211 Bug 1617794 - Wrap Windows tools with Wine on cross builds. r=dmajor
Windows programs run via Wine don't like Unix absolute paths (they look
like command line arguments), so we need to use relative paths.

Mingw already run fxc2 via wine, but for some reason it doesn't care
about the Unix absolute paths. genshaders does need some adjustements to
run properly with the real fxc.

Now, on actual Windows, because the temporary directory where
tempfile.NamedTemporaryFile creates files by default is not necessarily
on the same drive as where the command runs from, a relative path can't
be constructed. So we also force the temporary file to be created in the
current (obj) directory.

There is no similar concern for other files because we only go from
objdir to srcdir, and the build system already doesn't support both
being on a separate drive.

While here, flush stdout when the genshared script writes to it, so that
the messages are printed out immediately rather than randomly, later,
after output from subprocesses.

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

--HG--
extra : moz-landing-system : lando
2020-02-27 04:42:57 +00:00
Mike Hommey b543758acf Bug 1614152 - Simplify DUMP_SYMS check, and make it optional. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D64282

--HG--
extra : moz-landing-system : lando
2020-02-26 20:51:04 +00:00
Mike Hommey f9434a7b48 Bug 1618068 - Remove clang-cl < 8 specific code from python configure. r=dmajor
clang-cl versions older than 8 are already rejected in
toolchain.configure as of bug 1550868.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 20:51:04 +00:00
Dana Keeler 3878240938 bug 1603834 - let cert_storage and intermediate preloading ride the trains r=jcj,froydnj
(intermediate preloading is still disabled on mobile for now)

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

--HG--
extra : moz-landing-system : lando
2020-02-22 00:54:32 +00:00
Tom Prince 4396de38b8 Bug 1527313: [mozharness] Checkout l10n-central next to mozilla-central; r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D62410

--HG--
extra : moz-landing-system : lando
2020-02-19 22:20:11 +00:00
Nathan Froyd 9871aad8ea Bug 1610149 - let x86-64 Mac enable wasm sandboxing; r=firefox-build-system-reviewers,rstewart
Everything that we need is supported on Mac, too.

Depends on D62799

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

--HG--
extra : moz-landing-system : lando
2020-02-13 23:40:13 +00:00
Thinker Li dbada9842d Bug 1609881 - Part 3: build the fork server for Linux & FreeBSD. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D61255

--HG--
extra : moz-landing-system : lando
2020-02-14 16:50:33 +00:00
Coroiu Cristina 9526bf7b4d Backed out 3 changesets (bug 1610149) for instr bustage on a CLOSED TREE
Backed out changeset b815d0a94385 (bug 1610149)
Backed out changeset dfca4a56fa51 (bug 1610149)
Backed out changeset 0568028bb4dd (bug 1610149)
2020-02-14 01:14:05 +02:00
Nathan Froyd 8f585aba02 Bug 1610149 - let x86-64 Mac enable wasm sandboxing; r=firefox-build-system-reviewers,rstewart
Everything that we need is supported on Mac, too.

Depends on D62799

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

--HG--
extra : moz-landing-system : lando
2020-02-13 21:17:18 +00:00
Nathan Froyd 3f2d9684cb Bug 1610986 - define ldflags for lucetc in configure; r=firefox-build-system-reviewers,rstewart
These vary per-target, and it's nicer to define them here rather than
define them somewhere in rules.mk.

Depends on D62796

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

--HG--
extra : moz-landing-system : lando
2020-02-13 21:20:11 +00:00
Nathan Froyd 9df9f90a4a Bug 1610986 - add a specific target for lucet compilation; r=firefox-build-system-reviewers,rstewart
We're going to need this for handling Mac cross compiles correctly.

Depends on D62795

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

--HG--
extra : moz-landing-system : lando
2020-02-13 21:20:34 +00:00
Andreea Pavel 3dfe514f42 Backed out changeset 84184c894e33 (bug 1609881) for multiple failures e.g assertion failure StaticPrefList_layers.h on a CLOSED TREE 2020-02-12 21:05:21 +02:00
Thinker Li 8753b31c60 Bug 1609881 - Part 2: build the fork server for Linux & FreeBSD. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D61255

--HG--
extra : moz-landing-system : lando
2020-02-12 16:57:20 +00:00
Shane Caraveo 97562b2ac6 Bug 1602840 add build switch for sideloading addons r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D57660

--HG--
extra : moz-landing-system : lando
2020-02-04 23:27:10 +00:00
Ricky Stewart ffbd93e65a Bug 1611002 - configure/test_toolkit_moz_configure.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D60777

--HG--
extra : moz-landing-system : lando
2020-01-30 10:34:51 +00:00
Razvan Maries 9ad088b041 Backed out 4 changesets (bug 1602840, bug 1603227) for xpcshell perma fails on test_registry.js. CLOSED TREE
Backed out changeset 02d52e2e7d62 (bug 1603227)
Backed out changeset faa15c6fed65 (bug 1602840)
Backed out changeset bc6122544852 (bug 1602840)
Backed out changeset 5ad4c0f6c5db (bug 1602840)
2020-01-20 22:10:42 +02:00
Shane Caraveo f4e8956a36 Bug 1602840 add build switch for sideloading addons r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D57660

--HG--
extra : moz-landing-system : lando
2020-01-16 22:13:31 +00:00
Gabriele Svelto 96a70684f4 Bug 1588538 - Use the new Windows dump_syms tool to dump symbols in local builds r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D57094

--HG--
extra : moz-landing-system : lando
2020-01-16 14:14:13 +00:00
Shane Caraveo 8351044ded Bug 1524327 remove MOZ_ALLOW_LEGACY_EXTENSIONS and extensions.legacy.enabled r=zombie,aswan
Legacy extensions are no longer loaded, so we can drop the build config for it.  We
still need flags for handling experimental APIs since what we require differs between builds
and distributions.

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

--HG--
extra : moz-landing-system : lando
2020-01-15 21:38:40 +00:00
Csoregi Natalia 57eb78c63c Backed out changeset 5d0b75e5f795 (bug 1588538) for DUMP_SYMS bustage. CLOSED TREE 2020-01-14 13:53:54 +02:00
Gabriele Svelto e62e144c3c Bug 1588538 - Use the new Windows dump_syms tool to dump symbols in local builds r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D57094

--HG--
extra : moz-landing-system : lando
2020-01-14 10:08:52 +00:00
Nathan Froyd c27f84822c Bug 1608326 - only check for wasm tools when compiling; r=firefox-build-system-reviewers,chmanchester
...so that we can correctly declare that we are using sandboxed
library(ies) from our "parent" build, but not check for all the tools to
compile code.

Depends on D59554

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

--HG--
extra : moz-landing-system : lando
2020-01-10 19:56:17 +00:00
Nathan Froyd 2aa36b39fc Bug 1608326 - move most wasm sandboxing configury under an only_when; r=firefox-build-system-reviewers,chmanchester
This change eliminates a lot of repetition, and paves the way for the
next change.

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

--HG--
extra : moz-landing-system : lando
2020-01-10 19:56:05 +00:00
Nathan Froyd 92e5beb60a Bug 1569370 - add mozconfig fragments for declaring wasm sandboxing bits; r=firefox-build-system-reviewers,rstewart
This patch is not ideal: if would be better to do the defaulting in
`toolkit/moz.configure`, but doing it there runs into problems with base
toolchain configurations, as the clang there is not new enough.  So we
have this, doing everything with environment variables, which is easily
turned on or off, depending on the needs of the specific configuration.

The `mozconfig.no-compile` change is not really needed, as the wasm
sandboxing detection bits are not conditional on
`--enable-compile-environment`.  Those bits should be, and I will tackle
doing that after the holidays.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 10:28:47 +00:00
Chris Manchester 2f9f317ece Bug 1605213 - Add compiler wrapper to the wasm compiler. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D59239

--HG--
extra : moz-landing-system : lando
2020-01-09 16:13:12 +00:00
Andreas Tolfsen e816b7ccd2 bug 1598286: toolkit: enable remote agent on Windows AArch64; r=remote-protocol-reviewers,whimboo,froydnj
The remote agent used to not compile on Windows AArch64 due to iovec's
dependency on a version of winapi without support for this architecture.

Now that the remote agent has upgraded to http 0.2, which depends on
a version of the bytes crate that has moved away from iovec in favour
of std::io::IoSlice, we are able to turn on support for Windows AArch64.

This in turn will also fix bug 1606935 because the browser-chrome
test manifest for M(remote) will no longer be empty.  It was a
regression caused by 1603930 where we fixed a logic error causnig
ENABLE_REMOTE_AGENT to be inappropriately set on non-trunk branches.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 14:24:15 +00:00
Razvan Maries 81bbc79be4 Backed out changeset 691de0626040 (bug 1569370) as per Nathan's request. CLOSED TREE 2020-01-03 23:07:24 +02:00
Andreas Tolfsen 42644cd640 bug 1603930: toolkit: fix remote agent build targets; r=firefox-build-system-reviewers,mshal
The remote agent component was meant to only be built on the
Nightly release channel, but 868b1bf043dc accidentally reversed
--enable-cdp and --reverse-cdp, not understanding that there's a
semantic difference in the build config parser for this.

This has had the undesired effect that the remote agent has been
built on all release channels since around 25th April of this year.
This in itself is not a huge concern because the feature is disabled
through the remote.enabled preference in modules/libpref/init/all.js,
except on Nightly.

This patch reverses s/disable/enable/ which causes ENABLE_REMOTE_AGENT
to be set only on the Nightly release channel, or when --enable-cdp
is explicitly used, thus achieving the original, intended effect.

We caught this when running the bc test
remote/test/browser/browser_agent.js as part of beta simulations
for Firefox 73.  I wrote that test explicitly to test for this
eventuality, so I will consider it good enough for this change to
ship without additional tests.

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

--HG--
extra : moz-landing-system : lando
2020-01-02 14:35:17 +00:00
Nathan Froyd be320d836e Bug 1569370 - add mozconfig fragments for declaring wasm sandboxing bits; r=firefox-build-system-reviewers,rstewart
This patch is not ideal: if would be better to do the defaulting in
`toolkit/moz.configure`, but doing it there runs into problems with base
toolchain configurations, as the clang there is not new enough.  So we
have this, doing everything with environment variables, which is easily
turned on or off, depending on the needs of the specific configuration.

The `mozconfig.no-compile` change is not really needed, as the wasm
sandboxing detection bits are not conditional on
`--enable-compile-environment`.  Those bits should be, and I will tackle
doing that after the holidays.

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

--HG--
extra : moz-landing-system : lando
2020-01-02 14:50:08 +00:00
shindli 4f5d5bf966 Backed out changeset 008852b3720d (bug 1569370) for causing linux x64 wasm bustages CLOSED TREE
--HG--
extra : rebase_source : bb2fac5057260496f457c6466a0803c3c41b930c
2019-12-30 21:15:37 +02:00
Nathan Froyd 52c254b0e6 Bug 1569370 - add mozconfig fragments for declaring wasm sandboxing bits; r=firefox-build-system-reviewers,rstewart
This patch is not ideal: if would be better to do the defaulting in
`toolkit/moz.configure`, but doing it there runs into problems with base
toolchain configurations, as the clang there is not new enough.  So we
have this, doing everything with environment variables, which is easily
turned on or off, depending on the needs of the specific configuration.

The `mozconfig.no-compile` change is not really needed, as the wasm
sandboxing detection bits are not conditional on
`--enable-compile-environment`.  Those bits should be, and I will tackle
doing that after the holidays.

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

--HG--
extra : moz-landing-system : lando
2019-12-24 04:27:01 +00:00
Andreea Pavel bfb46a92de Backed out changeset c867ca4daf74 (bug 1569370) for build bustages on a CLOSED TREE 2019-12-24 05:40:35 +02:00
Nathan Froyd be203e102e Bug 1569370 - add mozconfig fragments for declaring wasm sandboxing bits; r=firefox-build-system-reviewers,rstewart
This patch is not ideal: if would be better to do the defaulting in
`toolkit/moz.configure`, but doing it there runs into problems with base
toolchain configurations, as the clang there is not new enough.  So we
have this, doing everything with environment variables, which is easily
turned on or off, depending on the needs of the specific configuration.

The `mozconfig.no-compile` change is not really needed, as the wasm
sandboxing detection bits are not conditional on
`--enable-compile-environment`.  Those bits should be, and I will tackle
doing that after the holidays.

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

--HG--
extra : moz-landing-system : lando
2019-12-23 16:47:18 +00:00
Nathan Froyd e4254ac900 Bug 1605456 - add environment variable for wasi sysroot location; r=firefox-build-system-reviewers,rstewart
We often include common mozconfig fragments to turn various options on.
When doing that, environment variables are more easily turned off by
later mozconfig fragments (e.g. `build/mozconfig.no-compile` for
artifact builds) than command-line options.  Therefore, include an
alternate environment variable for identifying the location of the wasi
sysroot.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 20:35:38 +00:00
shravanrn@gmail.com a3f185ef1b Bug 1576052 - Use configuration/macro definition to selectively enable wasm sandbox for graphite r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D43710

--HG--
extra : moz-landing-system : lando
2019-12-19 22:17:13 +00:00
J.C. Jones 942507de3e Bug 1594931 - Stop compiling NSS' DBM legacy database r=kjacobs,keeler,mhowell,MattN
This change modifies all tests that use key3/cert8 to use the new files. It
removes test_sdr_upgraded_with_password, as without the upgrade part that is now
the same test as test_sdr_preexisting_with_password.

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

--HG--
rename : security/manager/ssl/tests/unit/test_sdr_preexisting/key4.db => security/manager/ssl/tests/unit/test_broken_fips/key4.db
extra : moz-landing-system : lando
2019-12-16 17:35:49 +00:00
Csoregi Natalia 5f6f55422f Backed out changeset 5c137b3793a7 (bug 1594931) for failures on test_sdr_preexisting.js. CLOSED TREE
--HG--
rename : security/manager/ssl/tests/unit/test_broken_fips/key4.db => security/manager/ssl/tests/unit/test_sdr_preexisting/key4.db
2019-12-16 18:52:41 +02:00
J.C. Jones 4916451c01 Bug 1594931 - Stop compiling NSS' DBM legacy database r=kjacobs,keeler,mhowell,MattN
This change modifies all tests that use key3/cert8 to use the new files. It
removes test_sdr_upgraded_with_password, as without the upgrade part that is now
the same test as test_sdr_preexisting_with_password.

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

--HG--
rename : security/manager/ssl/tests/unit/test_sdr_preexisting/key4.db => security/manager/ssl/tests/unit/test_broken_fips/key4.db
extra : moz-landing-system : lando
2019-12-14 18:52:26 +00:00
Andreea Pavel 1adff31cb1 Backed out changeset 7d55de92c194 (bug 1594931) for failing xpcshell at test_sdr_preexisting.js on a CLOSED TREE
--HG--
rename : security/manager/ssl/tests/unit/test_broken_fips/key4.db => security/manager/ssl/tests/unit/test_sdr_preexisting/key4.db
2019-12-13 22:48:02 +02:00
J.C. Jones 515c7f644c Bug 1594931 - Stop compiling NSS' DBM legacy database r=kjacobs,keeler,mhowell,MattN
This change removes the legacy libnssdbm database that we migrated away from since Firefox 60.

This change modifies all tests that use key3/cert8 to use the new files. It
removes test_sdr_upgraded_with_password, as without the upgrade part that is now
the same test as test_sdr_preexisting_with_password. It otherwise removes support for libnssdbm everywhere in Gecko.

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

--HG--
rename : security/manager/ssl/tests/unit/test_sdr_preexisting/key4.db => security/manager/ssl/tests/unit/test_broken_fips/key4.db
extra : moz-landing-system : lando
2019-12-13 19:00:35 +00:00
Yuri 9da62d84ad Bug 1565597 - Mozilla Remoting implementation for macOS, r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D56997

--HG--
extra : moz-landing-system : lando
2019-12-13 09:20:24 +00:00
Noemi Erli 83cbb9fb14 Backed out changeset 7c1213a74d28 (bug 1565597) for causing Linux bustages in RemoteUtils.h CLOSED TREE 2019-12-13 00:53:33 +02:00
Yuri 0514078c54 Bug 1565597 - Mozilla Remoting implementation for macOS, r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D56997

--HG--
extra : moz-landing-system : lando
2019-12-12 22:40:10 +00:00
Ricky Stewart 9c9c545557 Bug 1601064 - In ./mach configure, infer the location of the bootstrapped lucetc/wasi-sysroot r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D55734

--HG--
extra : moz-landing-system : lando
2019-12-09 14:54:16 +00:00
Ricky Stewart d5eb7d0ea5 Bug 1594867 - Add moz.build/backend bits to specify files that should be built as a sandboxed wasm library r=firefox-build-system-reviewers,mshal
Add backend stuff to build sandboxed wasm libraries. (Don't actually update any moz.build files to consume this yet.)

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

--HG--
extra : moz-landing-system : lando
2019-11-27 20:11:59 +00:00
Chris H-C 27eb092aff Bug 1591563 - Only build the fogotype crate on Nightly r=janerik,lina
Depends on D53713

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

--HG--
extra : moz-landing-system : lando
2019-11-22 20:38:50 +00:00
Andreas Tolfsen 732a55531c bug 1543115: toolkit: disable remote agent on Windows AArch64; r=froydnj
We can't compile the remote agent startup component (written in
Rust) for Windows AArch64 due to numerous packages depending on
winapi 0.2.8 which don't support AArch64.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 08:03:56 +00:00
Dorel Luca 665b49a8bb Backed out 2 changesets (bug 1591563) for Spidermonkey failures. CLOSED TREE
Backed out changeset 53d79a9ad34f (bug 1591563)
Backed out changeset 9bd151c03945 (bug 1591563)
2019-11-22 05:02:39 +02:00
Chris H-C 2c3d275f39 Bug 1591563 - Only build the fogotype crate on Nightly r=janerik,lina
Depends on D53713

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

--HG--
extra : moz-landing-system : lando
2019-11-20 21:37:12 +00:00
Dana Keeler af9edac0e5 bug 1597743 - re-enable intermediate preloading (cert_storage) on non-nightly builds r=jcj,kjacobs
Now that rkv has a new backend, we should be able to let this ride the trains
to early beta at least.

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

--HG--
extra : moz-landing-system : lando
2019-11-19 21:50:37 +00:00
Ricky Stewart af09bd9e37 Bug 1596475 - Add WASM_CFLAGS, WASM_CXXFLAGS, WASM_LDFLAGS r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53070

--HG--
extra : moz-landing-system : lando
2019-11-19 16:25:49 +00:00
Oana Pop Rus bbcc874759 Backed out 2 changesets (bug 1591563) for build bustages force-cargo-library-build on a CLOSED TREE
Backed out changeset c533ffe37892 (bug 1591563)
Backed out changeset 12900ca1c780 (bug 1591563)
2019-11-19 16:54:29 +02:00
Chris H-C 4c9531deec Bug 1591563 - Only build the fogotype crate on Nightly r=janerik,lina
Depends on D53713

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

--HG--
extra : moz-landing-system : lando
2019-11-19 13:52:28 +00:00
Ricky Stewart 08c0c80063 Bug 1594552 - Add moz.configure bits to specify a compiler for converting C/C++ to wasm r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D52111

--HG--
extra : moz-landing-system : lando
2019-11-14 16:26:24 +00:00
Mike Hommey 6da0724c96 Bug 1595995 - Set MOZ_CONFIGURE_OPTIONS to an empty unicode string when it's empty. r=dmajor
Because quote([]) returns an empty byte string, configure currently
fails. While ideally, quote would return an unicode string, it is not
guaranteed that all uses of quote would actually handle this properly.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 14:28:49 +00:00
Ricky Stewart a1a8c1c228 Bug 1593844 - Add moz.configure bits to specify a LUCETC binary r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D51927

--HG--
extra : moz-landing-system : lando
2019-11-07 16:11:09 +00:00
Dorel Luca 05c1167402 Backed out changeset a28ede26dc52 (bug 1593844) for Phyton tests failure in python/mozbuild/mozbuild/test/configure/lint.py. CLOSED TREE 2019-11-07 03:38:42 +02:00
Brian Grinstead d981495450 Bug 1593119 - Remove dom/xbl and the MOZ_XBL build option r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D51338

--HG--
extra : moz-landing-system : lando
2019-11-07 00:35:32 +00:00
Ricky Stewart e8b2d36496 Bug 1593844 - Add moz.configure bits to specify a LUCETC binary r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D51927

--HG--
extra : moz-landing-system : lando
2019-11-06 22:33:11 +00:00
Lee Salzman d7ccbd0261 Bug 1591996 - miscellaneous Gecko fixes for Skia m79 update. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D50825

--HG--
extra : moz-landing-system : lando
2019-10-28 21:42:48 +00:00
Brendan Dahl db9e24191d Bug 1583314 - Disable XBL by default. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D49339

--HG--
extra : moz-landing-system : lando
2019-10-21 20:21:05 +00:00
Brendan Dahl 3cb490cb0b Bug 1587662 - Define MOZ_XBL for non-compiled environments too. r=nalexander
The MOZ_XBL define is also used in app constants and needs to be defined
for artifact builds.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 22:36:15 +00:00
Brendan Dahl 8f5cb3d17d Bug 1510785 - Add build option for disabling XBL. r=chmanchester
Defaults XBL to disabled on android, but still enabled for desktop.

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

--HG--
extra : moz-landing-system : lando
2019-10-08 23:52:07 +00:00
Mike Hommey b9ba262dc8 Bug 1580533 - Ensure MOZ_CONFIGURE_OPTIONS is unicode. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D47709

--HG--
extra : moz-landing-system : lando
2019-10-01 23:58:35 +00:00
Michael Froman 36adeaea97 Bug 1582271 - pt1 - prep ffvpx files for adding mp3 support. r=jya
- Update README_MOZILLA for adding mp3 support, and add some clarifying text.
 - Clang-format config.h for easier reading since it is our file, not ffmpeg's.
 - Use sort -d -u to produce defaults_disabled.* files so linux and macOS
   produce same files.
 - Change MOZ_FFVPX_FLACONLY to MOZ_FFVPX_AUDIOONLY since it indicates flac
   and mp3 decoders.
 - Rename config_flac.h to config_audio.h

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

--HG--
rename : media/ffvpx/config_flac.h => media/ffvpx/config_audio.h
extra : moz-landing-system : lando
2019-09-24 21:02:07 +00:00
Henri Sivonen ac75f8e389 Bug 1578677 - Support --enable-rust-simd for standalone SpiderMonkey builds. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D46144

--HG--
extra : moz-landing-system : lando
2019-09-24 00:26:55 +00:00
Nathan Froyd bc51cbb9da Bug 1571559 - add configuration support for --with-wasi-sysroot; r=nalexander
As part of compiling C/C++ to wasm, we're going to need a wasm-specific
sysroot to be provided.  This option enables us to specify that sysroot
during configure.

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

--HG--
extra : moz-landing-system : lando
2019-09-19 17:33:26 +00:00
Nathan Froyd 9e9bc31347 Bug 1582205 - add initial configuration support for wasm sandboxed libraries; r=nalexander
This patch duplicates the configuration work done in D43710, but this
path enables better extension to other libraries and a better foundation
to build on for future build system changes.

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

--HG--
extra : moz-landing-system : lando
2019-09-20 19:44:33 +00:00
Kai Engert d65daa1f26 Bug 1570064 - Allow app (e.g. Thunderbird) to extend the system-headers variable. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D45922

--HG--
extra : moz-landing-system : lando
2019-09-17 09:54:33 +00:00
Nathan Froyd 95fdb43cdd Bug 1579546 - remove `SK_BUILD_FOR_ANDROID_NDK` define; r=lsalzman
This define is unused, modulo some apparently dead patches in the
gfx/skia/patches/archive/ directory.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 21:42:27 +00:00
Cameron McCormack a1e18da1b1 Bug 1573090 - Part 2: Look up ELF symbol tables directly when pre-symbolicating Gecko profiles on Linux. r=gerald
Whereas previously MozDescribeCodeAddress would have handled demangling,
we need to explicitly do that from our new GetFunction method.  The string we
generate is now more useful for the profiler to merge -- having dropped the
address in the previous patch, and the file & line number and library in this
patch.

While we're at it, try to demangle Rust symbols too.

Ideally we'd add Rust symbol handling to DemangleSymbol in
StackWalk.cpp, but that lives in mozglue, which currently cannot have
any Rust crate dependencies.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 05:45:16 +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
Aaron Klotz 098248deb9 Bug 1573264: Add configure support for detecting llvm-dlltool; r=glandium
In bug 1542830 I need to generate an import library from a .DEF file. The
`llvm-dlltool` utility is the tool to support this.

This change adds detection for the aforementioned utility and also configures
the required flags.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 04:34:32 +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
Chun-Min Chang 0561641171 Bug 1530715 - P3: Build cubeb-coreaudio-rs in libcubeb. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D23432

--HG--
extra : moz-landing-system : lando
2019-07-10 08:06:12 +00:00
Andreea Pavel 7853764e9d Backed out 42 changesets (bug 1530715) for SM build bustages on a CLOSED TREE
Backed out changeset 88ba94506737 (bug 1530715)
Backed out changeset 586d1b42a31b (bug 1530715)
Backed out changeset 7e7f5b9f2bf6 (bug 1530715)
Backed out changeset 7506b654e92f (bug 1530715)
Backed out changeset 518f85cf84a9 (bug 1530715)
Backed out changeset aca1e6806fc9 (bug 1530715)
Backed out changeset 70e97244daa8 (bug 1530715)
Backed out changeset 7c1e970c84a0 (bug 1530715)
Backed out changeset 9e10aa50ca0e (bug 1530715)
Backed out changeset 2a8d1c6faa33 (bug 1530715)
Backed out changeset bdc3110a40e9 (bug 1530715)
Backed out changeset bd809d3c5fd8 (bug 1530715)
Backed out changeset fe28daa92fc4 (bug 1530715)
Backed out changeset a964627f40c6 (bug 1530715)
Backed out changeset 3f3677f2980f (bug 1530715)
Backed out changeset e527edaabd65 (bug 1530715)
Backed out changeset 421e51bf612b (bug 1530715)
Backed out changeset 8f10a1790557 (bug 1530715)
Backed out changeset 0c5a0ed7203a (bug 1530715)
Backed out changeset 7fe0263794d3 (bug 1530715)
Backed out changeset ecd20933073e (bug 1530715)
Backed out changeset de4e23af5054 (bug 1530715)
Backed out changeset dcd65347e392 (bug 1530715)
Backed out changeset cd0e483df6be (bug 1530715)
Backed out changeset 9acd782f9450 (bug 1530715)
Backed out changeset b4809ada60dd (bug 1530715)
Backed out changeset 3742faad3806 (bug 1530715)
Backed out changeset bf15184c3c63 (bug 1530715)
Backed out changeset b6139a17a5fd (bug 1530715)
Backed out changeset dda297f7755a (bug 1530715)
Backed out changeset e98c1c0d561d (bug 1530715)
Backed out changeset 72c18b15e767 (bug 1530715)
Backed out changeset a8d7741d9134 (bug 1530715)
Backed out changeset 7562f780b687 (bug 1530715)
Backed out changeset 0cec8139038c (bug 1530715)
Backed out changeset 5ebf9b275f10 (bug 1530715)
Backed out changeset 7042c5c9c764 (bug 1530715)
Backed out changeset 4cd64e4037fa (bug 1530715)
Backed out changeset 48719d342b6f (bug 1530715)
Backed out changeset 0500179d3bbf (bug 1530715)
Backed out changeset 4bed62b601c6 (bug 1530715)
Backed out changeset 30f0b9853b0f (bug 1530715)
2019-07-10 10:56:00 +03:00
Chun-Min Chang 94a049f7b4 Bug 1530715 - P3: Build cubeb-coreaudio-rs in libcubeb. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D23432

--HG--
extra : moz-landing-system : lando
2019-07-09 19:56:58 +00:00
Kartikaya Gupta 7db86f8d91 Bug 1563311 - Remove the --enable-webrender ac_options. r=froydnj
This drops the MOZ_BUILD_WEBRENDER and MOZ_ENABLE_WEBRENDER flags
which are unused after the preceding two patches.

Depends on D36820

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

--HG--
extra : moz-landing-system : lando
2019-07-03 20:53:54 +00:00
Mike Hommey 06bd14ced9 Bug 1560545 - Change libdrm version check in configure. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D35753

--HG--
extra : moz-landing-system : lando
2019-06-26 05:02:42 +00:00
Cosmin Sabou 58cc56c50f Backed out 3 changesets (bug 1560545) for causing build bustages. CLOSED TREE
Backed out changeset 31177fcc3123 (bug 1560545)
Backed out changeset e3e1ad8d7709 (bug 1560545)
Backed out changeset fd64770f1342 (bug 1560545)
2019-06-26 07:56:47 +03:00
Mike Hommey 124dab266b Bug 1560545 - Change libdrm version check in configure. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D35753

--HG--
extra : moz-landing-system : lando
2019-06-25 20:22:48 +00:00
Martin Stransky 34e570a249 Bug 1557265 - [Wayland] Require libdrm to build Wayland backend, r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D33918

--HG--
extra : moz-landing-system : lando
2019-06-20 21:51:15 +00:00
Noemi Erli 509cc39c0f Backed out 3 changesets (bug 1557265) for causing Linux bustages CLOSED TREE
Backed out changeset 5e797f74091a (bug 1557265)
Backed out changeset f10c947516e0 (bug 1557265)
Backed out changeset f7e5ef31a50b (bug 1557265)
2019-06-20 22:13:33 +03:00
Martin Stransky 646c9807f2 Bug 1557265 - [Wayland] Require libdrm to build Wayland backend, r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D33918

--HG--
extra : moz-landing-system : lando
2019-06-20 18:05:25 +00:00
Daniel Varga a50d7d7a01 Backed out 3 changesets (bug 1557265) for build bustage at /obj-firefox/dist/include/mozilla/widget/nsWaylandDisplay.h. On a CLOSED TREE
Backed out changeset 7b180f98ba3e (bug 1557265)
Backed out changeset 0739231e0456 (bug 1557265)
Backed out changeset 5fc2424b9085 (bug 1557265)

--HG--
extra : rebase_source : b681bd09fc7b066f8caf157c6990927755a44d36
2019-06-20 03:34:20 +03:00
Martin Stransky fd9e6a9a28 Bug 1557265 - [Wayland] Require libdrm to build Wayland backend, r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D33918

--HG--
extra : moz-landing-system : lando
2019-06-19 21:55:33 +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
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 0e4063bd7b Bug 1549886 - Enable MOZ_TELEMETRY_REPORTING by default when MOZILLA_OFFICIAL is set. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D30336

--HG--
extra : moz-landing-system : lando
2019-05-08 14:33:56 +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
Alex Chronopoulos 429167605d Bug 1540124 - Enable aarch64 assembly builds for libdav1d. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D30185

--HG--
extra : moz-landing-system : lando
2019-05-08 15:59:15 +00:00
Richard Marti ab184f1c55 Bug 1547931 - Enable the MOZ_BUNDLED_FONTS variable for Thunderbird too. r=jfkthame CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D29328

--HG--
extra : amend_source : 1a581c54149aea50b0b70b0087c552044eadecac
2019-05-08 00:20:32 +02:00
Dan Minor 0bf8dc6be1 Bug 1540760 - Build system changes for aarch64-win64 support in ffvpx; r=jya
Differential Revision: https://phabricator.services.mozilla.com/D27790

--HG--
extra : moz-landing-system : lando
2019-05-01 15:04:50 +00:00
Myk Melez bfe7c7e0b4 Bug 1547877 - enable configuration of new cert storage implementation r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D29306

--HG--
extra : moz-landing-system : lando
2019-05-02 23:02:13 +00:00
Myk Melez 926c25f9a4 Bug 1547877 - enable configuration of new Notification Store implementation r=mossop,lina
Differential Revision: https://phabricator.services.mozilla.com/D29305

--HG--
rename : dom/notification/NotificationDB.jsm => dom/notification/new/NotificationDB.jsm
rename : dom/notification/NotificationDB.jsm => dom/notification/old/NotificationDB.jsm
extra : moz-landing-system : lando
2019-05-02 23:02:13 +00:00
Myk Melez 1b3f6d1faf Bug 1547877 - enable configuration of new XULStore implementation r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D29304

--HG--
rename : toolkit/components/xulstore/XULStore.jsm => toolkit/components/xulstore/new/XULStore.jsm
extra : moz-landing-system : lando
2019-05-02 23:01:57 +00:00
Andreas Tolfsen e4efcaa0dd bug 1546945: remote: re-enable remote agent in Firefox Nightly; r=ochameau
This patch negates the effect of 004d050a8ec4 (git 6dd9496ac0f9).

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

--HG--
extra : moz-landing-system : lando
2019-04-25 18:03:12 +00:00
Kartikaya Gupta 26da9a6c9e Bug 1542826 - Expose a mozconfig flag to build the WR debugger feature. r=gw,froydnj
We can't yet enable the build by default since it pulls in networking functions
into libgkrust which runs afoul of the checks added in bug 1376621.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 19:31:16 +00:00
Andreas Tolfsen c34e359950 bug 1546945: remote: temporarily stop implying --enable-cdp; r=aryx
As detailed in https://bugzilla.mozilla.org/show_bug.cgi?id=1546945,
enabling the remote agent in the default Firefox Nightly build
(https://bugzilla.mozilla.org/show_bug.cgi?id=1533831) caused a
leakcheck in M-bc to fail.

This patch cuts the remote agent off from the build, by stopping
to imply --enable-cdp, until we have had time to fix the leak.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 12:27:46 +00:00
Andreas Tolfsen b3dc3fc611 bug 1533831: remote: include remote agent in default build; r=firefox-build-system-reviewers,chmanchester
The previous commit disabled the remote agent by flipping the
remote.enabled preference to false.  That prevented the remote
agent from initialising or being included in the --help message.

This patch implies --enable-cdp in the default Firefox build on Firefox
Nightly.  Firefox for Android is not supported.  This will cause
builds to include the remote agent component that lives under remote/.

Since the remote agent is disabled by default, users will first
have to set the remote.enabled preference to true in order to use it.

If you wish to explicitly opt out of including the remote agent
when building Firefox, you may do so by using the --disable-cdp
build flag in your mozconfig:

	ac_add_options --disable-cdp

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

--HG--
extra : moz-landing-system : lando
2019-04-24 17:18:22 +00:00