gecko-dev/remote/moz.build
Andreas Tolfsen 36f394af15 bug 1543115: remote, toolkit: bootstrap from Rust; r=remote-protocol-reviewers,maja_zf
This bootstraps the remote agent from Rust so that we have access
to write to stderr using the eprintln!() macro.  There is a future
intention to expand Rust usage in the remote agent by delegating
CDP and WebDriver Bi-Di protocol schema validation to serde.

The Rust port is faithful to the JS version in terms of functionality,
and in some places improves on the original design by enforcing
a strict division between flag handling code on one hand, and the
remote agent server on the other.

Differential Revision: https://phabricator.services.mozilla.com/D50289

--HG--
extra : moz-landing-system : lando
2019-11-22 08:03:21 +00:00

45 lines
1.5 KiB
Plaintext

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DIRS += [
"startup",
"test",
]
XPCOM_MANIFESTS += ["components.conf"]
JAR_MANIFESTS += ["jar.mn"]
XPIDL_MODULE = "remote"
XPIDL_SOURCES += ["nsIRemoteAgent.idl"]
with Files("**"):
BUG_COMPONENT = ("Remote Protocol", "Agent")
with Files("domains/**/Emulation.jsm"):
BUG_COMPONENT = ("Remote Protocol", "Emulation")
with Files("domains/**/DOM.jsm"):
BUG_COMPONENT = ("Remote Protocol", "DOM")
with Files("domains/**/Input.jsm"):
BUG_COMPONENT = ("Remote Protocol", "Input")
with Files("domains/**/Log.jsm"):
BUG_COMPONENT = ("Remote Protocol", "Log")
with Files("domains/**/Network.jsm"):
BUG_COMPONENT = ("Remote Protocol", "Network")
with Files("domains/**/Page.jsm"):
BUG_COMPONENT = ("Remote Protocol", "Page")
with Files("domains/**/Performance.jsm"):
BUG_COMPONENT = ("Remote Protocol", "Performance")
with Files("domains/**/Runtime.jsm"):
BUG_COMPONENT = ("Remote Protocol", "Runtime")
with Files("domains/**/Security.jsm"):
BUG_COMPONENT = ("Remote Protocol", "Security")
with Files("domains/**/Browser.jsm"):
BUG_COMPONENT = ("Remote Protocol", "Browser")
with Files("domains/**/Target.jsm"):
BUG_COMPONENT = ("Remote Protocol", "Target")
with Files("doc/**"):
SCHEDULES.exclusive = ["docs"]
SPHINX_TREES["/remote"] = "doc"