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" and CONFIG["MOZ_DEFAULT_BROWSER_AGENT"]:
28 DIRS += ["mozapps/defaultagent"]
30 if CONFIG["MOZ_UPDATER"] and CONFIG["MOZ_WIDGET_TOOLKIT"] != "android":
31 DIRS += ["mozapps/update"]
33 if CONFIG["MOZ_MAINTENANCE_SERVICE"] or CONFIG["MOZ_UPDATER"]:
35 "mozapps/update/common",
38 if CONFIG["MOZ_MAINTENANCE_SERVICE"]:
39 DIRS += ["components/maintenanceservice"]
43 if CONFIG["MOZ_WIDGET_TOOLKIT"] != "android":
44 DIRS += ["mozapps/handling"]
45 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
46 DIRS += ["system/unixproxy"]
47 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
48 DIRS += ["system/osxproxy"]
49 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
51 "system/windowsproxy",
52 "system/windowsDHCPClient",
53 "system/windowsPackageManager",
55 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
56 DIRS += ["system/androidproxy"]
58 TEST_HARNESS_FILES.testing.mochitest.browser.toolkit.crashreporter.test.browser += [
59 "crashreporter/test/browser/crashreport.sjs",
62 with Files("docs/**"):
63 BUG_COMPONENT = ("Toolkit", "General")
66 BUG_COMPONENT = ("Firefox Build System", "General")
68 with Files("toolkit.mozbuild"):
69 BUG_COMPONENT = ("Firefox Build System", "General")
71 with Files("library/**"):
72 BUG_COMPONENT = ("Firefox Build System", "General")
74 with Files("mozapps/installer/windows/**"):
75 BUG_COMPONENT = ("Toolkit", "NSIS Installer")
77 with Files("mozapps/preferences/**"):
78 BUG_COMPONENT = ("Toolkit", "Preferences")
80 with Files("l10n-registry.manifest"):
81 BUG_COMPONENT = ("Core", "Localization")