Bug 1804489 - Disable browser_dbg-inspector-integration.js on all platforms because...
[gecko.git] / toolkit / moz.build
blob73c4ea8b79c17f7e7004dd9912f3b51c203342c0
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"
9 EXTRA_COMPONENTS += [
10     "l10n-registry.manifest",
13 DIRS += [
14     "actors",
15     "components",
16     "content",
17     "crashreporter",
18     "locales",
19     "modules",
20     "mozapps/downloads",
21     "mozapps/extensions",
22     "mozapps/preferences",
23     "profile",
24     "themes",
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"]:
38     DIRS += [
39         "mozapps/update/common",
40     ]
42 if CONFIG["MOZ_MAINTENANCE_SERVICE"]:
43     DIRS += ["components/maintenanceservice"]
45 DIRS += ["xre"]
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":
52     DIRS += [
53         "system/commonproxy",
54         "system/osxproxy",
55     ]
56 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
57     DIRS += [
58         "system/commonproxy",
59         "system/windowsproxy",
60         "system/windowsDHCPClient",
61         "system/windowsPackageManager",
62     ]
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")
76 with Files("moz.*"):
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")
91 GeneratedFile(
92     "content/neterror/aboutNetErrorCodes.js",
93     script="content/neterror/gen_aboutneterror_codes.py",
94     inputs=["/toolkit/locales/en-US/toolkit/neterror/nsserrors.ftl"],