2016-07-14 16:16:42 +00:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2015-10-06 23:01:24 +00:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# 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/.
|
|
|
|
|
2018-03-20 14:52:54 +00:00
|
|
|
if CONFIG["MOZ_DEVTOOLS"] and CONFIG["MOZ_DEVTOOLS"] not in ("all", "server"):
|
2015-10-23 07:39:38 +00:00
|
|
|
error("Unsupported MOZ_DEVTOOLS value: %s" % (CONFIG["MOZ_DEVTOOLS"]))
|
|
|
|
|
2015-10-06 23:01:24 +00:00
|
|
|
if CONFIG["MOZ_DEVTOOLS"] == "all":
|
|
|
|
DIRS += [
|
|
|
|
"client",
|
|
|
|
]
|
|
|
|
|
2017-05-15 16:53:19 +00:00
|
|
|
# `platform` contains all native components
|
2015-10-23 07:39:38 +00:00
|
|
|
DIRS += [
|
2018-04-06 10:22:53 +00:00
|
|
|
"platform",
|
2018-03-20 14:52:54 +00:00
|
|
|
"server",
|
|
|
|
"shared",
|
2018-03-12 13:41:48 +00:00
|
|
|
"startup",
|
2015-10-23 07:39:38 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
# /browser uses DIST_SUBDIR. We opt-in to this treatment when building
|
|
|
|
# DevTools for the browser to keep the root omni.ja slim for use by external XUL
|
2018-09-12 06:07:32 +00:00
|
|
|
# apps.
|
2017-04-18 09:39:53 +00:00
|
|
|
if CONFIG["MOZ_BUILD_APP"] == "browser":
|
2015-10-23 07:39:38 +00:00
|
|
|
DIST_SUBDIR = "browser"
|
|
|
|
export("DIST_SUBDIR")
|
2017-01-13 13:40:35 +00:00
|
|
|
|
2017-03-22 14:49:14 +00:00
|
|
|
with Files("**"):
|
2018-06-20 18:34:40 +00:00
|
|
|
BUG_COMPONENT = ("DevTools", "General")
|
2020-06-15 13:38:46 +00:00
|
|
|
SCHEDULES.exclusive = ["linux", "macosx", "windows"]
|
2017-03-22 14:49:14 +00:00
|
|
|
|
|
|
|
with Files("docs/**"):
|
2018-06-20 18:34:40 +00:00
|
|
|
BUG_COMPONENT = ("DevTools", "General")
|
2017-03-22 14:49:14 +00:00
|
|
|
|
|
|
|
with Files("docs/tools/memory-panel.md"):
|
2018-06-20 18:34:40 +00:00
|
|
|
BUG_COMPONENT = ("DevTools", "Memory")
|
2017-03-22 14:49:14 +00:00
|
|
|
|
|
|
|
with Files("docs/tools/debugger-panel.md"):
|
2018-06-20 18:34:40 +00:00
|
|
|
BUG_COMPONENT = ("DevTools", "Debugger")
|
2017-03-22 14:49:14 +00:00
|
|
|
|
|
|
|
with Files("docs/backend/debugger-api.md"):
|
2018-06-20 18:34:40 +00:00
|
|
|
BUG_COMPONENT = ("DevTools", "Debugger")
|
2017-03-22 14:49:14 +00:00
|
|
|
|
2019-11-26 08:43:59 +00:00
|
|
|
with Files("docs/tools/console-panel.md"):
|
2018-06-20 18:34:40 +00:00
|
|
|
BUG_COMPONENT = ("DevTools", "Console")
|
2017-03-22 14:49:14 +00:00
|
|
|
|
|
|
|
with Files("docs/tools/inspector-panel.md"):
|
2018-06-20 18:34:40 +00:00
|
|
|
BUG_COMPONENT = ("DevTools", "Inspector")
|
2019-11-25 14:00:33 +00:00
|
|
|
|
2021-10-26 09:41:51 +00:00
|
|
|
SPHINX_TREES["/devtools"] = "docs/contributor"
|
2021-11-03 10:45:52 +00:00
|
|
|
SPHINX_TREES["/devtools-user"] = "docs/user"
|