Bug 1855385 [wpt PR 42195] - [text-spacing-trim] Remove redundant copying of variants...
[gecko.git] / browser / components / moz.build
blob0c59bb842172a1d1d1cdf91ec588dedb75de1b54
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 with Files("**"):
8     BUG_COMPONENT = ("Firefox", "General")
10 with Files("distribution.sys.mjs"):
11     BUG_COMPONENT = ("Firefox", "Distributions")
13 with Files("tests/**"):
14     BUG_COMPONENT = ("Firefox", "General")
16 with Files("tests/browser/browser_contentpermissionprompt.js"):
17     BUG_COMPONENT = ("Firefox", "Site Permissions")
19 with Files("tests/unit/test_distribution.js"):
20     BUG_COMPONENT = ("Firefox", "Distributions")
22 with Files("safebrowsing/**"):
23     BUG_COMPONENT = ("Toolkit", "Safe Browsing")
25 with Files("controlcenter/**"):
26     BUG_COMPONENT = ("Firefox", "General")
29 DIRS += [
30     "about",
31     "aboutlogins",
32     "attribution",
33     "contextualidentity",
34     "customizableui",
35     "doh",
36     "downloads",
37     "enterprisepolicies",
38     "extensions",
39     "firefoxview",
40     "ion",
41     "messagepreview",
42     "migration",
43     "newtab",
44     "originattributes",
45     "pagedata",
46     "places",
47     "pocket",
48     "preferences",
49     "privatebrowsing",
50     "prompts",
51     "protections",
52     "protocolhandler",
53     "resistfingerprinting",
54     "screenshots",
55     "search",
56     "sessionstore",
57     "shell",
58     "shopping",
59     "syncedtabs",
60     "tabunloader",
61     "textrecognition",
62     "translations",
63     "uitour",
64     "urlbar",
67 DIRS += ["build"]
70 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
71     DIRS += ["touchbar"]
72 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
73     DIRS += ["installerprefs"]
75 XPIDL_SOURCES += [
76     "nsIBrowserHandler.idl",
79 XPIDL_MODULE = "browsercompsbase"
81 XPCOM_MANIFESTS += [
82     "components.conf",
85 EXTRA_COMPONENTS += [
86     "BrowserComponents.manifest",
89 EXTRA_JS_MODULES += [
90     "BrowserContentHandler.sys.mjs",
91     "BrowserGlue.sys.mjs",
92     "distribution.sys.mjs",
95 if CONFIG["MOZ_DEBUG"] or CONFIG["MOZ_DEV_EDITION"] or CONFIG["NIGHTLY_BUILD"]:
96     EXTRA_JS_MODULES += [
97         "StartupRecorder.sys.mjs",
98     ]
100 BROWSER_CHROME_MANIFESTS += [
101     "safebrowsing/content/test/browser.toml",
102     "tests/browser/browser.toml",
105 if CONFIG["MOZ_UPDATER"]:
106     BROWSER_CHROME_MANIFESTS += [
107         "tests/browser/whats_new_page/browser.toml",
108     ]
110 XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.ini"]