Bug 1887677: Correctly compute inClass predicate when validating unbound private...
[gecko.git] / toolkit / moz.build
blobe60f9c586bf3e4907238a4346471e57dbbfc8bcb
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     # 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"]:
43     DIRS += [
44         "mozapps/update/common",
45     ]
47 if CONFIG["MOZ_MAINTENANCE_SERVICE"]:
48     DIRS += ["components/maintenanceservice"]
50 DIRS += ["xre"]
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":
57     DIRS += [
58         "mozapps/macos-frameworks",
59         "system/commonproxy",
60         "system/osxproxy",
61     ]
62 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
63     DIRS += [
64         "system/commonproxy",
65         "system/windowsproxy",
66         "system/windowsDHCPClient",
67         "system/windowsPackageManager",
68     ]
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")
82 with Files("moz.*"):
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")
97 GeneratedFile(
98     "content/neterror/aboutNetErrorCodes.js",
99     script="content/neterror/gen_aboutneterror_codes.py",
100     inputs=["/toolkit/locales/en-US/toolkit/neterror/nsserrors.ftl"],