Bug 1708243 - Part 3: Use actor messaging for tabs.detectLanguage, stop loading Messa...
[gecko.git] / toolkit / moz.build
blob14f4638b693ec427bb93368a768bc0054a825778
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" 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"]:
34     DIRS += [
35         "mozapps/update/common",
36     ]
38 if CONFIG["MOZ_MAINTENANCE_SERVICE"]:
39     DIRS += ["components/maintenanceservice"]
41 DIRS += ["xre"]
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":
50     DIRS += ["system/windowsproxy", "system/windowsDHCPClient"]
51 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
52     DIRS += ["system/androidproxy"]
54 TEST_HARNESS_FILES.testing.mochitest.browser.toolkit.crashreporter.test.browser += [
55     "crashreporter/test/browser/crashreport.sjs",
58 with Files("docs/**"):
59     BUG_COMPONENT = ("Toolkit", "General")
61 with Files("moz.*"):
62     BUG_COMPONENT = ("Firefox Build System", "General")
64 with Files("toolkit.mozbuild"):
65     BUG_COMPONENT = ("Firefox Build System", "General")
67 with Files("library/**"):
68     BUG_COMPONENT = ("Firefox Build System", "General")
70 with Files("mozapps/installer/windows/**"):
71     BUG_COMPONENT = ("Toolkit", "NSIS Installer")
73 with Files("mozapps/preferences/**"):
74     BUG_COMPONENT = ("Toolkit", "Preferences")
76 with Files("l10n-registry.manifest"):
77     BUG_COMPONENT = ("Core", "Localization")