зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
5c233491f3
Коммит
c34e359950
|
@ -919,14 +919,9 @@ add_old_configure_assignment('FT2_CFLAGS',
|
||||||
# See https://firefox-source-docs.mozilla.org/remote/ for more.
|
# See https://firefox-source-docs.mozilla.org/remote/ for more.
|
||||||
# The source code lives under ../remote.
|
# The source code lives under ../remote.
|
||||||
|
|
||||||
@depends(target, milestone)
|
option('--enable-cdp', help='{Enable|Disable} remote agent')
|
||||||
def remote_default(target, milestone):
|
|
||||||
return target.os != 'Android' and milestone.is_nightly
|
|
||||||
|
|
||||||
option('--disable-cdp', default=remote_default,
|
@depends('--enable-cdp')
|
||||||
help='{Enable|Disable} remote agent')
|
|
||||||
|
|
||||||
@depends('--disable-cdp')
|
|
||||||
def remote(value):
|
def remote(value):
|
||||||
if value:
|
if value:
|
||||||
return True
|
return True
|
||||||
|
|
Загрузка…
Ссылка в новой задаче