Commit Graph

369 Commits

Author SHA1 Message Date
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
Mike Hommey
8c35f22090 Bug 1523144 - Don't pass compiler flags down to MIDL. r=froydnj
This turns out to not work at all, because this prevents MIDL itself to
pass -I to the compiler, which then proceeds to fail. We're just lucky
that our MSVC detection doesn't yield any default flags so this is
effectively dead code.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 20:34:43 +00:00
Andrew Osmond
bba2f124b6 Bug 1521478 - Update libwebp to v1.0.2. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D17110
2019-01-21 12:55:02 -05:00
Mike Hommey
c98dd02e0b Bug 1520681 - Use proper defaults for --enable-default-toolkit. r=froydnj
Back when those were added, option defaults could not indirectly depend
on `target` or `host`, but that changed with bug 1322025.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 16:04:29 +00:00
Mike Hommey
19f8d4666d Bug 1520677 - Remove unnecessary --help dependencies in python configure. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D16777

--HG--
extra : moz-landing-system : lando
2019-01-17 03:34:54 +00:00
Mike Hommey
5215f57b1d Bug 1520108 - Move MOZ_CONFIGURE_OPTIONS to toolkit/moz.configure. r=froydnj
It is only used to fill about:buildconfig.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 15:28:00 +00:00
Mike Hommey
7c72587da6 Bug 1519047 - Move FFVPX_ASFLAGS and related variables to python configure. r=nalexander
This also moves the corresponding ASFLAGS from moz.build to python
configure.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 18:17:36 +00:00
Mike Hommey
94ff361bf4 Bug 1519325 - Move D3D compiler DLL detection to python configure. r=froydnj
MOZ_D3D_CPU_SUFFIX and MOZ_HAS_WINSDK_WITH_D3D are not used in the
build, and nothing includes d3d10.h except some angle code in a
preprocessed branch that is only taken for a macro we never define,
so we don't move the code corresponding to those. We also simplify the
detection code, which is convoluted now that it doesn't search for
multiple different DLLs.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 22:21:24 +00:00
Mike Hommey
b8548a1071 Bug 1515528 - Disable accessibility on aarch64-windows. r=dmajor,chmanchester
Depends on D15265

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

--HG--
extra : moz-landing-system : lando
2019-01-11 00:20:35 +00:00