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
This commit is contained in:
Andreas Tolfsen 2019-04-25 12:27:46 +00:00
Родитель 5c233491f3
Коммит c34e359950
1 изменённых файлов: 2 добавлений и 7 удалений

Просмотреть файл

@ -919,14 +919,9 @@ add_old_configure_assignment('FT2_CFLAGS',
# See https://firefox-source-docs.mozilla.org/remote/ for more.
# The source code lives under ../remote.
@depends(target, milestone)
def remote_default(target, milestone):
return target.os != 'Android' and milestone.is_nightly
option('--enable-cdp', help='{Enable|Disable} remote agent')
option('--disable-cdp', default=remote_default,
help='{Enable|Disable} remote agent')
@depends('--disable-cdp')
@depends('--enable-cdp')
def remote(value):
if value:
return True