From c34e359950b0bfcf0b9229703a790eb4dc810770 Mon Sep 17 00:00:00 2001 From: Andreas Tolfsen Date: Thu, 25 Apr 2019 12:27:46 +0000 Subject: [PATCH] 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 --- toolkit/moz.configure | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/toolkit/moz.configure b/toolkit/moz.configure index 7373fd87ab6d..999d3d9d43f8 100644 --- a/toolkit/moz.configure +++ b/toolkit/moz.configure @@ -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