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":
58 "mozapps/macos-frameworks",
62 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
65 "system/windowsproxy",
66 "system/windowsDHCPClient",
67 "system/windowsPackageManager",
69 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
70 DIRS += ["system/androidproxy"]
72 TEST_HARNESS_FILES.testing.mochitest.browser.toolkit.crashreporter.test.browser += [
73 "crashreporter/test/browser/crashreport.sjs",
76 with Files("docs/**"):
77 BUG_COMPONENT = ("Toolkit", "General")
79 with Files("locales-preview/**"):
80 BUG_COMPONENT = ("Toolkit", "General")
83 BUG_COMPONENT = ("Firefox Build System", "General")
85 with Files("toolkit.mozbuild"):
86 BUG_COMPONENT = ("Firefox Build System", "General")
88 with Files("library/**"):
89 BUG_COMPONENT = ("Firefox Build System", "General")
91 with Files("mozapps/preferences/**"):
92 BUG_COMPONENT = ("Toolkit", "Preferences")
94 with Files("l10n-registry.manifest"):
95 BUG_COMPONENT = ("Core", "Localization")
98 "content/neterror/aboutNetErrorCodes.js",
99 script="content/neterror/gen_aboutneterror_codes.py",
100 inputs=["/toolkit/locales/en-US/toolkit/neterror/nsserrors.ftl"],