summaryrefslogtreecommitdiffstats
path: root/devtools/startup/moz.build
blob: 22ca205602c644a4c1784f063bcb52dee27e4308 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# 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/.

JAR_MANIFESTS += ["jar.mn"]

# Register the startup components only for 'all' builds.
if CONFIG["MOZ_DEVTOOLS"] == "all":
    EXTRA_JS_MODULES += [
        "AboutDebuggingRegistration.sys.mjs",
        "AboutDevToolsToolboxRegistration.sys.mjs",
        "DevToolsStartup.sys.mjs",
    ]

    DIRS += [
        "locales",
    ]

XPCOM_MANIFESTS += [
    "components.conf",
]

XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.toml"]

if CONFIG["MOZ_BUILD_APP"] != "mobile/android":
    BROWSER_CHROME_MANIFESTS += ["tests/browser/browser.toml"]