summaryrefslogtreecommitdiffstats
path: root/browser/modules/moz.build
blob: 7e5e418f68deffec442debed4d31ae4ddce31298 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# -*- 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/.

with Files("**"):
    BUG_COMPONENT = ("Firefox", "General")

with Files("FirefoxBridgeExtensionUtils.sys.mjs"):
    BUG_COMPONENT = ("Firefox", "Shell Integration")

with Files("test/unit/test_FirefoxBridgeExtensionUtils.sys.mjs"):
    BUG_COMPONENT = ("Firefox", "Shell Integration")

with Files("test/browser/*Telemetry*"):
    BUG_COMPONENT = ("Toolkit", "Telemetry")

with Files("test/browser/*ContentSearch*"):
    BUG_COMPONENT = ("Firefox", "Search")

with Files("test/browser/*PermissionUI*"):
    BUG_COMPONENT = ("Firefox", "Site Permissions")

with Files("test/browser/*SitePermissions*"):
    BUG_COMPONENT = ("Firefox", "Site Permissions")

with Files("test/browser/browser_UnsubmittedCrashHandler.js"):
    BUG_COMPONENT = ("Toolkit", "Crash Reporting")

with Files("test/browser/browser_taskbar_preview.js"):
    BUG_COMPONENT = ("Firefox", "Shell Integration")

with Files("test/browser/browser_urlBar_zoom.js"):
    BUG_COMPONENT = ("Firefox", "General")

with Files("test/unit/test_E10SUtils_nested_URIs.js"):
    BUG_COMPONENT = ("Core", "Security: Process Sandboxing")

with Files("test/unit/test_LaterRun.js"):
    BUG_COMPONENT = ("Firefox", "Tours")

with Files("test/unit/test_SitePermissions.js"):
    BUG_COMPONENT = ("Firefox", "Site Permissions")

with Files("AboutNewTab.sys.mjs"):
    BUG_COMPONENT = ("Firefox", "New Tab Page")

with Files("AsyncTabSwitcher.sys.mjs"):
    BUG_COMPONENT = ("Firefox", "Tabbed Browser")

with Files("NewTabPagePreloading.sys.mjs"):
    BUG_COMPONENT = ("Firefox", "Tabbed Browser")

with Files("BrowserWindowTracker.sys.mjs"):
    BUG_COMPONENT = ("Firefox", "General")

with Files("BrowserUsageTelemetry.sys.mjs"):
    BUG_COMPONENT = ("Firefox", "General")

with Files("ContentCrashHandlers.sys.mjs"):
    BUG_COMPONENT = ("Toolkit", "Crash Reporting")

with Files("EveryWindow.sys.mjs"):
    BUG_COMPONENT = ("Firefox", "General")

with Files("ExtensionsUI.sys.mjs"):
    BUG_COMPONENT = ("WebExtensions", "General")

with Files("LaterRun.sys.mjs"):
    BUG_COMPONENT = ("Firefox", "Tours")

with Files("OpenInTabsUtils.sys.mjs"):
    BUG_COMPONENT = ("Firefox", "Tabbed Browser")

with Files("PartnerLinkAttribution.sys.mjs"):
    BUG_COMPONENT = ("Firefox", "Search")

with Files("PermissionUI.sys.mjs"):
    BUG_COMPONENT = ("Firefox", "Site Permissions")

with Files("ProcessHangMonitor.sys.mjs"):
    BUG_COMPONENT = ("Core", "DOM: Content Processes")

with Files("Sanitizer.sys.mjs"):
    BUG_COMPONENT = ("Toolkit", "Data Sanitization")

with Files("SelectionChangedMenulist.sys.mjs"):
    BUG_COMPONENT = ("Firefox", "Settings UI")

with Files("SiteDataManager.sys.mjs"):
    BUG_COMPONENT = ("Firefox", "Settings UI")

with Files("SitePermissions.sys.mjs"):
    BUG_COMPONENT = ("Firefox", "Site Permissions")

with Files("TabsList.sys.mjs"):
    BUG_COMPONENT = ("Firefox", "Tabbed Browser")

with Files("TabUnloader.sys.mjs"):
    BUG_COMPONENT = ("Firefox", "Tabbed Browser")

with Files("TransientPrefs.sys.mjs"):
    BUG_COMPONENT = ("Firefox", "Settings UI")

with Files("WindowsJumpLists.sys.mjs"):
    BUG_COMPONENT = ("Firefox", "Shell Integration")
    SCHEDULES.exclusive = ["windows"]

with Files("WindowsPreviewPerTab.sys.mjs"):
    BUG_COMPONENT = ("Core", "Widget: Win32")
    SCHEDULES.exclusive = ["windows"]

with Files("webrtcUI.sys.mjs"):
    BUG_COMPONENT = ("Firefox", "Site Permissions")

with Files("ZoomUI.sys.mjs"):
    BUG_COMPONENT = ("Firefox", "Toolbars and Customization")

BROWSER_CHROME_MANIFESTS += [
    "test/browser/browser.toml",
    "test/browser/formValidation/browser.toml",
]
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"]

EXTRA_JS_MODULES += [
    "AboutNewTab.sys.mjs",
    "AsyncTabSwitcher.sys.mjs",
    "BrowserUIUtils.sys.mjs",
    "BrowserUsageTelemetry.sys.mjs",
    "BrowserWindowTracker.sys.mjs",
    "ContentCrashHandlers.sys.mjs",
    "Discovery.sys.mjs",
    "EveryWindow.sys.mjs",
    "ExtensionsUI.sys.mjs",
    "FaviconLoader.sys.mjs",
    "FirefoxBridgeExtensionUtils.sys.mjs",
    "HomePage.sys.mjs",
    "LaterRun.sys.mjs",
    "NewTabPagePreloading.sys.mjs",
    "OpenInTabsUtils.sys.mjs",
    "PageActions.sys.mjs",
    "PartnerLinkAttribution.sys.mjs",
    "PermissionUI.sys.mjs",
    "ProcessHangMonitor.sys.mjs",
    "Sanitizer.sys.mjs",
    "SelectionChangedMenulist.sys.mjs",
    "SiteDataManager.sys.mjs",
    "SitePermissions.sys.mjs",
    "TabsList.sys.mjs",
    "TabUnloader.sys.mjs",
    "TransientPrefs.sys.mjs",
    "URILoadingHelper.sys.mjs",
    "webrtcUI.sys.mjs",
    "ZoomUI.sys.mjs",
]

if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
    EXTRA_JS_MODULES += [
        "WindowsJumpLists.sys.mjs",
        "WindowsPreviewPerTab.sys.mjs",
    ]

    EXTRA_JS_MODULES.backgroundtasks += [
        "BackgroundTask_install.sys.mjs",
        "BackgroundTask_uninstall.sys.mjs",
    ]