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/.
9 for var in ("CC", "CC_VERSION", "CXX", "RUSTC", "RUSTC_VERSION"):
11 DEFINES[var] = CONFIG[var]
13 for var in ("MOZ_CONFIGURE_OPTIONS", "MOZ_APP_DISPLAYNAME"):
14 DEFINES[var] = CONFIG[var]
16 if CONFIG["MOZ_ANDROID_FAT_AAR_ARCHITECTURES"]:
17 DEFINES["target"] = "</td><td>".join(
18 sorted(CONFIG["MOZ_ANDROID_FAT_AAR_ARCHITECTURES"])
21 DEFINES["target"] = CONFIG["target"]
23 DEFINES["CFLAGS"] = " ".join(CONFIG["OS_CFLAGS"])
25 rustflags = CONFIG["RUSTFLAGS"]
28 DEFINES["RUSTFLAGS"] = " ".join(rustflags)
31 for var in ("OS_CPPFLAGS", "OS_CXXFLAGS", "DEBUG", "OPTIMIZE", "FRAMEPTR"):
32 cxx_flags += COMPILE_FLAGS[var] or []
34 DEFINES["CXXFLAGS"] = " ".join(cxx_flags)
36 if CONFIG["OS_TARGET"] == "Android":
37 DEFINES["ANDROID_PACKAGE_NAME"] = CONFIG["ANDROID_PACKAGE_NAME"]
38 DEFINES["MOZ_USE_LIBCXX"] = True
40 if CONFIG["MOZ_INSTALL_TRACKING"]:
41 DEFINES["MOZ_INSTALL_TRACKING"] = 1
43 if CONFIG["MOZ_BUILD_APP"] == "mobile/android":
44 DEFINES["MOZ_FENNEC"] = True
46 JAR_MANIFESTS += ["jar.mn"]
48 SPHINX_TREES["toolkit_widgets"] = "widgets/docs"
50 DEFINES["TOPOBJDIR"] = TOPOBJDIR
53 BUG_COMPONENT = ("Toolkit", "General")
55 with Files("aboutwebrtc/*"):
56 BUG_COMPONENT = ("Core", "WebRTC")
58 with Files("gmp-sources/*"):
59 BUG_COMPONENT = ("Toolkit", "General")
61 with Files("tests/browser/browser_*autoplay*"):
62 BUG_COMPONENT = ("Core", "Audio/Video: Playback")
64 with Files("tests/browser/*silent*"):
65 BUG_COMPONENT = ("Core", "Audio/Video: Playback")
67 with Files("tests/browser/*1170531*"):
68 BUG_COMPONENT = ("Firefox", "Menus")
70 with Files("tests/browser/*1198465*"):
71 BUG_COMPONENT = ("Toolkit", "Find Toolbar")
73 with Files("tests/browser/*451286*"):
74 BUG_COMPONENT = ("Toolkit", "Find Toolbar")
76 with Files("tests/browser/*594509*"):
77 BUG_COMPONENT = ("Toolkit", "General")
79 with Files("tests/browser/*982298*"):
80 BUG_COMPONENT = ("Core", "Layout")
82 with Files("tests/browser/browser_content_url_annotation.js"):
83 BUG_COMPONENT = ("Toolkit", "Crash Reporting")
85 with Files("tests/browser/browser_default_image_filename.js"):
86 BUG_COMPONENT = ("Firefox", "File Handling")
88 with Files("tests/browser/*caret*"):
89 BUG_COMPONENT = ("Firefox", "Keyboard Navigation")
91 with Files("tests/browser/*find*"):
92 BUG_COMPONENT = ("Toolkit", "Find Toolbar")
94 with Files("tests/browser/browser_isSynthetic.js"):
95 BUG_COMPONENT = ("Firefox", "Tabbed Browser")
97 with Files("tests/browser/*mediaPlayback*"):
98 BUG_COMPONENT = ("Toolkit", "UI Widgets")
100 with Files("tests/browser/*mute*"):
101 BUG_COMPONENT = ("Toolkit", "UI Widgets")
103 with Files("tests/browser/*save*"):
104 BUG_COMPONENT = ("Firefox", "File Handling")
106 with Files("tests/browser/*scroll*"):
107 BUG_COMPONENT = ("Toolkit", "UI Widgets")
109 with Files("tests/chrome/**"):
110 BUG_COMPONENT = ("Toolkit", "UI Widgets")
112 with Files("tests/chrome/*networking*"):
113 BUG_COMPONENT = ("Core", "Networking")
115 with Files("tests/chrome/*autocomplete*"):
116 BUG_COMPONENT = ("Toolkit", "Autocomplete")
118 with Files("tests/chrome/*drop*"):
119 BUG_COMPONENT = ("Core", "DOM: Copy & Paste and Drag & Drop")
121 with Files("tests/chrome/*1048178*"):
122 BUG_COMPONENT = ("Core", "XUL")
124 with Files("tests/chrome/*263683*"):
125 BUG_COMPONENT = ("Toolkit", "Find Toolbar")
127 with Files("tests/chrome/*304188*"):
128 BUG_COMPONENT = ("Toolkit", "Find Toolbar")
130 with Files("tests/chrome/*331215*"):
131 BUG_COMPONENT = ("Toolkit", "Find Toolbar")
133 with Files("tests/chrome/*360220*"):
134 BUG_COMPONENT = ("Core", "XUL")
136 with Files("tests/chrome/*360437*"):
137 BUG_COMPONENT = ("Toolkit", "Find Toolbar")
139 with Files("tests/chrome/*409624*"):
140 BUG_COMPONENT = ("Toolkit", "Find Toolbar")
142 with Files("tests/chrome/*418874*"):
143 BUG_COMPONENT = ("Toolkit", "Find Toolbar")
145 with Files("tests/chrome/*429723*"):
146 BUG_COMPONENT = ("Toolkit", "Find Toolbar")
148 with Files("tests/chrome/*451540*"):
149 BUG_COMPONENT = ("Toolkit", "Find Toolbar")
151 with Files("tests/chrome/*557987*"):
152 BUG_COMPONENT = ("Firefox", "Menus")
153 with Files("tests/chrome/*562554*"):
154 BUG_COMPONENT = ("Firefox", "Menus")
156 with Files("tests/chrome/*findbar*"):
157 BUG_COMPONENT = ("Toolkit", "Find Toolbar")
159 with Files("tests/chrome/test_preferences*"):
160 BUG_COMPONENT = ("Toolkit", "Preferences")
162 with Files("tests/mochitest/*autocomplete*"):
163 BUG_COMPONENT = ("Toolkit", "Autocomplete")
165 with Files("tests/mochitest/*mousecapture*"):
166 BUG_COMPONENT = ("Core", "DOM: UI Events & Focus Handling")
168 with Files("tests/reftests/*videocontrols*"):
169 BUG_COMPONENT = ("Toolkit", "Video/Audio Controls")
171 with Files("tests/unit/**"):
172 BUG_COMPONENT = ("Toolkit", "General")
175 with Files("tests/widgets/*audiocontrols*"):
176 BUG_COMPONENT = ("Toolkit", "Video/Audio Controls")
177 with Files("tests/widgets/*898940*"):
178 BUG_COMPONENT = ("Toolkit", "Video/Audio Controls")
180 with Files("tests/widgets/*contextmenu*"):
181 BUG_COMPONENT = ("Firefox", "Menus")
183 with Files("tests/widgets/*editor*"):
184 BUG_COMPONENT = ("Core", "XUL")
186 with Files("tests/widgets/*menubar*"):
187 BUG_COMPONENT = ("Core", "XUL")
189 with Files("tests/widgets/*capture*"):
190 BUG_COMPONENT = ("Core", "DOM: UI Events & Focus Handling")
192 with Files("tests/widgets/*popup*"):
193 BUG_COMPONENT = ("Toolkit", "UI Widgets")
194 with Files("tests/widgets/*tree*"):
195 BUG_COMPONENT = ("Toolkit", "UI Widgets")
197 with Files("tests/widgets/*videocontrols*"):
198 BUG_COMPONENT = ("Toolkit", "Video/Audio Controls")
200 with Files("widgets/*"):
201 BUG_COMPONENT = ("Toolkit", "UI Widgets")
203 with Files("TopLevelVideoDocument.js"):
204 BUG_COMPONENT = ("Toolkit", "Video/Audio Controls")
206 with Files("about*"):
207 BUG_COMPONENT = ("Firefox", "General")
209 with Files("aboutGlean.*"):
210 BUG_COMPONENT = ("Toolkit", "Telemetry")
212 with Files("aboutNetError*"):
213 BUG_COMPONENT = ("Firefox", "Security")
215 with Files("aboutNetworking*"):
216 BUG_COMPONENT = ("Core", "Networking")
218 with Files("aboutLogging*"):
219 BUG_COMPONENT = ("Core", "XPCOM")
221 with Files("aboutProfile*"):
222 BUG_COMPONENT = ("Toolkit", "Startup and Profile System")
224 with Files("aboutRights*"):
225 BUG_COMPONENT = ("Toolkit", "General")
227 with Files("aboutService*"):
228 BUG_COMPONENT = ("Core", "DOM: Workers")
230 with Files("aboutSupport*"):
231 BUG_COMPONENT = ("Toolkit", "General")
233 with Files("aboutTelemetry*"):
234 BUG_COMPONENT = ("Toolkit", "Telemetry")
236 with Files("autocomplete.css"):
237 BUG_COMPONENT = ("Firefox", "Search")
239 with Files("browser-*.js"):
240 BUG_COMPONENT = ("Toolkit", "General")
242 with Files("buildconfig.html"):
243 BUG_COMPONENT = ("Firefox Build System", "General")
245 with Files("contentAreaUtils.js"):
246 BUG_COMPONENT = ("Toolkit", "General")
248 with Files("*picker*"):
249 BUG_COMPONENT = ("Toolkit", "UI Widgets")
252 BUG_COMPONENT = ("Toolkit", "UI Widgets")
254 with Files("globalOverlay.*"):
255 BUG_COMPONENT = ("Toolkit", "General")
257 with Files("plugins*"):
258 BUG_COMPONENT = ("Toolkit", "UI Widgets")
260 with Files("resetProfile*"):
261 BUG_COMPONENT = ("Firefox", "Migration")
263 with Files("timepicker*"):
264 BUG_COMPONENT = ("Toolkit", "UI Widgets")
266 with Files("treeUtils.js"):
267 BUG_COMPONENT = ("Toolkit", "General")
269 with Files("viewZoomOverlay.js"):
270 BUG_COMPONENT = ("Toolkit", "General")