зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1676803 - [remote] Enable Remote Agent on Android. r=firefox-build-system-reviewers,mhentges,glandium
Differential Revision: https://phabricator.services.mozilla.com/D112005
This commit is contained in:
Родитель
58ee0c217e
Коммит
23de16f8bf
|
@ -72,6 +72,10 @@ BINPATH = bin
|
|||
endif
|
||||
DEFINES += -DBINPATH=$(BINPATH)
|
||||
|
||||
ifdef ENABLE_REMOTE_AGENT
|
||||
DEFINES += -DENABLE_REMOTE_AGENT=1
|
||||
endif
|
||||
|
||||
ifdef ENABLE_MARIONETTE
|
||||
DEFINES += -DENABLE_MARIONETTE=1
|
||||
endif
|
||||
|
|
|
@ -206,6 +206,12 @@
|
|||
|
||||
@BINPATH@/components/GeckoView.manifest
|
||||
|
||||
; CDP remote agent
|
||||
#ifdef ENABLE_REMOTE_AGENT
|
||||
@BINPATH@/chrome/remote@JAREXT@
|
||||
@BINPATH@/chrome/remote.manifest
|
||||
#endif
|
||||
|
||||
; Remote control protocol
|
||||
#ifdef ENABLE_MARIONETTE
|
||||
@BINPATH@/chrome/marionette@JAREXT@
|
||||
|
|
|
@ -1048,14 +1048,10 @@ add_old_configure_assignment("FT2_CFLAGS", ft2_info.cflags)
|
|||
# The source code lives under ../remote.
|
||||
|
||||
|
||||
@depends(target, build_project)
|
||||
def remote_default(target, project):
|
||||
# no support for Android
|
||||
if target.os == "Android":
|
||||
return False
|
||||
|
||||
# enable for Firefox Desktop only
|
||||
return project == "browser"
|
||||
@depends(build_project)
|
||||
def remote_default(build_project):
|
||||
# enable for Firefox only
|
||||
return build_project in ("browser", "mobile/android")
|
||||
|
||||
|
||||
option("--enable-cdp", default=remote_default, help="{Enable|Disable} remote agent")
|
||||
|
|
Загрузка…
Ссылка в новой задаче