remote/moz.build
author Alexandre Poirot <poirot.alex@gmail.com>
Fri, 22 Mar 2019 09:46:50 +0000
changeset 524435 232833b7f5bbe68f65dcea0fb3168ef859018b9a
parent 521708 a710a25b6c5d3274fb80cf22af7fcc50ce306256
child 527400 bfaec0e9d5d8de54f678094b26e4b7cd61a807ad
permissions -rw-r--r--
Bug 1536888 - Move the remote agent to a JSM. r=ato This will later help register the component statically in bug 1536862. And already ease using the remote agent from other JSM files. Differential Revision: https://phabricator.services.mozilla.com/D24227

# 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 += [
  "pref",
  "test",
]

EXTRA_COMPONENTS += [
    "command-line-handler.js",
    "RemoteAgent.manifest",
]

JAR_MANIFESTS += ["jar.mn"]

with Files("**"):
    BUG_COMPONENT = ("Remote Protocol", "Agent")
with Files("targets/**"):
    BUG_COMPONENT = ("Remote Protocol", "Target")
with Files("domains/**/Emulation.jsm"):
    BUG_COMPONENT = ("Remote Protocol", "Emulation")
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"