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 # mingw is missing Windows toast notification definitions.
29 if CONFIG["CC_TYPE"] == "clang-cl":
30 if CONFIG["MOZ_NOTIFICATION_SERVER"]:
31 DIRS += ["mozapps/notificationserver"]
33 if CONFIG["CC_TYPE"] == "clang-cl" or CONFIG["MOZ_ARTIFACT_BUILDS"]:
34 # Default Browser Agent relies on Windows toast notifications, so should
35 # also not be built with mingw.
36 if CONFIG["MOZ_DEFAULT_BROWSER_AGENT"]:
37 DIRS += ["mozapps/defaultagent"]
39 if CONFIG["MOZ_UPDATER"] and CONFIG["MOZ_WIDGET_TOOLKIT"] != "android":
40 DIRS += ["mozapps/update"]
42 if CONFIG["MOZ_MAINTENANCE_SERVICE"] or CONFIG["MOZ_UPDATER"]:
44 "mozapps/update/common",
47 if CONFIG["MOZ_MAINTENANCE_SERVICE"]:
48 DIRS += ["components/maintenanceservice"]
52 if CONFIG["MOZ_WIDGET_TOOLKIT"] != "android":
53 DIRS += ["mozapps/handling"]
54 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
55 DIRS += ["system/unixproxy"]
56 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
61 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
64 "system/windowsproxy",
65 "system/windowsDHCPClient",
66 "system/windowsPackageManager",
68 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
69 DIRS += ["system/androidproxy"]
71 TEST_HARNESS_FILES.testing.mochitest.browser.toolkit.crashreporter.test.browser += [
72 "crashreporter/test/browser/crashreport.sjs",
75 with Files("docs/**"):
76 BUG_COMPONENT = ("Toolkit", "General")
78 with Files("locales-preview/**"):
79 BUG_COMPONENT = ("Toolkit", "General")
82 BUG_COMPONENT = ("Firefox Build System", "General")
84 with Files("toolkit.mozbuild"):
85 BUG_COMPONENT = ("Firefox Build System", "General")
87 with Files("library/**"):
88 BUG_COMPONENT = ("Firefox Build System", "General")
90 with Files("mozapps/preferences/**"):
91 BUG_COMPONENT = ("Toolkit", "Preferences")
93 with Files("l10n-registry.manifest"):
94 BUG_COMPONENT = ("Core", "Localization")
97 "content/neterror/aboutNetErrorCodes.js",
98 script="content/neterror/gen_aboutneterror_codes.py",
99 inputs=["/toolkit/locales/en-US/toolkit/neterror/nsserrors.ftl"],