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
This commit is contained in:
Andreas Tolfsen 2019-04-09 20:33:19 +00:00
parent 7da5caf32f
commit a697e45782
2 changed files with 7 additions and 3 deletions

View File

@ -189,7 +189,9 @@
; CDP remote agent
#ifdef ENABLE_REMOTE_AGENT
@RESPATH@/components/RemoteAgent.js
@RESPATH@/chrome/remote@JAREXT@
@RESPATH@/chrome/remote.manifest
@RESPATH@/components/command-line-handler.js
@RESPATH@/components/RemoteAgent.manifest
@RESPATH@/defaults/pref/remote.js
#endif

View File

@ -913,12 +913,13 @@ add_old_configure_assignment('FT2_CFLAGS',
ft2_info.cflags)
# CDP remote agent
# Remote agent (part of CDP based remote protocol)
# ==============================================================
#
# See https://firefox-source-docs.mozilla.org/remote/ for more.
# The source code lives under ../remote.
option('--enable-cdp', help='Enable CDP-based remote agent')
option('--enable-cdp', help='{Enable|Disable} remote agent')
@depends('--enable-cdp')
def remote(value):
@ -926,6 +927,7 @@ def remote(value):
return True
set_config('ENABLE_REMOTE_AGENT', remote)
set_define('ENABLE_REMOTE_AGENT', remote)
# Marionette remote protocol