Commit Graph

377 Commits

Author SHA1 Message Date
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
Cosmin Sabou
6e8934bb87 Backed out 4 changesets (bug 1533831) for xpcshell failures on remote/test/unit/test_Error.js. CLOSED TREE
Backed out changeset a3014b38cc5f (bug 1533831)
Backed out changeset 57a319eeed2d (bug 1533831)
Backed out changeset afcfdae88bf7 (bug 1533831)
Backed out changeset c03450df8660 (bug 1533831)
2019-04-24 19:55:51 +03:00
Andreas Tolfsen
9eab4824cb 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 15:18:09 +00:00
Robert Strong
13aac1dde6 Bug 1545712 - make verify mar enabled the default. r=glandium
Changes --enable-verify-mar to be the default. Builds that want to disable mar verification will need to specify --disabled-verify-mar.
Removes --enable-verify-mar from Firefox's mozconfigs since it is no longer needed.
Re-enables app update browser chrome tests on ASAN that were disabled due to the ASAN mozconfigs not specifying --enable-verify-mar.
This also makes the same app update browser chrome tests on code coverage builds due to the code coverage mozconfigs not specifying --enable-verify-mar.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 23:00:12 +00:00
Gurzau Raul
9b30abf7c9 Backed out 4 changesets (bug 1533831) for failing at /browser/browser_target.js on a CLOSED TREE.
Backed out changeset 94fd0790781a (bug 1533831)
Backed out changeset d32384388e3d (bug 1533831)
Backed out changeset bd363475667f (bug 1533831)
Backed out changeset b818d6ca606d (bug 1533831)
2019-04-18 05:35:54 +03:00
Andreas Tolfsen
b864268d1a 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-17 16:41:38 +00:00
Nick Alexander
a8c9fd6a83 Bug 1542920 - Enable Marionette by default. r=froydnj
In particular, this enables Marionette in local Fennec builds, which
were the only place it wasn't enabled by default.  (Automation builds
all enabled Marionette.)  That default is getting in the way of the
Performance Team (and others!) testing GeckoView-based products
easily.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 14:11:17 +00:00
Andreas Tolfsen
a697e45782 bug 1542861: browser, toolkit: fix remote agent packaging; r=firefox-build-system-reviewers,mshal
The RemoteAgent.js script has (temporarily) changed name to
remote/command-line-handler.js, and the chrome component remote.jar
was not included during packaging.  This patch fixes both these things.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 20:33:19 +00:00
Mike Hommey
b5706992db Bug 1537641 - Make MIDL use clang-cl as a preprocessor. r=dmajor
Using clang-cl as a preprocessor fails with:
```
In file included from z:\build\build\src\accessible\ipc\win\handler\HandlerData.idl:8:
z:\build\build\src\accessible\ipc\win\handler/AccessibleHandler.h(27,8): error: pasting formed 'Accessible2_3.', an invalid preprocessing token [-Winvalid-token-paste]
import NEWEST_IA2_IDL;
       ^
z:\build\build\src\accessible\ipc\win\handler/AccessibleHandler.h(15,24): note: expanded from macro 'NEWEST_IA2_IDL'
                       ^
z:\build\build\src\accessible\ipc\win\handler/AccessibleHandler.h(14,22): note: expanded from macro 'IDLFOR'
                     ^
z:\build\build\src\accessible\ipc\win\handler/AccessibleHandler.h(13,36): note: expanded from macro '__GENIDL'
                                   ^
1 error generated.
midl : command line error MIDL1003 : error returned by the C preprocessor (1)
```

There's only one place using the NEWEST_IA2_IDL and accompanying
macros, we can just avoid the issue altogether by expanding it manually
(and it's not like the macro buys much, the other arm of the __midl ifdef
has a #include "Accessible2_3.h" that doesn't use the macro either,
presumably for the same reason).

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

--HG--
extra : moz-landing-system : lando
2019-03-26 16:29:17 +00:00
Henri Sivonen
5792feaaf5 Bug 1521249 part 0 - Remove Rust version cap from --enable-rust-simd. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21891

--HG--
extra : moz-landing-system : lando
2019-03-23 14:17:35 +00:00
Alex Chronopoulos
fe1ca24c8b Bug 1536070 - Enable ASM in dav1d for Tier3 platforms. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D24361

--HG--
extra : moz-landing-system : lando
2019-03-22 14:18:27 +00:00
Adam Gashlin
6c695331c4 Bug 1523417 - BITS client library for update downloading r=aklotz,emilio,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D17989

--HG--
extra : moz-landing-system : lando
2019-03-21 22:43:41 +00:00
Mike Hommey
e8b6f15845 Bug 1529194 - Allow to opt-in to widevine on aarch64 Windows. r=firefox-build-system-reviewers,chmanchester
This uses artifacts from a win32 build to get the necessary DLLs.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 08:41:04 +00:00
Alex Chronopoulos
83e7193c99 Bug 1534321 - Assembly builds for libdav1d on OSX. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D23111

--HG--
extra : moz-landing-system : lando
2019-03-12 17:08:55 +00:00
Sylvestre Ledru
e34acc8d48 Bug 1531176 - Split the Google key management between gls and safe browsing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21459

--HG--
extra : moz-landing-system : lando
2019-03-10 15:29:41 +00:00
Andreas Tolfsen
8adf183333 bug 1523104: remote: hook new remote protocol up to build system; r?#build
We have a new remote protocol in Firefox that is based on the Chrome
DevTools Protocol (CDP).  This is a low-level debugging interface with
which you can inspect the state and control execution of documents
running in web content, instrument Firefox in interesting ways, simulate
user interaction for automation purposes, and debug JavaScript execution.

This patch hooks the server part of this implementation, known as the
remote agent, up to the build system.  The remote agent is not enabled
in the default build, so the following is needed in mozconfig to build it:

	ac_add_options --enable-cdp

A subsequent change to enable the remote agent in Nightly builds only
will follow in due course.  That would allow us to run TaskCluster
test jobs to verify the remote protocol's functional integrity.

Differential Revision: https://phabricator.services.mozilla.com/D22729
2019-03-08 18:21:06 +00:00
Andreas Tolfsen
8c51eef5c4 bug 1523104: remote: disconnect from build system; r=me
We need a build peers' approval for hooking the remote agent up to
the build system.
2019-03-08 16:28:22 +00:00
Andreas Tolfsen
06faaf9146 bug 1523104: remote: initial cdp prototype; r=ochameau 2019-03-08 16:26:22 +00:00
Ciure Andrei
f18158766f Backed out changeset 3fb6c01dd2b0 (bug 1531176) for causing gradle toolchain bustage CLOSED TREE 2019-03-07 14:23:03 +02:00
Sylvestre Ledru
3efed81946 Bug 1531176 - Split the Google key management between gls and safe browsing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21459

--HG--
extra : moz-landing-system : lando
2019-03-07 12:04:53 +00:00
Ciure Andrei
f1a9fa2676 Backed out changeset 0f2b9b0bf9b9 (bug 1531176) for google-geolocation-api-keyfile build bustages CLOSED TREE 2019-03-07 13:58:33 +02:00
Sylvestre Ledru
90181c47ae Bug 1531176 - Split the Google key management between gls and safe browsing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21459

--HG--
extra : moz-landing-system : lando
2019-03-07 11:31:18 +00:00
Alex Chronopoulos
ec9ec63b46 Bug 1521062 - Configure assembly builds for libdav1d on Windows. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D22080

--HG--
extra : moz-landing-system : lando
2019-03-07 09:32:15 +00:00
Ciure Andrei
06cf4b1f67 Backed out changeset 6c2e00bcd2bb (bug 1531176) due to google-location-api-keyfile build busatges CLOSED TREE 2019-03-07 10:49:26 +02:00
Sylvestre Ledru
03ac617a44 Bug 1531176 - Split the Google key management between gls and safe browsing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21459

--HG--
extra : moz-landing-system : lando
2019-03-06 23:06:10 +00:00
Dave Townsend
3a2c94b730 Bug 1518639: Add boilerplate support for a windows remote client and server. r=jimm,froydnj
Adds build config and stubs for a windows implementation of the remote client
and server.

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

--HG--
extra : source : abd7789e9637c92978efcf745361b98c5abf847a
extra : intermediate-source : 276ca640adc8ff16ff3ff7252e8aa5016205b1e0
2019-02-06 11:09:06 -08:00
Coroiu Cristina
b3ff92b647 Backed out 11 changesets (bug 1518639, bug 513742) for chrome failures at browser/components/shell/test/test_headless_screenshot.html
Backed out changeset 84e8066625fd (bug 1518639)
Backed out changeset 4ef3cc37f719 (bug 513742)
Backed out changeset 276ca640adc8 (bug 1518639)
Backed out changeset 73ca9a68d771 (bug 1518639)
Backed out changeset 967993505a3d (bug 1518639)
Backed out changeset fc466857ab39 (bug 1518639)
Backed out changeset 28404f97bb22 (bug 1518639)
Backed out changeset 5373c5bb9ad5 (bug 1518639)
Backed out changeset a7490cdfb635 (bug 1518639)
Backed out changeset 28c7186745e3 (bug 1518639)
Backed out changeset 35287afd3ace (bug 1518639)

--HG--
rename : toolkit/components/remote/nsDBusRemoteServer.cpp => toolkit/components/remote/nsDBusRemoteService.cpp
rename : toolkit/components/remote/nsDBusRemoteServer.h => toolkit/components/remote/nsDBusRemoteService.h
rename : toolkit/components/remote/nsGTKRemoteServer.cpp => toolkit/components/remote/nsGTKRemoteService.cpp
rename : toolkit/components/remote/nsGTKRemoteServer.h => toolkit/components/remote/nsGTKRemoteService.h
rename : toolkit/components/remote/nsXRemoteServer.cpp => toolkit/components/remote/nsXRemoteService.cpp
rename : toolkit/components/remote/nsXRemoteServer.h => toolkit/components/remote/nsXRemoteService.h
rename : toolkit/components/remote/nsDBusRemoteClient.cpp => widget/xremoteclient/DBusRemoteClient.cpp
rename : toolkit/components/remote/nsDBusRemoteClient.h => widget/xremoteclient/DBusRemoteClient.h
rename : toolkit/components/remote/RemoteUtils.cpp => widget/xremoteclient/RemoteUtils.cpp
rename : toolkit/components/remote/RemoteUtils.h => widget/xremoteclient/RemoteUtils.h
rename : toolkit/components/remote/nsXRemoteClient.cpp => widget/xremoteclient/XRemoteClient.cpp
rename : toolkit/components/remote/nsXRemoteClient.h => widget/xremoteclient/XRemoteClient.h
rename : toolkit/components/remote/nsRemoteClient.h => widget/xremoteclient/nsRemoteClient.h
2019-03-06 21:28:49 +02:00
Dave Townsend
09ad33c9b3 Bug 1518639: Add boilerplate support for a windows remote client and server. r=jimm,froydnj
Adds build config and stubs for a windows implementation of the remote client
and server.

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

--HG--
extra : rebase_source : f33e1ad19c1ed06fc79e017d62765a7632578258
extra : source : abd7789e9637c92978efcf745361b98c5abf847a
2019-02-06 11:09:06 -08:00
Mike Hommey
6bfaa82f51 Bug 1531634 - Change how OMNIJAR_NAME is handled for fennec builds. r=nalexander
Fennec has a value of OMNIJAR_NAME that contains a directory, contrary
to other platforms, and relies in post-packaging, pre-unpacking steps to
accommodate with the difference.

With this change, we just make the packaging and unpacking steps aware
of this setup, and make allow them to pack/unpack resources in foo/
under foo/$OMNIJAR_NAME, whether $OMNIJAR_NAME is a file name or a path.

This will, further down the road, allow the packager code to handle jar
logs from PGO instrumentation without munging them.

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

--HG--
extra : moz-landing-system : lando
2019-03-01 21:49:47 +00:00
Henri Sivonen
a797b755b8 Bug 1531655 - Emit a configure error if rustc version >= 1.33 and --enable-rust-simd used. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21649

--HG--
extra : moz-landing-system : lando
2019-03-01 10:08:24 +00:00
Csoregi Natalia
5dc35283f1 Backed out changeset d8d8af44ae92 (bug 1531655) for artifact build bustage. CLOSED TREE 2019-03-01 12:03:03 +02:00
Henri Sivonen
7dcd5b46a6 Bug 1531655 - Emit a configure error if rustc version >= 1.33 and --enable-rust-simd used. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21649

--HG--
extra : moz-landing-system : lando
2019-03-01 08:43:40 +00:00
Lee Salzman
5092fbb7ef Bug 1530471 - remove --disable-skia-gpu since Skia GPU is no longer used r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21050

--HG--
extra : moz-landing-system : lando
2019-02-26 07:08:12 +00:00
Aaron Klotz
6f4ebce141 Bug 1530539: Set --enable-launcher-process to default on past Nightly; r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D21262

--HG--
extra : moz-landing-system : lando
2019-02-26 21:11:51 +00:00
Mike Hommey
fb0665284b Bug 1530562 - Enable DMD by default when possible. r=mshal
And remove the manual --enable-dmd in in-tree mozconfigs, as well as
--enable-profiling, which is implied by --enable-dmd.

This disables DMD on add-on-devel builds, which don't look like they
were actually meant to have DMD enabled in the first place (they only do
because they use the nightly mozconfig on all branches, and as a matter
of fact, the nightly mozconfig didn't enable DMD before bug 1409739)

This enables DMD on mingw builds with the same conditions applied as
other platforms, meaning that it's not enabled on opt builds on release
branches.

And this enables DMD on plain builds, which, from this perspective,
reflect local developer builds, and this is the expected effect.

Depends on D21161

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

--HG--
extra : moz-landing-system : lando
2019-02-26 22:07:04 +00:00
Mike Hommey
b228df0c91 Bug 1528884 - Change how --enable-eme is handled. r=ted
It used to be that --enable-eme on its own had some effect, but that's
not the case anymore. The only thing it does as of bug 1300654 is to
switch the defaults in the Firefox configuration.

Reflect that in how we handle --enable-eme.

Differential Revision: https://phabricator.services.mozilla.com/D20270
2019-02-20 07:51:48 +09:00
Mike Hommey
e11bbe3cb1 Bug 1528149 - Enable ffvpx on artifact builds. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D19913

--HG--
extra : moz-landing-system : lando
2019-02-19 05:48:27 +00:00
James Teh
b43e6e136a Bug 1516214: Enable accessibility on aarch64 Windows. r=glandium
Accessibility now compiles and works, so we can re-enable it!
This effectively backs out the moz.configure part of 02cd44e39566.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 02:50:50 +00:00
Mike Hommey
ef3ad686ee Bug 1512504 - Remove support for MSVC. r=froydnj
Consequently, this removes:
- MOZ_LIBPRIO, which is now always enabled.
- non_msvc_compiler, which is now always true.
- The cl.py wrapper, since it's not used anymore.
- CL_INCLUDES_PREFIX, which was only used for the cl.py wrapper.
- NONASCII, which was only there to ensure CL_INCLUDES_PREFIX still
  worked in non-ASCII cases.

This however keeps a large part of detecting and configuring for MSVC,
because we still do need it for at least headers, libraries, and midl.

Depends on D19614

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

--HG--
extra : moz-landing-system : lando
2019-02-14 21:45:27 +00:00
Mike Hommey
ad47c8dca9 Bug 1515641 - Check for nasm >= 2.13 for dav1d. r=TD-Linux,nalexander
Depends on D18294

Depends on D18294

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

--HG--
extra : moz-landing-system : lando
2019-02-05 21:19:07 +00:00
Mike Hommey
90f8ea2e9a Bug 1515641 - Turn --enable-av1 around. r=nalexander
AV1 is actually enabled everywhere by default (except 32-bits Windows
when building with MSVC), so let's make the option --disable-av1 rather
than --enable-av1. Also, since AV1 is backed by both libaom and
libdav1d, remove mentions to libaom.

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

--HG--
extra : moz-landing-system : lando
2019-02-05 21:19:05 +00:00
Gurzau Raul
25481be3b8 Backed out 2 changesets (bug 1515641) for Linux static-analysis bustage on a CLOSED TREE.
Backed out changeset 99cc2de46625 (bug 1515641)
Backed out changeset 5a8a06e5187c (bug 1515641)
2019-02-02 00:55:11 +02:00
Mike Hommey
5d92a7a815 Bug 1515641 - Check for nasm >= 2.13 for dav1d. r=TD-Linux,nalexander
Depends on D18294

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

--HG--
extra : moz-landing-system : lando
2019-02-01 20:57:09 +00:00
Mike Hommey
df9fa46b6d Bug 1515641 - Turn --enable-av1 around. r=nalexander
AV1 is actually enabled everywhere by default (except 32-bits Windows
when building with MSVC), so let's make the option --disable-av1 rather
than --enable-av1. Also, since AV1 is backed by both libaom and
libdav1d, remove mentions to libaom.

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

--HG--
extra : moz-landing-system : lando
2019-02-01 20:58:20 +00:00
Paul Adenot
ac88918290 Bug 1523611 - Require libvpx >= 1.7.0. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D18085

--HG--
extra : moz-landing-system : lando
2019-01-30 15:55:10 +00:00
Mike Hommey
e39820dc70 Bug 1475564 - Enable libav1 when not building with msvc. r=dmajor
We reenable the corresponding tests unconditionally because we don't run
tests on the msvc builds anyways (and they're going to be retired soon).

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

--HG--
extra : moz-landing-system : lando
2019-01-30 07:30:01 +00:00
Bogdan Tara
78cd247b5d Backed out changeset b5ac6baec29b (bug 1475564) for test_can_play_type_mpeg.html failures CLOSED TREE 2019-01-30 08:56:27 +02:00
Mike Hommey
b1b18fb874 Bug 1475564 - Enable libav1 when not building with msvc. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D18028

--HG--
extra : moz-landing-system : lando
2019-01-30 04:17:50 +00:00
Kris Maglione
cc171935f4 Bug 1478124: Part 4a - Add XPCOM_MANIFESTS moz.build variable for XPCOM component manifests. r=froydnj
This aggregates a list of all static component manifests in the tree, and
writes them out to a `manifests-lists.json` file, which is read by the codegen
scripts in the next patch.

It slightly abuses the IDL lists machinery, given that these aren't
technically IDL files. But the semantics are similar enough that it seemed
like the best option.

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

--HG--
extra : rebase_source : f1e1e1c9497ab8c18c25a106316a1af57237b99f
extra : source : f500020a273a27c66bf2166505a0e97bbc34a214
2018-12-12 18:29:57 -08:00
Mike Hommey
608a89c9c8 Bug 1523144 - Search for MSVC for MIDL in more locations. r=froydnj
In some setups, MSVC is not found through vc_compiler_path, so we may
need a more complete path. `toolchain_search_path` contains
vc_compiler_path, as well as $PATH (among others), increasing our
chances.

Also, if we fail to find cl.exe that way, fail early, instead of failing
while processing config.status, failing to serialize MIDL_FLAGS because
it contains a `None`.

Depends on D17767

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

--HG--
extra : moz-landing-system : lando
2019-01-28 20:34:59 +00:00