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 SPHINX_TREES["/toolkit"] = "docs"
10 "l10n-registry.manifest",
22 "mozapps/preferences",
27 if CONFIG["OS_ARCH"] == "WINNT":
28 if CONFIG["MOZ_NOTIFICATION_SERVER"]:
29 DIRS += ["mozapps/notificationserver"]
31 if CONFIG["MOZ_DEFAULT_BROWSER_AGENT"]:
32 DIRS += ["mozapps/defaultagent"]
34 if CONFIG["MOZ_UPDATER"] and CONFIG["MOZ_WIDGET_TOOLKIT"] != "android":
35 DIRS += ["mozapps/update"]
37 if CONFIG["MOZ_MAINTENANCE_SERVICE"] or CONFIG["MOZ_UPDATER"]:
39 "mozapps/update/common",
42 if CONFIG["MOZ_MAINTENANCE_SERVICE"]:
43 DIRS += ["components/maintenanceservice"]
47 if CONFIG["MOZ_WIDGET_TOOLKIT"] != "android":
48 DIRS += ["mozapps/handling"]
49 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
50 DIRS += ["system/unixproxy"]
51 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
56 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
59 "system/windowsproxy",
60 "system/windowsDHCPClient",
61 "system/windowsPackageManager",
63 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
64 DIRS += ["system/androidproxy"]
66 TEST_HARNESS_FILES.testing.mochitest.browser.toolkit.crashreporter.test.browser += [
67 "crashreporter/test/browser/crashreport.sjs",
70 with Files("docs/**"):
71 BUG_COMPONENT = ("Toolkit", "General")
73 with Files("locales-preview/**"):
74 BUG_COMPONENT = ("Toolkit", "General")
77 BUG_COMPONENT = ("Firefox Build System", "General")
79 with Files("toolkit.mozbuild"):
80 BUG_COMPONENT = ("Firefox Build System", "General")
82 with Files("library/**"):
83 BUG_COMPONENT = ("Firefox Build System", "General")
85 with Files("mozapps/preferences/**"):
86 BUG_COMPONENT = ("Toolkit", "Preferences")
88 with Files("l10n-registry.manifest"):
89 BUG_COMPONENT = ("Core", "Localization")
92 "content/neterror/aboutNetErrorCodes.js",
93 script="content/neterror/gen_aboutneterror_codes.py",
94 inputs=["/toolkit/locales/en-US/toolkit/neterror/nsserrors.ftl"],